Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b 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-ssh15652766694757961270.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16717203166228828886.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12870554149406613869.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18115719804844989157.key Verifying host key using known hosts file > 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-ssh13261218930965577016.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118676’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118678 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b (main) Commit message: "Merge pull request #68 from lenny-intel/released-sdk" > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b # timeout=10 > git rev-list --no-walk 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T23:10:02.112Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T23:10:02.167Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T23:10:02.185Z] ========================================================= [2022-11-08T23:10:02.185Z] EdgeX Global Pipelines Version Info [2022-11-08T23:10:02.185Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:10:03.262Z] ------------------- [2022-11-08T23:10:03.262Z] stable info: [2022-11-08T23:10:03.262Z] ------------------- [2022-11-08T23:10:03.262Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T23:10:03.262Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T23:10:03.262Z] Message: update stable to v1.0.244 [2022-11-08T23:10:03.522Z] ------------------- [2022-11-08T23:10:03.522Z] experimental info: [2022-11-08T23:10:03.522Z] ------------------- [2022-11-08T23:10:03.522Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T23:10:03.522Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T23:10:03.522Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T23:10:03.669Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-11-08T23:10:03.682Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-11-08T23:10:03.692Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T23:10:03.706Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T23:10:03.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T23:10:03.733Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T23:10:03.747Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T23:10:03.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T23:10:03.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T23:10:03.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T23:10:03.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T23:10:03.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-11-08T23:10:03.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T23:10:03.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T23:10:03.811Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T23:10:03.819Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T23:10:03.835Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T23:10:03.849Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T23:10:03.863Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T23:10:03.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T23:10:03.884Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T23:10:03.895Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T23:10:03.905Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T23:10:03.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T23:10:03.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T23:10:03.939Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T23:10:03.951Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T23:10:03.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-08T23:10:03.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-08T23:10:03.988Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-08T23:10:04.002Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [Pipeline] echo [2022-11-08T23:10:04.012Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d8ecf8 [Pipeline] echo [2022-11-08T23:10:04.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:10:04.058Z] provisioning config files... [2022-11-08T23:10:04.072Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8945882850328218111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:10:04.374Z] ---> docker-login.sh [2022-11-08T23:10:04.374Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:10:04.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:04.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:04.633Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:04.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:04.633Z] [2022-11-08T23:10:04.633Z] Login Succeeded [2022-11-08T23:10:04.633Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:10:04.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:04.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:04.633Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:04.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:04.633Z] [2022-11-08T23:10:04.633Z] Login Succeeded [2022-11-08T23:10:04.633Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:10:04.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:04.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:04.892Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:04.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:04.892Z] [2022-11-08T23:10:04.892Z] Login Succeeded [2022-11-08T23:10:04.892Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:10:04.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:04.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:04.892Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:04.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:04.892Z] [2022-11-08T23:10:04.892Z] Login Succeeded [2022-11-08T23:10:04.892Z] docker.io [2022-11-08T23:10:04.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:05.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:05.461Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:05.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:05.461Z] [2022-11-08T23:10:05.461Z] Login Succeeded [2022-11-08T23:10:05.461Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:10:05.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T23:10:05.823Z] + git rev-list -1 --merges 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b~1..6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [Pipeline] echo [2022-11-08T23:10:05.854Z] -----------> git rev-list -1 --merges 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b~1..6d8ecf80da7f2ca0a5daac1df958a19e93358a5b 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:10:05.854Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [false] [Pipeline] sh [2022-11-08T23:10:06.141Z] + git log --format=format:%s -1 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [Pipeline] echo [2022-11-08T23:10:06.155Z] ========================================================= [2022-11-08T23:10:06.155Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T23:10:06.155Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:10:06.468Z] + git log --format=format:%s -1 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [Pipeline] echo [2022-11-08T23:10:06.478Z] [semverPrep] GIT_COMMIT: 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b, Commit Message: Merge pull request #68 from lenny-intel/released-sdk [Pipeline] echo [2022-11-08T23:10:06.488Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T23:10:06.827Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:10:06.827Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T23:10:06.827Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T23:10:06.827Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T23:10:06.827Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T23:10:06.827Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T23:10:06.827Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:10:07.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:10:07.170Z] [2022-11-08T23:10:07.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:10:07.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:10:07.474Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T23:10:07.474Z] b85a868b505f: Pulling fs layer [2022-11-08T23:10:07.474Z] e2be974225ed: Pulling fs layer [2022-11-08T23:10:07.474Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T23:10:07.474Z] 988bab9f4d93: Pulling fs layer [2022-11-08T23:10:07.474Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T23:10:07.474Z] eaf3925da568: Pulling fs layer [2022-11-08T23:10:07.474Z] bab4dde63d76: Pulling fs layer [2022-11-08T23:10:07.474Z] bde34c3a00c8: Pulling fs layer [2022-11-08T23:10:07.474Z] b352a97aabf1: Pulling fs layer [2022-11-08T23:10:07.474Z] 988bab9f4d93: Waiting [2022-11-08T23:10:07.474Z] 1469e6f7b9e6: Waiting [2022-11-08T23:10:07.474Z] eaf3925da568: Waiting [2022-11-08T23:10:07.474Z] bab4dde63d76: Waiting [2022-11-08T23:10:07.474Z] bde34c3a00c8: Waiting [2022-11-08T23:10:07.474Z] b352a97aabf1: Waiting [2022-11-08T23:10:07.474Z] 4872d77fe225: Pulling fs layer [2022-11-08T23:10:07.474Z] 5851b861e8e6: Pulling fs layer [2022-11-08T23:10:07.474Z] 4872d77fe225: Waiting [2022-11-08T23:10:07.474Z] e2be974225ed: Download complete [2022-11-08T23:10:07.474Z] 988bab9f4d93: Download complete [2022-11-08T23:10:07.734Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T23:10:07.734Z] 1469e6f7b9e6: Download complete [2022-11-08T23:10:07.734Z] eaf3925da568: Download complete [2022-11-08T23:10:07.734Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T23:10:07.734Z] 339a4e72a1f5: Download complete [2022-11-08T23:10:07.734Z] bde34c3a00c8: Verifying Checksum [2022-11-08T23:10:07.734Z] bde34c3a00c8: Download complete [2022-11-08T23:10:07.734Z] b352a97aabf1: Verifying Checksum [2022-11-08T23:10:07.734Z] b352a97aabf1: Download complete [2022-11-08T23:10:07.734Z] 4872d77fe225: Download complete [2022-11-08T23:10:07.734Z] 5851b861e8e6: Download complete [2022-11-08T23:10:07.734Z] b85a868b505f: Download complete [2022-11-08T23:10:07.995Z] bab4dde63d76: Verifying Checksum [2022-11-08T23:10:07.995Z] bab4dde63d76: Download complete [2022-11-08T23:10:08.931Z] b85a868b505f: Pull complete [2022-11-08T23:10:09.188Z] e2be974225ed: Pull complete [2022-11-08T23:10:09.448Z] 339a4e72a1f5: Pull complete [2022-11-08T23:10:09.706Z] 988bab9f4d93: Pull complete [2022-11-08T23:10:09.965Z] 1469e6f7b9e6: Pull complete [2022-11-08T23:10:09.965Z] eaf3925da568: Pull complete [2022-11-08T23:10:11.872Z] bab4dde63d76: Pull complete [2022-11-08T23:10:11.872Z] bde34c3a00c8: Pull complete [2022-11-08T23:10:11.872Z] b352a97aabf1: Pull complete [2022-11-08T23:10:11.872Z] 4872d77fe225: Pull complete [2022-11-08T23:10:11.872Z] 5851b861e8e6: Pull complete [2022-11-08T23:10:11.872Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T23:10:11.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:10:11.872Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:10:11.953Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:10:11.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:10:14.307Z] $ docker top 72a9eece2f364782049e287323d83ed220a3aaa876751a62bdd2b1490ed274f3 -eo pid,comm [2022-11-08T23:10:14.376Z] 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). [2022-11-08T23:10:14.376Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:10:14.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:10:14.412Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:10:14.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:10:14.520Z] $ docker exec 72a9eece2f364782049e287323d83ed220a3aaa876751a62bdd2b1490ed274f3 ssh-agent [2022-11-08T23:10:14.664Z] SSH_AUTH_SOCK=/tmp/ssh-yf95zyGMaPxN/agent.32 [2022-11-08T23:10:14.664Z] SSH_AGENT_PID=38 [2022-11-08T23:10:14.671Z] Running ssh-add (command line suppressed) [2022-11-08T23:10:14.761Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15407218528944901784.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15407218528944901784.key) [2022-11-08T23:10:14.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:10:15.076Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T23:10:15.082Z] $ docker exec --env ******** --env ******** 72a9eece2f364782049e287323d83ed220a3aaa876751a62bdd2b1490ed274f3 ssh-agent -k [2022-11-08T23:10:15.182Z] unset SSH_AUTH_SOCK; [2022-11-08T23:10:15.183Z] unset SSH_AGENT_PID; [2022-11-08T23:10:15.183Z] echo Agent pid 38 killed; [2022-11-08T23:10:15.201Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T23:10:15.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:10:15.225Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:10:15.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:10:15.334Z] $ docker exec 72a9eece2f364782049e287323d83ed220a3aaa876751a62bdd2b1490ed274f3 ssh-agent [2022-11-08T23:10:15.453Z] SSH_AUTH_SOCK=/tmp/ssh-oB16Tdl2f6mR/agent.70 [2022-11-08T23:10:15.453Z] SSH_AGENT_PID=76 [2022-11-08T23:10:15.458Z] Running ssh-add (command line suppressed) [2022-11-08T23:10:15.560Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7140266979248384210.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7140266979248384210.key) [2022-11-08T23:10:15.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:10:15.865Z] + git semver init [2022-11-08T23:10:16.123Z] 2022-11-08 23:10:16,048 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T23:10:16.123Z] 2022-11-08 23:10:16,048 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2022-11-08T23:10:16.123Z] 2022-11-08 23:10:16,049 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-11-08T23:10:16.123Z] 2022-11-08 23:10:16,049 [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) [2022-11-08T23:10:17.502Z] 2022-11-08 23:10:17,163 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2022-11-08T23:10:17.502Z] 2022-11-08 23:10:17,164 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2022-11-08T23:10:17.502Z] 2022-11-08 23:10:17,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:10:17.502Z] 2022-11-08 23:10:17,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:10:17.502Z] 2.3.0-dev.20 [Pipeline] } [2022-11-08T23:10:17.504Z] $ docker exec --env ******** --env ******** 72a9eece2f364782049e287323d83ed220a3aaa876751a62bdd2b1490ed274f3 ssh-agent -k [2022-11-08T23:10:17.613Z] unset SSH_AUTH_SOCK; [2022-11-08T23:10:17.613Z] unset SSH_AGENT_PID; [2022-11-08T23:10:17.613Z] echo Agent pid 76 killed; [2022-11-08T23:10:17.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:10:17.939Z] + git semver [Pipeline] } [2022-11-08T23:10:18.205Z] $ docker stop --time=1 72a9eece2f364782049e287323d83ed220a3aaa876751a62bdd2b1490ed274f3 [2022-11-08T23:10:19.484Z] $ docker rm -f 72a9eece2f364782049e287323d83ed220a3aaa876751a62bdd2b1490ed274f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:10:19.824Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T23:10:19.988Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T23:10:19.990Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [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 [2022-11-08T23:10:20.120Z] provisioning config files... [2022-11-08T23:10:20.129Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17036332468186568978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:10:20.418Z] ---> docker-login.sh [2022-11-08T23:10:20.418Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:10:20.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:20.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:20.418Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:20.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:20.418Z] [2022-11-08T23:10:20.418Z] Login Succeeded [2022-11-08T23:10:20.418Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:10:20.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:20.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:20.675Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:20.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:20.675Z] [2022-11-08T23:10:20.675Z] Login Succeeded [2022-11-08T23:10:20.675Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:10:20.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:20.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:20.934Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:20.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:20.934Z] [2022-11-08T23:10:20.934Z] Login Succeeded [2022-11-08T23:10:20.934Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:10:20.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:20.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:20.934Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:20.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:20.934Z] [2022-11-08T23:10:20.934Z] Login Succeeded [2022-11-08T23:10:20.934Z] docker.io [2022-11-08T23:10:21.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:10:21.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:10:21.451Z] Configure a credential helper to remove this warning. See [2022-11-08T23:10:21.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:10:21.451Z] [2022-11-08T23:10:21.451Z] Login Succeeded [2022-11-08T23:10:21.451Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:10:21.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:10:21.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:10:21.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:10:21.526Z] ========================================================= [2022-11-08T23:10:21.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T23:10:21.526Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:10:21.832Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T23:10:21.832Z] Sending build context to Docker daemon 15.91MB [2022-11-08T23:10:21.832Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:10:21.832Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:10:22.091Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T23:10:22.091Z] 213ec9aee27d: Pulling fs layer [2022-11-08T23:10:22.091Z] 4583459ba037: Pulling fs layer [2022-11-08T23:10:22.091Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T23:10:22.091Z] 53926ce57604: Pulling fs layer [2022-11-08T23:10:22.091Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T23:10:22.091Z] 22ff95d597cd: Pulling fs layer [2022-11-08T23:10:22.091Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T23:10:22.091Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T23:10:22.091Z] a7acece74701: Pulling fs layer [2022-11-08T23:10:22.091Z] 53926ce57604: Waiting [2022-11-08T23:10:22.091Z] 21b2b0c7a3f4: Waiting [2022-11-08T23:10:22.091Z] 22ff95d597cd: Waiting [2022-11-08T23:10:22.091Z] 12d6caf4c0d1: Waiting [2022-11-08T23:10:22.091Z] 96b7cbca73a9: Waiting [2022-11-08T23:10:22.091Z] a7acece74701: Waiting [2022-11-08T23:10:22.091Z] 93c1e223e6f2: Download complete [2022-11-08T23:10:22.092Z] 4583459ba037: Download complete [2022-11-08T23:10:22.092Z] 21b2b0c7a3f4: Download complete [2022-11-08T23:10:22.092Z] 22ff95d597cd: Download complete [2022-11-08T23:10:22.092Z] 213ec9aee27d: Verifying Checksum [2022-11-08T23:10:22.092Z] 213ec9aee27d: Download complete [2022-11-08T23:10:22.092Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T23:10:22.092Z] 12d6caf4c0d1: Download complete [2022-11-08T23:10:22.354Z] 213ec9aee27d: Pull complete [2022-11-08T23:10:22.354Z] 4583459ba037: Pull complete [2022-11-08T23:10:22.354Z] 93c1e223e6f2: Pull complete [2022-11-08T23:10:22.618Z] a7acece74701: Verifying Checksum [2022-11-08T23:10:22.618Z] a7acece74701: Download complete [2022-11-08T23:10:22.877Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T23:10:22.877Z] 96b7cbca73a9: Download complete [2022-11-08T23:10:22.877Z] 53926ce57604: Verifying Checksum [2022-11-08T23:10:22.877Z] 53926ce57604: Download complete [2022-11-08T23:10:27.075Z] 53926ce57604: Pull complete [2022-11-08T23:10:27.075Z] 21b2b0c7a3f4: Pull complete [2022-11-08T23:10:27.075Z] 22ff95d597cd: Pull complete [2022-11-08T23:10:27.075Z] 12d6caf4c0d1: Pull complete [2022-11-08T23:10:29.622Z] 96b7cbca73a9: Pull complete [2022-11-08T23:10:29.881Z] a7acece74701: Pull complete [2022-11-08T23:10:29.881Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T23:10:29.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T23:10:29.881Z] ---> db6d94c90886 [2022-11-08T23:10:29.881Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:10:35.078Z] Still waiting to schedule task [2022-11-08T23:10:35.078Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-08T23:10:35.166Z] ---> Running in 042d6a328efa [2022-11-08T23:10:35.166Z] Removing intermediate container 042d6a328efa [2022-11-08T23:10:35.166Z] ---> b8cce5c19929 [2022-11-08T23:10:35.166Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:10:35.166Z] ---> Running in 3d86efc33c96 [2022-11-08T23:10:35.166Z] Removing intermediate container 3d86efc33c96 [2022-11-08T23:10:35.166Z] ---> 7d65ea525ed7 [2022-11-08T23:10:35.166Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:10:35.166Z] ---> Running in cd43ecd64d35 [2022-11-08T23:10:35.166Z] Removing intermediate container cd43ecd64d35 [2022-11-08T23:10:35.166Z] ---> 7bebfd49f63c [2022-11-08T23:10:35.166Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:10:35.166Z] ---> Running in f7dec34556fe [2022-11-08T23:10:35.166Z] Removing intermediate container f7dec34556fe [2022-11-08T23:10:35.166Z] ---> 009f31bf1003 [2022-11-08T23:10:35.166Z] Step 7/12 : WORKDIR /device-gpio [2022-11-08T23:10:35.166Z] ---> Running in ff458625a6d8 [2022-11-08T23:10:35.166Z] Removing intermediate container ff458625a6d8 [2022-11-08T23:10:35.167Z] ---> d31f7f8a9a61 [2022-11-08T23:10:35.167Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:10:35.167Z] ---> Running in fd363db23aae [2022-11-08T23:10:35.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:10:35.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:10:35.686Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:10:35.686Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:10:35.686Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:10:35.686Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:10:35.686Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:10:35.686Z] OK: 216 MiB in 55 packages [2022-11-08T23:10:36.254Z] Removing intermediate container fd363db23aae [2022-11-08T23:10:36.254Z] ---> 81bb10ea3a40 [2022-11-08T23:10:36.254Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:10:36.254Z] ---> b4fe7a7e2f06 [2022-11-08T23:10:36.254Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:10:36.254Z] ---> Running in 4d784f77da3c [2022-11-08T23:11:02.901Z] Removing intermediate container 4d784f77da3c [2022-11-08T23:11:02.901Z] ---> 9b6e4f80a333 [2022-11-08T23:11:02.901Z] Step 11/12 : COPY . . [2022-11-08T23:11:02.901Z] ---> 26329cb83412 [2022-11-08T23:11:02.901Z] Step 12/12 : RUN ${MAKE} [2022-11-08T23:11:02.901Z] ---> Running in fcaedbd9b688 [2022-11-08T23:11:02.901Z] noop [2022-11-08T23:11:02.901Z] Removing intermediate container fcaedbd9b688 [2022-11-08T23:11:02.901Z] ---> 6c0d97b09adf [2022-11-08T23:11:02.901Z] Successfully built 6c0d97b09adf [2022-11-08T23:11:02.901Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:11:03.229Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T23:11:03.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:11:03.301Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:11:03.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T23:11:03.678Z] $ docker top 5aa0cc905510d58e9f482031e7bb6a50db30a6a84b741a5241dc5e0868c2a149 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:11:04.014Z] + go version [2022-11-08T23:11:04.014Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T23:11:04.032Z] $ docker stop --time=1 5aa0cc905510d58e9f482031e7bb6a50db30a6a84b741a5241dc5e0868c2a149 [2022-11-08T23:11:05.309Z] $ docker rm -f 5aa0cc905510d58e9f482031e7bb6a50db30a6a84b741a5241dc5e0868c2a149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:11:05.680Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T23:11:05.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:11:05.742Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:11:05.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T23:11:06.102Z] $ docker top 432c2f985cb216849a0d196ee802fa0ded701f7b50ad66a2cca0e59a5a6aaef8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:11:06.440Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:11:06.734Z] + make test [2022-11-08T23:11:06.734Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T23:11:06.992Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-08T23:11:16.985Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-08T23:11:16.985Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-08T23:11:25.101Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-08T23:11:25.101Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:11:27.634Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:11:27.634Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:11:27.634Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:11:27.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:11:27.662Z] $ docker stop --time=1 432c2f985cb216849a0d196ee802fa0ded701f7b50ad66a2cca0e59a5a6aaef8 [2022-11-08T23:11:30.383Z] $ docker rm -f 432c2f985cb216849a0d196ee802fa0ded701f7b50ad66a2cca0e59a5a6aaef8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:11:30.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:11:30.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T23:11:31.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:11:31.584Z] + ls -al . [2022-11-08T23:11:31.584Z] total 168 [2022-11-08T23:11:31.584Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:11 . [2022-11-08T23:11:31.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:10 .. [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 8 23:10 .dockerignore [2022-11-08T23:11:31.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:11 .git [2022-11-08T23:11:31.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:10 .github [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 8 23:10 .gitignore [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:10 .golangci.yml [2022-11-08T23:11:31.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:10 .semver [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 8 23:10 Attribution.txt [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 8 23:10 CHANGELOG.md [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 8 23:10 Dockerfile [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:10 GOVERNANCE.md [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 23:10 Jenkinsfile [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:10 LICENSE [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 8 23:10 Makefile [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 23:10 OWNERS.md [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 8 23:10 README.md [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 23:10 VERSION [2022-11-08T23:11:31.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:10 bin [2022-11-08T23:11:31.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:10 cmd [2022-11-08T23:11:31.584Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 8 23:11 coverage.out [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 3399 Nov 8 23:10 go.mod [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 44977 Nov 8 23:10 go.sum [2022-11-08T23:11:31.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:10 internal [2022-11-08T23:11:31.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:10 snap [2022-11-08T23:11:31.584Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 23:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:11:31.887Z] + 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=6d8ecf80da7f2ca0a5daac1df958a19e93358a5b --label arch=amd64 --label version=2.3.0-dev.20 . [2022-11-08T23:11:31.887Z] Sending build context to Docker daemon 15.91MB [2022-11-08T23:11:31.887Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:11:31.887Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T23:11:31.887Z] ---> 6c0d97b09adf [2022-11-08T23:11:31.887Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:11:32.145Z] ---> Running in e978bed332cc [2022-11-08T23:11:32.403Z] Removing intermediate container e978bed332cc [2022-11-08T23:11:32.403Z] ---> 53ebd6e8e2cb [2022-11-08T23:11:32.403Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:11:32.403Z] ---> Running in 3d2f3da7c23f [2022-11-08T23:11:32.403Z] Removing intermediate container 3d2f3da7c23f [2022-11-08T23:11:32.403Z] ---> 18f9db67338d [2022-11-08T23:11:32.403Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:11:32.403Z] ---> Running in 862fd28da428 [2022-11-08T23:11:32.403Z] Removing intermediate container 862fd28da428 [2022-11-08T23:11:32.403Z] ---> 25f1df2eaced [2022-11-08T23:11:32.403Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:11:32.403Z] ---> Running in 8a17d724443c [2022-11-08T23:11:32.663Z] Removing intermediate container 8a17d724443c [2022-11-08T23:11:32.663Z] ---> 0f4c0b86bb7b [2022-11-08T23:11:32.663Z] Step 7/25 : WORKDIR /device-gpio [2022-11-08T23:11:32.663Z] ---> Running in 4405745e5058 [2022-11-08T23:11:32.663Z] Removing intermediate container 4405745e5058 [2022-11-08T23:11:32.663Z] ---> f2f6a4925968 [2022-11-08T23:11:32.663Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:11:32.663Z] ---> Running in 9de38b2e98ba [2022-11-08T23:11:32.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:11:33.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:11:33.440Z] OK: 216 MiB in 55 packages [2022-11-08T23:11:33.700Z] Removing intermediate container 9de38b2e98ba [2022-11-08T23:11:33.700Z] ---> 16d43c173b66 [2022-11-08T23:11:33.700Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-08T23:11:33.962Z] ---> 2122c69ddafd [2022-11-08T23:11:33.962Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:11:33.962Z] ---> Running in 76f57aecfd8f [2022-11-08T23:11:34.545Z] Removing intermediate container 76f57aecfd8f [2022-11-08T23:11:34.545Z] ---> fba986c8bb78 [2022-11-08T23:11:34.545Z] Step 11/25 : COPY . . [2022-11-08T23:11:35.113Z] ---> e84dfe40235d [2022-11-08T23:11:35.113Z] Step 12/25 : RUN ${MAKE} [2022-11-08T23:11:35.113Z] ---> Running in 7a0b7cf0ea2f [2022-11-08T23:11:35.371Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-11-08T23:11:57.426Z] Removing intermediate container 7a0b7cf0ea2f [2022-11-08T23:11:57.426Z] ---> 24c7eea5696f [2022-11-08T23:11:57.426Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T23:11:57.426Z] 3.16: Pulling from library/alpine [2022-11-08T23:11:57.686Z] 213ec9aee27d: Already exists [2022-11-08T23:11:57.686Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:11:57.686Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:11:57.686Z] ---> 9c6f07244728 [2022-11-08T23:11:57.686Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-08T23:11:57.686Z] ---> Running in 39d3162255d3 [2022-11-08T23:11:57.944Z] Removing intermediate container 39d3162255d3 [2022-11-08T23:11:57.944Z] ---> 2c2bebc65ea5 [2022-11-08T23:11:57.944Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-08T23:11:57.944Z] ---> Running in fb622eeba32c [2022-11-08T23:11:58.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:11:58.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:11:58.460Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:11:58.460Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-08T23:11:58.460Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:11:58.460Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-08T23:11:58.460Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-08T23:11:58.460Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:11:58.460Z] OK: 8 MiB in 19 packages [2022-11-08T23:11:59.045Z] Removing intermediate container fb622eeba32c [2022-11-08T23:11:59.045Z] ---> fe628f1a70d6 [2022-11-08T23:11:59.045Z] Step 16/25 : WORKDIR / [2022-11-08T23:11:59.045Z] ---> Running in 17a050fd398f [2022-11-08T23:11:59.045Z] Removing intermediate container 17a050fd398f [2022-11-08T23:11:59.045Z] ---> 5ec1d8820b47 [2022-11-08T23:11:59.045Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-08T23:11:59.045Z] ---> 203608c518c1 [2022-11-08T23:11:59.045Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-08T23:11:59.303Z] ---> b467b69212c6 [2022-11-08T23:11:59.303Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-08T23:11:59.868Z] ---> bc86abde0fea [2022-11-08T23:11:59.868Z] Step 20/25 : EXPOSE 59910 [2022-11-08T23:12:00.128Z] ---> Running in 7f9e45c877f8 [2022-11-08T23:12:00.128Z] Removing intermediate container 7f9e45c877f8 [2022-11-08T23:12:00.128Z] ---> 4dae09198c67 [2022-11-08T23:12:00.128Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-08T23:12:00.128Z] ---> Running in e4b02571c5ba [2022-11-08T23:12:00.128Z] Removing intermediate container e4b02571c5ba [2022-11-08T23:12:00.128Z] ---> 212cc08bd01e [2022-11-08T23:12:00.128Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T23:12:00.128Z] ---> Running in 58dc8a963ff9 [2022-11-08T23:12:00.388Z] Removing intermediate container 58dc8a963ff9 [2022-11-08T23:12:00.388Z] ---> 2f4b30eae57a [2022-11-08T23:12:00.388Z] Step 23/25 : LABEL arch=amd64 [2022-11-08T23:12:00.388Z] ---> Running in f82143feb61b [2022-11-08T23:12:00.388Z] Removing intermediate container f82143feb61b [2022-11-08T23:12:00.388Z] ---> 6e7504e53dc5 [2022-11-08T23:12:00.388Z] Step 24/25 : LABEL git_sha=6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:12:00.388Z] ---> Running in 9654851de526 [2022-11-08T23:12:00.388Z] Removing intermediate container 9654851de526 [2022-11-08T23:12:00.388Z] ---> 781c1e19d3a8 [2022-11-08T23:12:00.388Z] Step 25/25 : LABEL version=2.3.0-dev.20 [2022-11-08T23:12:00.388Z] ---> Running in 4a6389d4d062 [2022-11-08T23:12:00.647Z] Removing intermediate container 4a6389d4d062 [2022-11-08T23:12:00.647Z] ---> 3cb90cd31de7 [2022-11-08T23:12:00.647Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:12:00.647Z] Successfully built 3cb90cd31de7 [2022-11-08T23:12:00.647Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:12:00.740Z] provisioning config files... [2022-11-08T23:12:00.749Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16456181626374069615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:12:01.046Z] ---> docker-login.sh [2022-11-08T23:12:01.046Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:12:01.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:01.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:01.046Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:01.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:01.046Z] [2022-11-08T23:12:01.046Z] Login Succeeded [2022-11-08T23:12:01.046Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:12:01.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:01.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:01.305Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:01.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:01.305Z] [2022-11-08T23:12:01.305Z] Login Succeeded [2022-11-08T23:12:01.305Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:12:01.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:01.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:01.305Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:01.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:01.305Z] [2022-11-08T23:12:01.305Z] Login Succeeded [2022-11-08T23:12:01.305Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:12:01.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:01.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:01.305Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:01.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:01.305Z] [2022-11-08T23:12:01.305Z] Login Succeeded [2022-11-08T23:12:01.305Z] docker.io [2022-11-08T23:12:01.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:12:01.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:12:01.823Z] Configure a credential helper to remove this warning. See [2022-11-08T23:12:01.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:12:01.823Z] [2022-11-08T23:12:01.823Z] Login Succeeded [2022-11-08T23:12:01.823Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:12:01.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T23:12:01.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:12:01.897Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-11-08T23:12:01.897Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:12:01.897Z] latest [2022-11-08T23:12:01.897Z] 2.3.0-dev.20 [2022-11-08T23:12:01.897Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20 [2022-11-08T23:12:01.897Z] main [2022-11-08T23:12:01.897Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:02.211Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:02.525Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:12:02.525Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-11-08T23:12:02.525Z] 16223f9951a4: Preparing [2022-11-08T23:12:02.525Z] a3b6ea3cc4ad: Preparing [2022-11-08T23:12:02.525Z] 946675cf09a4: Preparing [2022-11-08T23:12:02.525Z] 77d76a972cf4: Preparing [2022-11-08T23:12:02.525Z] 994393dc58e7: Preparing [2022-11-08T23:12:02.525Z] 994393dc58e7: Layer already exists [2022-11-08T23:12:02.525Z] 946675cf09a4: Pushed [2022-11-08T23:12:02.525Z] a3b6ea3cc4ad: Pushed [2022-11-08T23:12:02.783Z] 77d76a972cf4: Pushed [2022-11-08T23:12:05.326Z] 16223f9951a4: Pushed [2022-11-08T23:12:05.585Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b: digest: sha256:c98ca1a9c685393844d9a7deffd8c67beef90ccd5683cce94b85bc06e19e5fc8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:05.893Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:06.201Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-11-08T23:12:06.201Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-11-08T23:12:06.201Z] 16223f9951a4: Preparing [2022-11-08T23:12:06.201Z] a3b6ea3cc4ad: Preparing [2022-11-08T23:12:06.201Z] 946675cf09a4: Preparing [2022-11-08T23:12:06.201Z] 77d76a972cf4: Preparing [2022-11-08T23:12:06.201Z] 994393dc58e7: Preparing [2022-11-08T23:12:06.201Z] 77d76a972cf4: Layer already exists [2022-11-08T23:12:06.201Z] 994393dc58e7: Layer already exists [2022-11-08T23:12:06.201Z] 16223f9951a4: Layer already exists [2022-11-08T23:12:06.201Z] a3b6ea3cc4ad: Layer already exists [2022-11-08T23:12:06.201Z] 946675cf09a4: Layer already exists [2022-11-08T23:12:06.201Z] latest: digest: sha256:c98ca1a9c685393844d9a7deffd8c67beef90ccd5683cce94b85bc06e19e5fc8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:06.509Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:06.808Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.20 [2022-11-08T23:12:06.809Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-11-08T23:12:06.809Z] 16223f9951a4: Preparing [2022-11-08T23:12:06.809Z] a3b6ea3cc4ad: Preparing [2022-11-08T23:12:06.809Z] 946675cf09a4: Preparing [2022-11-08T23:12:06.809Z] 77d76a972cf4: Preparing [2022-11-08T23:12:06.809Z] 994393dc58e7: Preparing [2022-11-08T23:12:06.809Z] 77d76a972cf4: Layer already exists [2022-11-08T23:12:06.809Z] 946675cf09a4: Layer already exists [2022-11-08T23:12:06.809Z] 16223f9951a4: Layer already exists [2022-11-08T23:12:06.809Z] a3b6ea3cc4ad: Layer already exists [2022-11-08T23:12:06.809Z] 994393dc58e7: Layer already exists [2022-11-08T23:12:06.809Z] 2.3.0-dev.20: digest: sha256:c98ca1a9c685393844d9a7deffd8c67beef90ccd5683cce94b85bc06e19e5fc8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:07.113Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:07.421Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20 [2022-11-08T23:12:07.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-11-08T23:12:07.421Z] 16223f9951a4: Preparing [2022-11-08T23:12:07.421Z] a3b6ea3cc4ad: Preparing [2022-11-08T23:12:07.421Z] 946675cf09a4: Preparing [2022-11-08T23:12:07.421Z] 77d76a972cf4: Preparing [2022-11-08T23:12:07.421Z] 994393dc58e7: Preparing [2022-11-08T23:12:07.421Z] 994393dc58e7: Layer already exists [2022-11-08T23:12:07.421Z] 946675cf09a4: Layer already exists [2022-11-08T23:12:07.421Z] 77d76a972cf4: Layer already exists [2022-11-08T23:12:07.421Z] 16223f9951a4: Layer already exists [2022-11-08T23:12:07.421Z] a3b6ea3cc4ad: Layer already exists [2022-11-08T23:12:07.421Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20: digest: sha256:c98ca1a9c685393844d9a7deffd8c67beef90ccd5683cce94b85bc06e19e5fc8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:07.737Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:08.043Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-11-08T23:12:08.043Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-11-08T23:12:08.043Z] 16223f9951a4: Preparing [2022-11-08T23:12:08.043Z] a3b6ea3cc4ad: Preparing [2022-11-08T23:12:08.043Z] 946675cf09a4: Preparing [2022-11-08T23:12:08.043Z] 77d76a972cf4: Preparing [2022-11-08T23:12:08.043Z] 994393dc58e7: Preparing [2022-11-08T23:12:08.043Z] 946675cf09a4: Layer already exists [2022-11-08T23:12:08.043Z] 16223f9951a4: Layer already exists [2022-11-08T23:12:08.043Z] a3b6ea3cc4ad: Layer already exists [2022-11-08T23:12:08.043Z] 994393dc58e7: Layer already exists [2022-11-08T23:12:08.043Z] 77d76a972cf4: Layer already exists [2022-11-08T23:12:08.043Z] main: digest: sha256:c98ca1a9c685393844d9a7deffd8c67beef90ccd5683cce94b85bc06e19e5fc8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T23:12:08.091Z] ===================================================== [Pipeline] echo [2022-11-08T23:12:08.100Z] taggedImages: [2022-11-08T23:12:08.100Z] - nexus3.edgexfoundry.org:10004/device-gpio:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:12:08.100Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-11-08T23:12:08.100Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.20 [2022-11-08T23:12:08.100Z] - nexus3.edgexfoundry.org:10004/device-gpio:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20 [2022-11-08T23:12:08.100Z] - 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 [2022-11-08T23:12:08.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:12:08.468Z] [2022-11-08T23:12:08.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:12:08.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:12:08.765Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T23:12:08.765Z] 5eb5b503b376: Pulling fs layer [2022-11-08T23:12:08.765Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T23:12:08.765Z] ec43610c2a17: Pulling fs layer [2022-11-08T23:12:08.765Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T23:12:08.765Z] 33b1e0a273af: Pulling fs layer [2022-11-08T23:12:08.765Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T23:12:08.765Z] 2f39f015ded8: Pulling fs layer [2022-11-08T23:12:08.765Z] 3a2ae6a8a46f: Waiting [2022-11-08T23:12:08.765Z] 33b1e0a273af: Waiting [2022-11-08T23:12:08.765Z] 2f39f015ded8: Waiting [2022-11-08T23:12:08.765Z] 5d3b04190fa2: Waiting [2022-11-08T23:12:08.765Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T23:12:08.765Z] 5c69ac0246d0: Download complete [2022-11-08T23:12:08.765Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T23:12:08.765Z] 3a2ae6a8a46f: Download complete [2022-11-08T23:12:08.765Z] 33b1e0a273af: Verifying Checksum [2022-11-08T23:12:08.765Z] 33b1e0a273af: Download complete [2022-11-08T23:12:08.765Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T23:12:08.765Z] 5d3b04190fa2: Download complete [2022-11-08T23:12:09.027Z] ec43610c2a17: Verifying Checksum [2022-11-08T23:12:09.027Z] ec43610c2a17: Download complete [2022-11-08T23:12:09.027Z] 5eb5b503b376: Download complete [2022-11-08T23:12:09.594Z] 2f39f015ded8: Download complete [2022-11-08T23:12:10.527Z] 5eb5b503b376: Pull complete [2022-11-08T23:12:10.527Z] 5c69ac0246d0: Pull complete [2022-11-08T23:12:11.095Z] ec43610c2a17: Pull complete [2022-11-08T23:12:11.095Z] 3a2ae6a8a46f: Pull complete [2022-11-08T23:12:11.095Z] 33b1e0a273af: Pull complete [2022-11-08T23:12:11.354Z] 5d3b04190fa2: Pull complete [2022-11-08T23:12:16.617Z] 2f39f015ded8: Pull complete [2022-11-08T23:12:16.617Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T23:12:16.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:12:16.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:12:16.709Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:12:16.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T23:12:19.065Z] $ docker top 0491378a031cd6fb02064c92820846be9859ae1f9e4e03b86ef031dcff937f5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:12:19.432Z] ---> job-cost.sh [2022-11-08T23:12:19.432Z] lf-activate-venv: SKIPPING [2022-11-08T23:12:19.432Z] INFO: No Stack... [2022-11-08T23:12:19.690Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:12:20.257Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:12:20.543Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-11-08T23:12:20.543Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:12:20.556Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-50-stack-cost] [2022-11-08T23:12:20.562Z] Resource [jenkins-edgexfoundry-device-gpio-main-50-stack-cost] did not exist. Created. [2022-11-08T23:12:20.562Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:12:20.858Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T23:12:20.883Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:12:20.889Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:12:20.912Z] $ docker stop --time=1 0491378a031cd6fb02064c92820846be9859ae1f9e4e03b86ef031dcff937f5a [2022-11-08T23:12:22.061Z] $ docker rm -f 0491378a031cd6fb02064c92820846be9859ae1f9e4e03b86ef031dcff937f5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T23:13:13.681Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118683 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-11-08T23:13:13.692Z] Running in /w/workspace/device-gpio/50 [Pipeline] { [Pipeline] checkout [2022-11-08T23:13:13.728Z] The recommended git tool is: git [2022-11-08T23:13:19.837Z] using credential edgex-jenkins-ssh [2022-11-08T23:13:19.855Z] Cloning the remote Git repository [2022-11-08T23:13:19.921Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-11-08T23:13:20.025Z] > git init /w/workspace/device-gpio/50 # timeout=10 [2022-11-08T23:13:20.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-08T23:13:20.211Z] > git --version # timeout=10 [2022-11-08T23:13:20.237Z] > git --version # 'git version 2.25.1' [2022-11-08T23:13:20.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:13:20.295Z] Verifying host key using known hosts file [2022-11-08T23:13:20.539Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T23:13:20.554Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:13:22.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-08T23:13:22.281Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:13:23.299Z] Avoid second fetch [2022-11-08T23:13:23.299Z] Checking out Revision 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b (main) [2022-11-08T23:13:23.908Z] Commit message: "Merge pull request #68 from lenny-intel/released-sdk" [2022-11-08T23:13:23.327Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T23:13:23.352Z] > git checkout -f 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:13:24.815Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T23:13:24.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:13:24.815Z] Dload Upload Total Spent Left Speed [2022-11-08T23:13:24.815Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-11-08T23:13:25.507Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T23:13:25.843Z] + sudo tee /etc/docker/daemon.new [2022-11-08T23:13:25.843Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T23:13:25.843Z] { [2022-11-08T23:13:25.843Z] "registry-mirrors": [ [2022-11-08T23:13:25.843Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T23:13:25.843Z] ], [2022-11-08T23:13:25.843Z] "bip": "10.250.0.254/24", [2022-11-08T23:13:25.843Z] "hosts": [ [2022-11-08T23:13:25.843Z] "tcp://0.0.0.0:5555", [2022-11-08T23:13:25.843Z] "unix:///var/run/docker.sock" [2022-11-08T23:13:25.843Z] ], [2022-11-08T23:13:25.843Z] "mtu": 1458, [2022-11-08T23:13:25.843Z] "selinux-enabled": true, [2022-11-08T23:13:25.843Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T23:13:25.843Z] } [Pipeline] sh [2022-11-08T23:13:26.183Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T23:13:26.539Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:13:44.839Z] provisioning config files... [2022-11-08T23:13:44.873Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/50@tmp/config1596285600269666086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:13:45.251Z] ---> docker-login.sh [2022-11-08T23:13:45.251Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:13:45.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:13:46.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:13:46.117Z] Configure a credential helper to remove this warning. See [2022-11-08T23:13:46.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:13:46.117Z] [2022-11-08T23:13:46.117Z] Login Succeeded [2022-11-08T23:13:46.117Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:13:46.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:13:46.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:13:46.389Z] Configure a credential helper to remove this warning. See [2022-11-08T23:13:46.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:13:46.389Z] [2022-11-08T23:13:46.389Z] Login Succeeded [2022-11-08T23:13:46.389Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:13:46.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:13:46.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:13:46.947Z] Configure a credential helper to remove this warning. See [2022-11-08T23:13:46.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:13:46.947Z] [2022-11-08T23:13:46.947Z] Login Succeeded [2022-11-08T23:13:46.947Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:13:46.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:13:47.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:13:47.221Z] Configure a credential helper to remove this warning. See [2022-11-08T23:13:47.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:13:47.221Z] [2022-11-08T23:13:47.221Z] Login Succeeded [2022-11-08T23:13:47.221Z] docker.io [2022-11-08T23:13:47.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:13:47.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:13:47.762Z] Configure a credential helper to remove this warning. See [2022-11-08T23:13:47.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:13:47.762Z] [2022-11-08T23:13:47.762Z] Login Succeeded [2022-11-08T23:13:47.762Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:13:47.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:13:47.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:13:47.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:13:47.993Z] ========================================================= [2022-11-08T23:13:47.993Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T23:13:47.993Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:13:48.352Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T23:13:48.626Z] Sending build context to Docker daemon 8.024MB [2022-11-08T23:13:48.626Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:13:48.626Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:13:48.909Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T23:13:48.909Z] 9b18e9b68314: Pulling fs layer [2022-11-08T23:13:48.909Z] 35d82f9e3411: Pulling fs layer [2022-11-08T23:13:48.909Z] e16973657156: Pulling fs layer [2022-11-08T23:13:48.909Z] fc693d55d65f: Pulling fs layer [2022-11-08T23:13:48.910Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T23:13:48.910Z] dda99020689f: Pulling fs layer [2022-11-08T23:13:48.910Z] db1c61fa0a46: Pulling fs layer [2022-11-08T23:13:48.910Z] 891c053d2c06: Pulling fs layer [2022-11-08T23:13:48.910Z] 7e9fc2657dce: Waiting [2022-11-08T23:13:48.910Z] dda99020689f: Waiting [2022-11-08T23:13:48.910Z] fc693d55d65f: Waiting [2022-11-08T23:13:48.910Z] db1c61fa0a46: Waiting [2022-11-08T23:13:48.910Z] 891c053d2c06: Waiting [2022-11-08T23:13:49.185Z] e16973657156: Verifying Checksum [2022-11-08T23:13:49.185Z] e16973657156: Download complete [2022-11-08T23:13:49.185Z] 35d82f9e3411: Verifying Checksum [2022-11-08T23:13:49.185Z] 35d82f9e3411: Download complete [2022-11-08T23:13:49.185Z] 7e9fc2657dce: Download complete [2022-11-08T23:13:49.185Z] dda99020689f: Download complete [2022-11-08T23:13:49.185Z] 9b18e9b68314: Verifying Checksum [2022-11-08T23:13:49.185Z] 9b18e9b68314: Download complete [2022-11-08T23:13:50.174Z] 9b18e9b68314: Pull complete [2022-11-08T23:13:50.452Z] 891c053d2c06: Verifying Checksum [2022-11-08T23:13:50.452Z] 891c053d2c06: Download complete [2022-11-08T23:13:50.725Z] 35d82f9e3411: Pull complete [2022-11-08T23:13:51.322Z] e16973657156: Pull complete [2022-11-08T23:13:51.592Z] db1c61fa0a46: Verifying Checksum [2022-11-08T23:13:51.592Z] db1c61fa0a46: Download complete [2022-11-08T23:13:52.182Z] fc693d55d65f: Verifying Checksum [2022-11-08T23:13:52.182Z] fc693d55d65f: Download complete [2022-11-08T23:14:04.551Z] fc693d55d65f: Pull complete [2022-11-08T23:14:04.551Z] 7e9fc2657dce: Pull complete [2022-11-08T23:14:04.551Z] dda99020689f: Pull complete [2022-11-08T23:14:09.903Z] db1c61fa0a46: Pull complete [2022-11-08T23:14:11.861Z] 891c053d2c06: Pull complete [2022-11-08T23:14:11.861Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T23:14:11.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T23:14:11.861Z] ---> f96f9c87975a [2022-11-08T23:14:11.861Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:14:14.545Z] ---> Running in 0b657af95df6 [2022-11-08T23:14:14.819Z] Removing intermediate container 0b657af95df6 [2022-11-08T23:14:14.819Z] ---> f684aa2ce7ad [2022-11-08T23:14:14.819Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:14:14.819Z] ---> Running in 97a2481904d7 [2022-11-08T23:14:15.423Z] Removing intermediate container 97a2481904d7 [2022-11-08T23:14:15.423Z] ---> 8cd2e05ab02f [2022-11-08T23:14:15.423Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:14:15.423Z] ---> Running in 435b93fd0613 [2022-11-08T23:14:15.714Z] Removing intermediate container 435b93fd0613 [2022-11-08T23:14:15.714Z] ---> e80928041661 [2022-11-08T23:14:15.714Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:14:15.714Z] ---> Running in 763c6300d92f [2022-11-08T23:14:15.988Z] Removing intermediate container 763c6300d92f [2022-11-08T23:14:15.988Z] ---> 70880e432156 [2022-11-08T23:14:15.988Z] Step 7/12 : WORKDIR /device-gpio [2022-11-08T23:14:16.261Z] ---> Running in 4f9a0c2cc39e [2022-11-08T23:14:16.528Z] Removing intermediate container 4f9a0c2cc39e [2022-11-08T23:14:16.528Z] ---> dd4e627855cd [2022-11-08T23:14:16.528Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:14:16.528Z] ---> Running in 1539cb6683af [2022-11-08T23:14:17.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:14:17.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:14:19.351Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:14:19.351Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:14:19.351Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:14:19.351Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:14:19.351Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:14:19.351Z] OK: 226 MiB in 55 packages [2022-11-08T23:14:20.318Z] Removing intermediate container 1539cb6683af [2022-11-08T23:14:20.318Z] ---> c6066f1f7e49 [2022-11-08T23:14:20.318Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:14:20.900Z] ---> dc564c0d9db7 [2022-11-08T23:14:20.900Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:14:20.900Z] ---> Running in dfd98ac7aefe [2022-11-08T23:15:17.347Z] Removing intermediate container dfd98ac7aefe [2022-11-08T23:15:17.347Z] ---> b8d2fc708c80 [2022-11-08T23:15:17.347Z] Step 11/12 : COPY . . [2022-11-08T23:15:17.347Z] ---> 99a14691f71a [2022-11-08T23:15:17.347Z] Step 12/12 : RUN ${MAKE} [2022-11-08T23:15:17.347Z] ---> Running in dd8441d4d3e5 [2022-11-08T23:15:17.347Z] noop [2022-11-08T23:15:17.934Z] Removing intermediate container dd8441d4d3e5 [2022-11-08T23:15:17.934Z] ---> 30ecf77a2b53 [2022-11-08T23:15:17.934Z] Successfully built 30ecf77a2b53 [2022-11-08T23:15:17.934Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:15:18.287Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:15:18.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:15:18.481Z] prd-ubuntu20.04-docker-arm64-4c-16g-118683 does not seem to be running inside a container [2022-11-08T23:15:18.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/50 -v /w/workspace/device-gpio/50:/w/workspace/device-gpio/50:rw,z -v /w/workspace/device-gpio/50@tmp:/w/workspace/device-gpio/50@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 [2022-11-08T23:15:19.968Z] $ docker top 85363fef63c0d0b3e5d6fb9c9dab130a7e077682070f75ccfad869733a816bda -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:15:20.831Z] + go version [2022-11-08T23:15:20.831Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T23:15:20.857Z] $ docker stop --time=1 85363fef63c0d0b3e5d6fb9c9dab130a7e077682070f75ccfad869733a816bda [2022-11-08T23:15:22.496Z] $ docker rm -f 85363fef63c0d0b3e5d6fb9c9dab130a7e077682070f75ccfad869733a816bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:15:23.041Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:15:23.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:15:23.216Z] prd-ubuntu20.04-docker-arm64-4c-16g-118683 does not seem to be running inside a container [2022-11-08T23:15:23.289Z] $ 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/50 -v /w/workspace/device-gpio/50:/w/workspace/device-gpio/50:rw,z -v /w/workspace/device-gpio/50@tmp:/w/workspace/device-gpio/50@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 [2022-11-08T23:15:24.578Z] $ docker top 02ac65b53effa879c3f46ec8ae19406af0945bb9e960ee7230c59ad0cdf69417 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:15:25.442Z] + git config --global --add safe.directory /w/workspace/device-gpio/50 [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:15:26.101Z] + make test [2022-11-08T23:15:26.101Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T23:15:27.531Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-08T23:17:04.216Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-08T23:17:04.216Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-08T23:17:04.216Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T23:17:04.216Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:17:30.937Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:17:30.937Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:17:30.937Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:17:30.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:17:30.972Z] $ docker stop --time=1 02ac65b53effa879c3f46ec8ae19406af0945bb9e960ee7230c59ad0cdf69417 [2022-11-08T23:17:33.960Z] $ docker rm -f 02ac65b53effa879c3f46ec8ae19406af0945bb9e960ee7230c59ad0cdf69417 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:17:34.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:17:35.023Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T23:17:35.742Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:17:36.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:17:36.493Z] + ls -al . [2022-11-08T23:17:36.493Z] total 164 [2022-11-08T23:17:36.493Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:15 . [2022-11-08T23:17:36.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:13 .. [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 8 23:13 .dockerignore [2022-11-08T23:17:36.493Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:13 .git [2022-11-08T23:17:36.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:13 .github [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 8 23:13 .gitignore [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:13 .golangci.yml [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 8 23:13 Attribution.txt [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 8 23:13 CHANGELOG.md [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 8 23:13 Dockerfile [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:13 GOVERNANCE.md [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 23:13 Jenkinsfile [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:13 LICENSE [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 8 23:13 Makefile [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 23:13 OWNERS.md [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 8 23:13 README.md [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 23:10 VERSION [2022-11-08T23:17:36.493Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:13 bin [2022-11-08T23:17:36.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:13 cmd [2022-11-08T23:17:36.493Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 8 23:15 coverage.out [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 3399 Nov 8 23:13 go.mod [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 44977 Nov 8 23:13 go.sum [2022-11-08T23:17:36.493Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:13 internal [2022-11-08T23:17:36.493Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:13 snap [2022-11-08T23:17:36.493Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 23:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:17:36.880Z] + 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=6d8ecf80da7f2ca0a5daac1df958a19e93358a5b --label arch=arm64 --label version=2.3.0-dev.20 . [2022-11-08T23:17:37.478Z] Sending build context to Docker daemon 8.025MB [2022-11-08T23:17:37.479Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:17:37.479Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T23:17:37.479Z] ---> 30ecf77a2b53 [2022-11-08T23:17:37.479Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:17:37.749Z] ---> Running in 046bee2519ba [2022-11-08T23:17:38.019Z] Removing intermediate container 046bee2519ba [2022-11-08T23:17:38.019Z] ---> 0a9a24551010 [2022-11-08T23:17:38.019Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:17:38.019Z] ---> Running in 6d9fa7ec5e2a [2022-11-08T23:17:38.293Z] Removing intermediate container 6d9fa7ec5e2a [2022-11-08T23:17:38.293Z] ---> 8e057c25c91e [2022-11-08T23:17:38.293Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:17:38.566Z] ---> Running in 2e70250d324b [2022-11-08T23:17:38.839Z] Removing intermediate container 2e70250d324b [2022-11-08T23:17:38.839Z] ---> 37d10f9a60a5 [2022-11-08T23:17:38.839Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:17:38.839Z] ---> Running in b1ba563cc809 [2022-11-08T23:17:39.436Z] Removing intermediate container b1ba563cc809 [2022-11-08T23:17:39.436Z] ---> bd3972ec6571 [2022-11-08T23:17:39.436Z] Step 7/25 : WORKDIR /device-gpio [2022-11-08T23:17:39.436Z] ---> Running in 83ebff305705 [2022-11-08T23:17:40.858Z] Removing intermediate container 83ebff305705 [2022-11-08T23:17:40.858Z] ---> 12859a9d3ec9 [2022-11-08T23:17:40.858Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:17:40.858Z] ---> Running in a24036e63e57 [2022-11-08T23:17:42.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:17:43.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:17:44.513Z] OK: 226 MiB in 55 packages [2022-11-08T23:17:47.118Z] Removing intermediate container a24036e63e57 [2022-11-08T23:17:47.118Z] ---> 80f057c0b30c [2022-11-08T23:17:47.118Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-08T23:17:47.391Z] ---> 00d04acd0511 [2022-11-08T23:17:47.391Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:17:47.665Z] ---> Running in cb20eaf07894 [2022-11-08T23:17:51.936Z] Removing intermediate container cb20eaf07894 [2022-11-08T23:17:51.936Z] ---> 71f24de7b6e6 [2022-11-08T23:17:51.936Z] Step 11/25 : COPY . . [2022-11-08T23:17:52.525Z] ---> 0b4ef2875b92 [2022-11-08T23:17:52.525Z] Step 12/25 : RUN ${MAKE} [2022-11-08T23:17:52.525Z] ---> Running in d6b06e24c933 [2022-11-08T23:17:53.949Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-11-08T23:20:30.736Z] Removing intermediate container d6b06e24c933 [2022-11-08T23:20:30.736Z] ---> 97fbea712810 [2022-11-08T23:20:30.736Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T23:20:30.736Z] 3.16: Pulling from library/alpine [2022-11-08T23:20:30.736Z] 9b18e9b68314: Already exists [2022-11-08T23:20:30.736Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:20:30.736Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:20:30.736Z] ---> a6215f271958 [2022-11-08T23:20:30.736Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-08T23:20:30.736Z] ---> Running in efa0fb17f712 [2022-11-08T23:20:30.736Z] Removing intermediate container efa0fb17f712 [2022-11-08T23:20:30.736Z] ---> 68a50b7004a1 [2022-11-08T23:20:30.736Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-08T23:20:30.736Z] ---> Running in 0b7109ef1b50 [2022-11-08T23:20:31.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:20:31.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:20:32.997Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:20:32.997Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-08T23:20:32.997Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:20:32.997Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-08T23:20:32.997Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-08T23:20:32.997Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:20:32.997Z] OK: 8 MiB in 19 packages [2022-11-08T23:20:33.959Z] Removing intermediate container 0b7109ef1b50 [2022-11-08T23:20:33.959Z] ---> f7eeb07aa73d [2022-11-08T23:20:33.959Z] Step 16/25 : WORKDIR / [2022-11-08T23:20:33.959Z] ---> Running in 7158ab1b4908 [2022-11-08T23:20:34.227Z] Removing intermediate container 7158ab1b4908 [2022-11-08T23:20:34.227Z] ---> 309e526f251c [2022-11-08T23:20:34.227Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-08T23:20:34.813Z] ---> 8ed4a7ef5f37 [2022-11-08T23:20:34.813Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-08T23:20:35.397Z] ---> c8fb6ed84986 [2022-11-08T23:20:35.397Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-08T23:20:38.733Z] ---> 907ee3025491 [2022-11-08T23:20:38.733Z] Step 20/25 : EXPOSE 59910 [2022-11-08T23:20:38.733Z] ---> Running in b0626106955b [2022-11-08T23:20:39.003Z] Removing intermediate container b0626106955b [2022-11-08T23:20:39.003Z] ---> cb9030e9a14f [2022-11-08T23:20:39.003Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-08T23:20:39.271Z] ---> Running in 359d6f07c861 [2022-11-08T23:20:39.538Z] Removing intermediate container 359d6f07c861 [2022-11-08T23:20:39.538Z] ---> 754f4a18fecc [2022-11-08T23:20:39.538Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T23:20:39.538Z] ---> Running in e42606678fe8 [2022-11-08T23:20:39.803Z] Removing intermediate container e42606678fe8 [2022-11-08T23:20:39.803Z] ---> 693e37f7f2a7 [2022-11-08T23:20:39.803Z] Step 23/25 : LABEL arch=arm64 [2022-11-08T23:20:39.803Z] ---> Running in b99c877c39b2 [2022-11-08T23:20:40.069Z] Removing intermediate container b99c877c39b2 [2022-11-08T23:20:40.069Z] ---> b429bad00ff1 [2022-11-08T23:20:40.069Z] Step 24/25 : LABEL git_sha=6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:20:40.338Z] ---> Running in 33b848d9c0a4 [2022-11-08T23:20:40.603Z] Removing intermediate container 33b848d9c0a4 [2022-11-08T23:20:40.603Z] ---> f8b79c4e3091 [2022-11-08T23:20:40.603Z] Step 25/25 : LABEL version=2.3.0-dev.20 [2022-11-08T23:20:40.603Z] ---> Running in def7a65e5b3e [2022-11-08T23:20:40.868Z] Removing intermediate container def7a65e5b3e [2022-11-08T23:20:40.868Z] ---> 43eec432a3db [2022-11-08T23:20:40.868Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:20:40.868Z] Successfully built 43eec432a3db [2022-11-08T23:20:40.868Z] 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 [2022-11-08T23:20:40.973Z] provisioning config files... [2022-11-08T23:20:40.987Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/50@tmp/config14911592763830577203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:20:41.319Z] ---> docker-login.sh [2022-11-08T23:20:41.319Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:20:41.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:20:41.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:20:41.589Z] Configure a credential helper to remove this warning. See [2022-11-08T23:20:41.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:20:41.589Z] [2022-11-08T23:20:41.589Z] Login Succeeded [2022-11-08T23:20:41.589Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:20:41.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:20:41.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:20:41.856Z] Configure a credential helper to remove this warning. See [2022-11-08T23:20:41.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:20:41.856Z] [2022-11-08T23:20:41.856Z] Login Succeeded [2022-11-08T23:20:41.856Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:20:42.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:20:42.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:20:42.391Z] Configure a credential helper to remove this warning. See [2022-11-08T23:20:42.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:20:42.391Z] [2022-11-08T23:20:42.391Z] Login Succeeded [2022-11-08T23:20:42.391Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:20:42.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:20:42.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:20:42.658Z] Configure a credential helper to remove this warning. See [2022-11-08T23:20:42.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:20:42.658Z] [2022-11-08T23:20:42.658Z] Login Succeeded [2022-11-08T23:20:42.658Z] docker.io [2022-11-08T23:20:42.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:20:43.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:20:43.190Z] Configure a credential helper to remove this warning. See [2022-11-08T23:20:43.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:20:43.190Z] [2022-11-08T23:20:43.190Z] Login Succeeded [2022-11-08T23:20:43.190Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:20:43.202Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T23:20:43.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:20:43.241Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-11-08T23:20:43.242Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:20:43.242Z] latest [2022-11-08T23:20:43.242Z] 2.3.0-dev.20 [2022-11-08T23:20:43.242Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20 [2022-11-08T23:20:43.242Z] main [2022-11-08T23:20:43.242Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:43.577Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:43.912Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:20:43.912Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-11-08T23:20:43.912Z] 8a2463d84522: Preparing [2022-11-08T23:20:43.912Z] c95766429a62: Preparing [2022-11-08T23:20:43.912Z] 0652207856f7: Preparing [2022-11-08T23:20:43.912Z] e4d603489e2f: Preparing [2022-11-08T23:20:43.912Z] 5d3e392a13a0: Preparing [2022-11-08T23:20:43.912Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:20:44.177Z] c95766429a62: Pushed [2022-11-08T23:20:44.177Z] 0652207856f7: Pushed [2022-11-08T23:20:44.760Z] e4d603489e2f: Pushed [2022-11-08T23:20:49.003Z] 8a2463d84522: Pushed [2022-11-08T23:20:49.268Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b: digest: sha256:3762cc69d105216366c59602e74a7771afb0b52c8c627b866f9609ecfc3b68a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:49.662Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:50.005Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-11-08T23:20:50.005Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-11-08T23:20:50.005Z] 8a2463d84522: Preparing [2022-11-08T23:20:50.005Z] c95766429a62: Preparing [2022-11-08T23:20:50.005Z] 0652207856f7: Preparing [2022-11-08T23:20:50.005Z] e4d603489e2f: Preparing [2022-11-08T23:20:50.005Z] 5d3e392a13a0: Preparing [2022-11-08T23:20:50.005Z] 0652207856f7: Layer already exists [2022-11-08T23:20:50.005Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:20:50.005Z] e4d603489e2f: Layer already exists [2022-11-08T23:20:50.005Z] c95766429a62: Layer already exists [2022-11-08T23:20:50.005Z] 8a2463d84522: Layer already exists [2022-11-08T23:20:50.276Z] latest: digest: sha256:3762cc69d105216366c59602e74a7771afb0b52c8c627b866f9609ecfc3b68a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:50.621Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:50.973Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.20 [2022-11-08T23:20:50.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-11-08T23:20:50.973Z] 8a2463d84522: Preparing [2022-11-08T23:20:50.973Z] c95766429a62: Preparing [2022-11-08T23:20:50.973Z] 0652207856f7: Preparing [2022-11-08T23:20:50.973Z] e4d603489e2f: Preparing [2022-11-08T23:20:50.973Z] 5d3e392a13a0: Preparing [2022-11-08T23:20:50.973Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:20:50.973Z] 8a2463d84522: Layer already exists [2022-11-08T23:20:50.973Z] c95766429a62: Layer already exists [2022-11-08T23:20:50.973Z] e4d603489e2f: Layer already exists [2022-11-08T23:20:50.973Z] 0652207856f7: Layer already exists [2022-11-08T23:20:51.248Z] 2.3.0-dev.20: digest: sha256:3762cc69d105216366c59602e74a7771afb0b52c8c627b866f9609ecfc3b68a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:51.602Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:51.937Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20 [2022-11-08T23:20:51.937Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-11-08T23:20:51.937Z] 8a2463d84522: Preparing [2022-11-08T23:20:51.937Z] c95766429a62: Preparing [2022-11-08T23:20:51.937Z] 0652207856f7: Preparing [2022-11-08T23:20:51.937Z] e4d603489e2f: Preparing [2022-11-08T23:20:51.937Z] 5d3e392a13a0: Preparing [2022-11-08T23:20:51.937Z] c95766429a62: Layer already exists [2022-11-08T23:20:51.937Z] 0652207856f7: Layer already exists [2022-11-08T23:20:51.937Z] e4d603489e2f: Layer already exists [2022-11-08T23:20:51.937Z] 8a2463d84522: Layer already exists [2022-11-08T23:20:51.937Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:20:51.937Z] 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20: digest: sha256:3762cc69d105216366c59602e74a7771afb0b52c8c627b866f9609ecfc3b68a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:52.276Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:52.607Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-11-08T23:20:52.607Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-11-08T23:20:52.607Z] 8a2463d84522: Preparing [2022-11-08T23:20:52.607Z] c95766429a62: Preparing [2022-11-08T23:20:52.607Z] 0652207856f7: Preparing [2022-11-08T23:20:52.607Z] e4d603489e2f: Preparing [2022-11-08T23:20:52.607Z] 5d3e392a13a0: Preparing [2022-11-08T23:20:52.607Z] c95766429a62: Layer already exists [2022-11-08T23:20:52.607Z] e4d603489e2f: Layer already exists [2022-11-08T23:20:52.607Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:20:52.607Z] 0652207856f7: Layer already exists [2022-11-08T23:20:52.607Z] 8a2463d84522: Layer already exists [2022-11-08T23:20:52.607Z] main: digest: sha256:3762cc69d105216366c59602e74a7771afb0b52c8c627b866f9609ecfc3b68a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T23:20:52.916Z] ===================================================== [Pipeline] echo [2022-11-08T23:20:52.922Z] taggedImages: [2022-11-08T23:20:52.922Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [2022-11-08T23:20:52.922Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-11-08T23:20:52.922Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.20 [2022-11-08T23:20:52.922Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:6d8ecf80da7f2ca0a5daac1df958a19e93358a5b-2.3.0-dev.20 [2022-11-08T23:20:52.922Z] - 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 [2022-11-08T23:20:53.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:20:53.284Z] [2022-11-08T23:20:53.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:20:53.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:20:53.618Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T23:20:53.618Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T23:20:53.618Z] 04944245beec: Pulling fs layer [2022-11-08T23:20:53.618Z] 699f458cf7ca: Pulling fs layer [2022-11-08T23:20:53.618Z] 765212b225bb: Pulling fs layer [2022-11-08T23:20:53.618Z] f23df028b6ca: Pulling fs layer [2022-11-08T23:20:53.618Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T23:20:53.618Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T23:20:53.618Z] 765212b225bb: Waiting [2022-11-08T23:20:53.618Z] f23df028b6ca: Waiting [2022-11-08T23:20:53.618Z] d65c8cfc05b1: Waiting [2022-11-08T23:20:53.618Z] 2437ff75d9bd: Waiting [2022-11-08T23:20:53.888Z] 04944245beec: Verifying Checksum [2022-11-08T23:20:53.888Z] 04944245beec: Download complete [2022-11-08T23:20:53.888Z] 765212b225bb: Verifying Checksum [2022-11-08T23:20:53.888Z] 765212b225bb: Download complete [2022-11-08T23:20:53.888Z] f23df028b6ca: Verifying Checksum [2022-11-08T23:20:53.888Z] f23df028b6ca: Download complete [2022-11-08T23:20:53.888Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T23:20:53.888Z] d65c8cfc05b1: Download complete [2022-11-08T23:20:54.156Z] 699f458cf7ca: Verifying Checksum [2022-11-08T23:20:54.156Z] 699f458cf7ca: Download complete [2022-11-08T23:20:54.424Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T23:20:54.424Z] 8998bd30e6a1: Download complete [2022-11-08T23:20:57.008Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T23:20:57.008Z] 2437ff75d9bd: Download complete [2022-11-08T23:20:58.429Z] 8998bd30e6a1: Pull complete [2022-11-08T23:20:59.016Z] 04944245beec: Pull complete [2022-11-08T23:21:00.427Z] 699f458cf7ca: Pull complete [2022-11-08T23:21:00.427Z] 765212b225bb: Pull complete [2022-11-08T23:21:01.384Z] f23df028b6ca: Pull complete [2022-11-08T23:21:01.385Z] d65c8cfc05b1: Pull complete [2022-11-08T23:21:16.383Z] 2437ff75d9bd: Pull complete [2022-11-08T23:21:16.383Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T23:21:16.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:21:16.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:21:16.585Z] prd-ubuntu20.04-docker-arm64-4c-16g-118683 does not seem to be running inside a container [2022-11-08T23:21:16.666Z] $ 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/50 -v /w/workspace/device-gpio/50:/w/workspace/device-gpio/50:rw,z -v /w/workspace/device-gpio/50@tmp:/w/workspace/device-gpio/50@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 [2022-11-08T23:21:19.500Z] $ docker top 6c592be2f3c4bcbd683e5a9f54fb6f2c0e03ec9d8bc5b8300d8e47f2964fc319 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:21:20.366Z] ---> job-cost.sh [2022-11-08T23:21:20.366Z] lf-activate-venv: SKIPPING [2022-11-08T23:21:20.366Z] INFO: No Stack... [2022-11-08T23:21:20.637Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T23:21:21.596Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:21:21.916Z] + cut -d, -f6 [2022-11-08T23:21:21.916Z] + cat /w/workspace/device-gpio/50/archives/cost.csv [Pipeline] lock [2022-11-08T23:21:21.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-50-stack-cost] [2022-11-08T23:21:21.979Z] Resource [jenkins-edgexfoundry-device-gpio-main-50-stack-cost] did not exist. Created. [2022-11-08T23:21:21.979Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:21:22.315Z] /w/workspace/device-gpio/50@tmp/durable-5103f393/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T23:21:23.228Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T23:21:23.243Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T23:21:23.291Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:21:23.297Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:21:23.317Z] $ docker stop --time=1 6c592be2f3c4bcbd683e5a9f54fb6f2c0e03ec9d8bc5b8300d8e47f2964fc319 [2022-11-08T23:21:24.775Z] $ docker rm -f 6c592be2f3c4bcbd683e5a9f54fb6f2c0e03ec9d8bc5b8300d8e47f2964fc319 [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 [2022-11-08T23:21:25.095Z] provisioning config files... [2022-11-08T23:21:25.101Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2626330724013575417tmp [Pipeline] { [Pipeline] sh [2022-11-08T23:21:25.386Z] + set +x [2022-11-08T23:21:25.386Z] + curl -s https://codecov.io/bash [2022-11-08T23:21:25.386Z] + bash -s -- [2022-11-08T23:21:25.386Z] [2022-11-08T23:21:25.386Z] _____ _ [2022-11-08T23:21:25.386Z] / ____| | | [2022-11-08T23:21:25.386Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T23:21:25.386Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T23:21:25.386Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T23:21:25.386Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T23:21:25.386Z] Bash-1.0.6 [2022-11-08T23:21:25.386Z] [2022-11-08T23:21:25.386Z] [2022-11-08T23:21:25.386Z] ==> git version 2.25.1 found [2022-11-08T23:21:25.387Z] ==> 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 [2022-11-08T23:21:25.387Z] Release-Date: 2020-01-08 [2022-11-08T23:21:25.387Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T23:21:25.387Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T23:21:25.387Z] ==> Jenkins CI detected. [2022-11-08T23:21:25.387Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-11-08T23:21:25.387Z] project root: . [2022-11-08T23:21:25.387Z] --> token set from env [2022-11-08T23:21:25.387Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T23:21:25.387Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T23:21:25.387Z] ==> Python coveragepy not found [2022-11-08T23:21:25.387Z] ==> Searching for coverage reports in: [2022-11-08T23:21:25.387Z] + . [2022-11-08T23:21:25.387Z] -> Found 1 reports [2022-11-08T23:21:25.387Z] ==> Detecting git/mercurial file structure [2022-11-08T23:21:25.387Z] ==> Reading reports [2022-11-08T23:21:25.387Z] + ./coverage.out bytes=10 [2022-11-08T23:21:25.646Z] ==> Appending adjustments [2022-11-08T23:21:25.646Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T23:21:25.646Z] + Found adjustments [2022-11-08T23:21:25.646Z] ==> Gzipping contents [2022-11-08T23:21:25.646Z] 4.0K /tmp/codecov.H4g2yw.gz [2022-11-08T23:21:25.646Z] ==> Uploading reports [2022-11-08T23:21:25.646Z] url: https://codecov.io [2022-11-08T23:21:25.646Z] query: branch=main&commit=6d8ecf80da7f2ca0a5daac1df958a19e93358a5b&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T23:21:25.646Z] -> Pinging Codecov [2022-11-08T23:21:25.646Z] 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=6d8ecf80da7f2ca0a5daac1df958a19e93358a5b&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T23:21:25.905Z] -> Uploading to [2022-11-08T23:21:25.905Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/3EC07B1A8CA8AF9BCAA0BB9F0134797F/6d8ecf80da7f2ca0a5daac1df958a19e93358a5b/5b16308a-4c3f-48d2-9cec-6ce1dd01ff44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T232125Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ce5ddcb8a829c426a334990f05f06a76da9d11d94f33e9f23d0750129fffa18 [2022-11-08T23:21:25.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:21:25.905Z] Dload Upload Total Spent Left Speed [2022-11-08T23:21:26.164Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3038 --:--:-- --:--:-- --:--:-- 3038 [2022-11-08T23:21:26.164Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [Pipeline] } [2022-11-08T23:21:26.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-08T23:21:26.357Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-08T23:21:26.370Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:21:26.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T23:21:26.671Z] [2022-11-08T23:21:26.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:21:26.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T23:21:26.967Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-08T23:21:26.967Z] df9b9388f04a: Pulling fs layer [2022-11-08T23:21:26.967Z] 52dc419b0ee2: Pulling fs layer [2022-11-08T23:21:26.967Z] 25bc292e5bac: Pulling fs layer [2022-11-08T23:21:26.967Z] 114826534d7a: Pulling fs layer [2022-11-08T23:21:26.967Z] 4657fd5d0bcf: Pulling fs layer [2022-11-08T23:21:26.967Z] 6ad1cebc031e: Pulling fs layer [2022-11-08T23:21:26.967Z] 8a3aa393b2d8: Pulling fs layer [2022-11-08T23:21:26.967Z] 4657fd5d0bcf: Waiting [2022-11-08T23:21:26.967Z] 6ad1cebc031e: Waiting [2022-11-08T23:21:26.967Z] 8a3aa393b2d8: Waiting [2022-11-08T23:21:26.967Z] 114826534d7a: Waiting [2022-11-08T23:21:26.967Z] 25bc292e5bac: Verifying Checksum [2022-11-08T23:21:26.967Z] 25bc292e5bac: Download complete [2022-11-08T23:21:26.967Z] 52dc419b0ee2: Download complete [2022-11-08T23:21:26.967Z] 4657fd5d0bcf: Verifying Checksum [2022-11-08T23:21:26.967Z] 4657fd5d0bcf: Download complete [2022-11-08T23:21:26.967Z] df9b9388f04a: Verifying Checksum [2022-11-08T23:21:26.967Z] df9b9388f04a: Download complete [2022-11-08T23:21:27.226Z] df9b9388f04a: Pull complete [2022-11-08T23:21:27.226Z] 6ad1cebc031e: Verifying Checksum [2022-11-08T23:21:27.226Z] 6ad1cebc031e: Download complete [2022-11-08T23:21:27.226Z] 52dc419b0ee2: Pull complete [2022-11-08T23:21:27.226Z] 25bc292e5bac: Pull complete [2022-11-08T23:21:27.793Z] 114826534d7a: Verifying Checksum [2022-11-08T23:21:27.793Z] 114826534d7a: Download complete [2022-11-08T23:21:27.793Z] 8a3aa393b2d8: Verifying Checksum [2022-11-08T23:21:27.793Z] 8a3aa393b2d8: Download complete [2022-11-08T23:21:31.988Z] 114826534d7a: Pull complete [2022-11-08T23:21:31.988Z] 4657fd5d0bcf: Pull complete [2022-11-08T23:21:31.988Z] 6ad1cebc031e: Pull complete [2022-11-08T23:21:34.528Z] 8a3aa393b2d8: Pull complete [2022-11-08T23:21:34.788Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-08T23:21:34.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T23:21:34.788Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:21:34.865Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:21:34.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-11-08T23:21:36.755Z] $ docker top f7f30e5631dd8a516f94dd8c822b63d6b8debe2294474190105e773099df5af6 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-08T23:21:36.809Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2022-11-08T23:21:37.085Z] + set -o pipefail [2022-11-08T23:21:37.085Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2022-11-08T23:21:43.658Z] [2022-11-08T23:21:43.658Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-11-08T23:21:43.658Z] [2022-11-08T23:21:43.658Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/127a46b9-46b8-446a-8e79-e26481e0347a [2022-11-08T23:21:43.658Z] [2022-11-08T23:21:43.658Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-11-08T23:21:43.658Z] [2022-11-08T23:21:43.658Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-08T23:21:43.658Z] [2022-11-08T23:21:45.034Z] [2022-11-08T23:21:45.034Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-08T23:21:45.034Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-08T23:21:45.034Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-08T23:21:45.059Z] $ docker stop --time=1 f7f30e5631dd8a516f94dd8c822b63d6b8debe2294474190105e773099df5af6 [2022-11-08T23:21:46.928Z] $ docker rm -f f7f30e5631dd8a516f94dd8c822b63d6b8debe2294474190105e773099df5af6 [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 [2022-11-08T23:21:47.606Z] + git log --format=format:%s -1 6d8ecf80da7f2ca0a5daac1df958a19e93358a5b [Pipeline] sh [2022-11-08T23:21:47.896Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:21:47.896Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:21:48.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:21:48.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:21:48.259Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:21:48.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:21:48.648Z] $ docker top 276438ded8ce037708389b6cd2a3b5906e96a8616ea8b6c0fe917a883e57f69d -eo pid,comm [2022-11-08T23:21:48.683Z] 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). [2022-11-08T23:21:48.683Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:21:48.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:21:48.726Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:21:48.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:21:48.861Z] $ docker exec 276438ded8ce037708389b6cd2a3b5906e96a8616ea8b6c0fe917a883e57f69d ssh-agent [2022-11-08T23:21:48.969Z] SSH_AUTH_SOCK=/tmp/ssh-pxzYlz5Dsp67/agent.32 [2022-11-08T23:21:48.969Z] SSH_AGENT_PID=38 [2022-11-08T23:21:48.975Z] Running ssh-add (command line suppressed) [2022-11-08T23:21:49.101Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3174599606641938709.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3174599606641938709.key) [2022-11-08T23:21:49.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:21:49.388Z] + git semver tag [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,585 [run_tag] DEBUG tag force:False [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,585 [check_head_tag] DEBUG check head tag [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,585 [execute] INFO git cat-file --batch-check [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,589 [execute] INFO git cat-file --batch [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,598 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,598 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,598 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:21:49.647Z] 2022-11-08 23:21:49,602 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:21:49.647Z] 2.3.0-dev.20 [Pipeline] } [2022-11-08T23:21:49.671Z] $ docker exec --env ******** --env ******** 276438ded8ce037708389b6cd2a3b5906e96a8616ea8b6c0fe917a883e57f69d ssh-agent -k [2022-11-08T23:21:49.790Z] unset SSH_AUTH_SOCK; [2022-11-08T23:21:49.790Z] unset SSH_AGENT_PID; [2022-11-08T23:21:49.791Z] echo Agent pid 38 killed; [2022-11-08T23:21:49.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:21:50.095Z] + git semver [Pipeline] } [2022-11-08T23:21:50.382Z] $ docker stop --time=1 276438ded8ce037708389b6cd2a3b5906e96a8616ea8b6c0fe917a883e57f69d [2022-11-08T23:21:51.685Z] $ docker rm -f 276438ded8ce037708389b6cd2a3b5906e96a8616ea8b6c0fe917a883e57f69d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:21:52.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T23:21:52.069Z] [2022-11-08T23:21:52.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:21:52.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T23:21:52.362Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-08T23:21:52.362Z] ab5ef0e58194: Pulling fs layer [2022-11-08T23:21:52.362Z] 9712f1f96733: Pulling fs layer [2022-11-08T23:21:52.362Z] 63f879dbbcfc: Pulling fs layer [2022-11-08T23:21:52.362Z] 0d9ebad4ef96: Pulling fs layer [2022-11-08T23:21:52.363Z] e9a5061849ea: Pulling fs layer [2022-11-08T23:21:52.363Z] d747dcd14b5f: Pulling fs layer [2022-11-08T23:21:52.363Z] 2de7ff778b66: Pulling fs layer [2022-11-08T23:21:52.363Z] e9a5061849ea: Waiting [2022-11-08T23:21:52.363Z] d747dcd14b5f: Waiting [2022-11-08T23:21:52.363Z] 2de7ff778b66: Waiting [2022-11-08T23:21:52.363Z] 9712f1f96733: Verifying Checksum [2022-11-08T23:21:52.363Z] 9712f1f96733: Download complete [2022-11-08T23:21:52.634Z] 63f879dbbcfc: Verifying Checksum [2022-11-08T23:21:52.634Z] 63f879dbbcfc: Download complete [2022-11-08T23:21:52.898Z] e9a5061849ea: Verifying Checksum [2022-11-08T23:21:52.898Z] e9a5061849ea: Download complete [2022-11-08T23:21:52.898Z] d747dcd14b5f: Download complete [2022-11-08T23:21:52.898Z] ab5ef0e58194: Verifying Checksum [2022-11-08T23:21:52.898Z] ab5ef0e58194: Download complete [2022-11-08T23:21:53.157Z] 2de7ff778b66: Verifying Checksum [2022-11-08T23:21:53.157Z] 2de7ff778b66: Download complete [2022-11-08T23:21:53.157Z] 0d9ebad4ef96: Verifying Checksum [2022-11-08T23:21:53.157Z] 0d9ebad4ef96: Download complete [2022-11-08T23:21:55.682Z] ab5ef0e58194: Pull complete [2022-11-08T23:21:55.682Z] 9712f1f96733: Pull complete [2022-11-08T23:21:56.613Z] 63f879dbbcfc: Pull complete [2022-11-08T23:22:00.792Z] 0d9ebad4ef96: Pull complete [2022-11-08T23:22:00.792Z] e9a5061849ea: Pull complete [2022-11-08T23:22:00.792Z] d747dcd14b5f: Pull complete [2022-11-08T23:22:01.724Z] 2de7ff778b66: Pull complete [2022-11-08T23:22:01.724Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-08T23:22:01.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T23:22:01.724Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:22:01.798Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:22:01.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-11-08T23:22:05.828Z] $ docker top c11ac8618bf74063228f59e00bc05e4a3697cf11f3ab67f6e841d489f6254f2b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:22:05.877Z] provisioning config files... [2022-11-08T23:22:05.883Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16693747785661263373tmp [2022-11-08T23:22:05.894Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2385707528558416872tmp [2022-11-08T23:22:05.903Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17020702446091069751tmp [Pipeline] { [Pipeline] echo [2022-11-08T23:22:05.920Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:06.200Z] ---> sigul-configuration.sh [2022-11-08T23:22:06.200Z] gpg: directory `/root/.gnupg' created [2022-11-08T23:22:06.200Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-08T23:22:06.200Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-08T23:22:06.200Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-08T23:22:06.200Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-08T23:22:06.200Z] gpg: CAST5 encrypted data [2022-11-08T23:22:06.200Z] gpg: encrypted with 1 passphrase [2022-11-08T23:22:06.200Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-08T23:22:06.484Z] + mkdir /home/jenkins [2022-11-08T23:22:06.484Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-08T23:22:06.767Z] + 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 [2022-11-08T23:22:06.774Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:07.055Z] ---> sigul-install.sh [2022-11-08T23:22:07.055Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-08T23:22:07.340Z] + git tag --list [2022-11-08T23:22:07.340Z] v1.0.0 [2022-11-08T23:22:07.341Z] v2.1.0 [2022-11-08T23:22:07.341Z] v2.1.1 [2022-11-08T23:22:07.341Z] v2.1.1-dev.1 [2022-11-08T23:22:07.341Z] v2.2.0 [2022-11-08T23:22:07.341Z] v2.2.1-dev.1 [2022-11-08T23:22:07.341Z] v2.2.1-dev.2 [2022-11-08T23:22:07.341Z] v2.2.1-dev.3 [2022-11-08T23:22:07.341Z] v2.2.1-dev.4 [2022-11-08T23:22:07.341Z] v2.3.0-dev.10 [2022-11-08T23:22:07.341Z] v2.3.0-dev.11 [2022-11-08T23:22:07.341Z] v2.3.0-dev.12 [2022-11-08T23:22:07.341Z] v2.3.0-dev.13 [2022-11-08T23:22:07.341Z] v2.3.0-dev.14 [2022-11-08T23:22:07.341Z] v2.3.0-dev.15 [2022-11-08T23:22:07.341Z] v2.3.0-dev.16 [2022-11-08T23:22:07.341Z] v2.3.0-dev.17 [2022-11-08T23:22:07.341Z] v2.3.0-dev.18 [2022-11-08T23:22:07.341Z] v2.3.0-dev.19 [2022-11-08T23:22:07.341Z] v2.3.0-dev.20 [2022-11-08T23:22:07.341Z] v2.3.0-dev.4 [2022-11-08T23:22:07.341Z] v2.3.0-dev.5 [2022-11-08T23:22:07.341Z] v2.3.0-dev.6 [2022-11-08T23:22:07.341Z] v2.3.0-dev.7 [2022-11-08T23:22:07.341Z] v2.3.0-dev.8 [2022-11-08T23:22:07.341Z] v2.3.0-dev.9 [Pipeline] sh [2022-11-08T23:22:07.630Z] + lftools sign git-tag v2.3.0-dev.20 [2022-11-08T23:22:08.198Z] Signing Git tag with Sigul... [2022-11-08T23:22:08.198Z] Signing v2.3.0-dev.20 [Pipeline] echo [2022-11-08T23:22:08.463Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:08.741Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-08T23:22:08.750Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-08T23:22:08.781Z] $ docker stop --time=1 c11ac8618bf74063228f59e00bc05e4a3697cf11f3ab67f6e841d489f6254f2b [2022-11-08T23:22:10.096Z] $ docker rm -f c11ac8618bf74063228f59e00bc05e4a3697cf11f3ab67f6e841d489f6254f2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-08T23:22:10.500Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:22:10.500Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:22:10.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:22:10.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:22:10.859Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:22:10.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:22:11.267Z] $ docker top 64b63e9867a7e1085073e153ba205d29af61c781bf65162fe01da754bfd367ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:22:11.344Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:22:11.344Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:22:11.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:22:11.487Z] $ docker exec 64b63e9867a7e1085073e153ba205d29af61c781bf65162fe01da754bfd367ad ssh-agent [2022-11-08T23:22:11.585Z] SSH_AUTH_SOCK=/tmp/ssh-m3EpgzRhK8TR/agent.31 [2022-11-08T23:22:11.585Z] SSH_AGENT_PID=36 [2022-11-08T23:22:11.590Z] Running ssh-add (command line suppressed) [2022-11-08T23:22:11.703Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6237081556613169420.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6237081556613169420.key) [2022-11-08T23:22:11.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:22:11.990Z] + git semver bump pre [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,185 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,185 [bump_version] DEBUG bumped version:2.3.0-dev.21 [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,185 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,185 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,187 [execute] INFO git cat-file --batch-check [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,193 [execute] INFO git cat-file --batch [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:22:12.249Z] 2022-11-08 23:22:12,198 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:22:12.249Z] 2.3.0-dev.21 [Pipeline] } [2022-11-08T23:22:12.274Z] $ docker exec --env ******** --env ******** 64b63e9867a7e1085073e153ba205d29af61c781bf65162fe01da754bfd367ad ssh-agent -k [2022-11-08T23:22:12.374Z] unset SSH_AUTH_SOCK; [2022-11-08T23:22:12.374Z] unset SSH_AGENT_PID; [2022-11-08T23:22:12.374Z] echo Agent pid 36 killed; [2022-11-08T23:22:12.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:22:12.677Z] + git semver [Pipeline] } [2022-11-08T23:22:12.963Z] $ docker stop --time=1 64b63e9867a7e1085073e153ba205d29af61c781bf65162fe01da754bfd367ad [2022-11-08T23:22:14.253Z] $ docker rm -f 64b63e9867a7e1085073e153ba205d29af61c781bf65162fe01da754bfd367ad [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:22:14.576Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:22:14.576Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:22:14.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:22:14.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:22:14.945Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:22:14.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:22:15.342Z] $ docker top 54e7ac0d661cde4c51699b91f18c5541556dfd03f493e4ddff5281ffafb0b71f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:22:15.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:22:15.407Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:22:15.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:22:15.534Z] $ docker exec 54e7ac0d661cde4c51699b91f18c5541556dfd03f493e4ddff5281ffafb0b71f ssh-agent [2022-11-08T23:22:15.652Z] SSH_AUTH_SOCK=/tmp/ssh-65mPRnuWtpIs/agent.32 [2022-11-08T23:22:15.652Z] SSH_AGENT_PID=38 [2022-11-08T23:22:15.657Z] Running ssh-add (command line suppressed) [2022-11-08T23:22:15.775Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_11832517287870602626.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_11832517287870602626.key) [2022-11-08T23:22:15.773Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:22:16.058Z] + git semver push [2022-11-08T23:22:16.316Z] 2022-11-08 23:22:16,227 [run_push] DEBUG push [2022-11-08T23:22:16.316Z] 2022-11-08 23:22:16,228 [execute] INFO git cat-file --batch-check [2022-11-08T23:22:16.316Z] 2022-11-08 23:22:16,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:22:16.316Z] 2022-11-08 23:22:16,230 [execute] INFO git rev-list 8c60466136386a20c5ee0a1894c407fd8391b410 -- [2022-11-08T23:22:16.316Z] 2022-11-08 23:22:16,230 [execute] DEBUG Popen(['git', 'rev-list', '8c60466136386a20c5ee0a1894c407fd8391b410', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:22:16.316Z] 2022-11-08 23:22:16,234 [execute] INFO git fetch -v origin [2022-11-08T23:22:16.316Z] 2022-11-08 23:22:16,234 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-11-08T23:22:16.884Z] 2022-11-08 23:22:16,772 [run_push] DEBUG no remote changes detected [2022-11-08T23:22:16.884Z] 2022-11-08 23:22:16,772 [execute] INFO git push origin semver [2022-11-08T23:22:16.884Z] 2022-11-08 23:22:16,773 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:22:17.827Z] 2022-11-08 23:22:17,597 [run_push] DEBUG push all version tags [2022-11-08T23:22:17.827Z] 2022-11-08 23:22:17,597 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-11-08T23:22:17.827Z] 2022-11-08 23:22:17,598 [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) [2022-11-08T23:22:18.394Z] 2022-11-08 23:22:18,359 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-11-08T23:22:18.394Z] 2.3.0-dev.21 [Pipeline] } [2022-11-08T23:22:18.418Z] $ docker exec --env ******** --env ******** 54e7ac0d661cde4c51699b91f18c5541556dfd03f493e4ddff5281ffafb0b71f ssh-agent -k [2022-11-08T23:22:18.513Z] unset SSH_AUTH_SOCK; [2022-11-08T23:22:18.514Z] unset SSH_AGENT_PID; [2022-11-08T23:22:18.514Z] echo Agent pid 38 killed; [2022-11-08T23:22:18.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:22:18.812Z] + git semver [Pipeline] } [2022-11-08T23:22:19.115Z] $ docker stop --time=1 54e7ac0d661cde4c51699b91f18c5541556dfd03f493e4ddff5281ffafb0b71f [2022-11-08T23:22:20.390Z] $ docker rm -f 54e7ac0d661cde4c51699b91f18c5541556dfd03f493e4ddff5281ffafb0b71f [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 [2022-11-08T23:22:20.899Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-11-08T23:22:20.899Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-11-08T23:22:20.899Z] total 16 [2022-11-08T23:22:20.899Z] drwxr-xr-x 3 root root 4096 Nov 8 23:12 . [2022-11-08T23:22:20.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:22 .. [2022-11-08T23:22:20.899Z] drwxr-xr-x 2 root root 4096 Nov 8 23:12 cost [2022-11-08T23:22:20.899Z] -rw-r--r-- 1 root root 82 Nov 8 23:12 cost.csv [2022-11-08T23:22:20.899Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-11-08T23:22:20.899Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-11-08T23:22:20.899Z] total 16 [2022-11-08T23:22:20.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:12 . [2022-11-08T23:22:20.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:22 .. [2022-11-08T23:22:20.899Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 23:12 cost [2022-11-08T23:22:20.899Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 8 23:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:21.187Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:22.044Z] ---> package-listing.sh [2022-11-08T23:22:22.044Z] ++ facter osfamily [2022-11-08T23:22:22.044Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T23:22:22.303Z] + OS_FAMILY=debian [2022-11-08T23:22:22.303Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-11-08T23:22:22.303Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T23:22:22.303Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T23:22:22.303Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T23:22:22.303Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T23:22:22.303Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-11-08T23:22:22.303Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T23:22:22.303Z] + case "${OS_FAMILY}" in [2022-11-08T23:22:22.303Z] + dpkg -l [2022-11-08T23:22:22.303Z] + grep '^ii' [2022-11-08T23:22:22.303Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T23:22:22.303Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T23:22:22.303Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T23:22:22.303Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-11-08T23:22:22.303Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-11-08T23:22:22.303Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-11-08T23:22:22.313Z] 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 [2022-11-08T23:22:22.589Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:22:23.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:22:23.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:22:23.209Z] prd-ubuntu20.04-docker-8c-8g-118678 does not seem to be running inside a container [2022-11-08T23:22:23.252Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T23:22:23.552Z] $ docker top fedf52a3aadf1236986420da0e937e7d2ebd60988d608afc15637172f8b700da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:22:23.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T23:22:24.231Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T23:22:24.514Z] + ls /var/log/sa-host [2022-11-08T23:22:24.514Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:22:24.579Z] provisioning config files... [2022-11-08T23:22:24.587Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17751977064378580510tmp [Pipeline] { [Pipeline] echo [2022-11-08T23:22:24.599Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:24.881Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T23:22:24.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:25.203Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T23:22:25.212Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:25.495Z] ---> sudo-logs.sh [2022-11-08T23:22:25.495Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T23:22:25.531Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:25.815Z] ---> job-cost.sh [2022-11-08T23:22:25.815Z] lf-activate-venv: SKIPPING [2022-11-08T23:22:25.815Z] DEBUG: total: 0.2199999988079071 [2022-11-08T23:22:25.815Z] INFO: Retrieving Stack Cost... [2022-11-08T23:22:28.351Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:22:28.351Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T23:22:28.360Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:22:28.638Z] ---> logs-deploy.sh [2022-11-08T23:22:28.638Z] lf-activate-venv: SKIPPING [2022-11-08T23:22:28.638Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/50 [2022-11-08T23:22:28.638Z] INFO: archiving workspace using pattern(s): [2022-11-08T23:22:29.570Z] Archives upload complete. [2022-11-08T23:22:29.570Z] INFO: archiving logs to Nexus