Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-uart Obtained Jenkinsfile from 58df4ce731a2656a4d55a8bfd2b22e7f551af182+76742ff9602b72f1c5afc2fbf46c0c306594ce56 (36a533714457124e0640ec29060107d9fca5940b) 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-ssh13963760556175408995.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh12276339047191143849.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-8/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-uart/branches/PR-8/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16080709746066907345.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh15899891699687689045.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-8/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-uart/branches/PR-8/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4128234720173096091.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [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-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart 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 Resuming build at Tue Jun 27 02:41:03 UTC 2023 after Jenkins restart Ready to run at Tue Jun 27 02:41:10 UTC 2023 Running on prd-ubuntu20.04-docker-8c-8g-5 in /w/workspace/edgexfoundry_device-uart_PR-8 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-8 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 76742ff9602b72f1c5afc2fbf46c0c306594ce56 into PR head commit 58df4ce731a2656a4d55a8bfd2b22e7f551af182 Merge succeeded, producing 58df4ce731a2656a4d55a8bfd2b22e7f551af182 Checking out Revision 58df4ce731a2656a4d55a8bfd2b22e7f551af182 (PR-8) > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58df4ce731a2656a4d55a8bfd2b22e7f551af182 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76742ff9602b72f1c5afc2fbf46c0c306594ce56 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58df4ce731a2656a4d55a8bfd2b22e7f551af182 # timeout=10 Commit message: "build: Add jenkinsfile" > git rev-list --no-walk 58df4ce731a2656a4d55a8bfd2b22e7f551af182 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo ========================================================= EdgeX Global Pipelines Version Info ========================================================= [Pipeline] libraryResource [Pipeline] sh ------------------- stable info: ------------------- Commited By: Ernesto Ojeda ernesto.ojeda@intel.com Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 Message: update stable to v1.0.250 ------------------- experimental info: ------------------- Commited By: **** collab-it+edgex@linuxfoundation.org Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-8 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-8 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-8 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58df4ce [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-8@tmp/config17009263049479498636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> docker-login.sh nexus3.edgexfoundry.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10002 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10003 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10004 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded docker.io WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded ---> docker-login.sh ends [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh + git rev-list -1 --merges 58df4ce731a2656a4d55a8bfd2b22e7f551af182~1..58df4ce731a2656a4d55a8bfd2b22e7f551af182 [Pipeline] echo -----------> git rev-list -1 --merges 58df4ce731a2656a4d55a8bfd2b22e7f551af182~1..58df4ce731a2656a4d55a8bfd2b22e7f551af182 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [false] [Pipeline] sh + git log --format=format:%s -1 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [Pipeline] echo ========================================================= [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh + git log --format=format:%s -1 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [Pipeline] echo [semverPrep] GIT_COMMIT: 58df4ce731a2656a4d55a8bfd2b22e7f551af182, Commit Message: build: Add jenkinsfile [Pipeline] echo [semverPrep] This is not a build commit. [Pipeline] sh + grep github.com ecdsa /etc/ssh/ssh_known_hosts + grep -v github /etc/ssh/ssh_known_hosts + [ -e /tmp/ssh_known_hosts ] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= + sudo tee -a /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 0.1.4: Pulling from edgex-devops/py-git-semver b85a868b505f: Pulling fs layer e2be974225ed: Pulling fs layer 339a4e72a1f5: Pulling fs layer 988bab9f4d93: Pulling fs layer 1469e6f7b9e6: Pulling fs layer eaf3925da568: Pulling fs layer bab4dde63d76: Pulling fs layer bde34c3a00c8: Pulling fs layer b352a97aabf1: Pulling fs layer 4872d77fe225: Pulling fs layer 988bab9f4d93: Waiting 1469e6f7b9e6: Waiting bab4dde63d76: Waiting bde34c3a00c8: Waiting b352a97aabf1: Waiting eaf3925da568: Waiting 5851b861e8e6: Pulling fs layer 5851b861e8e6: Waiting e2be974225ed: Download complete 988bab9f4d93: Verifying Checksum 988bab9f4d93: Download complete 1469e6f7b9e6: Verifying Checksum 1469e6f7b9e6: Download complete eaf3925da568: Verifying Checksum eaf3925da568: Download complete 339a4e72a1f5: Verifying Checksum 339a4e72a1f5: Download complete bde34c3a00c8: Download complete b352a97aabf1: Download complete 4872d77fe225: Verifying Checksum 4872d77fe225: Download complete 5851b861e8e6: Verifying Checksum 5851b861e8e6: Download complete b85a868b505f: Download complete bab4dde63d76: Verifying Checksum bab4dde63d76: Download complete b85a868b505f: Pull complete e2be974225ed: Pull complete 339a4e72a1f5: Pull complete 988bab9f4d93: Pull complete 1469e6f7b9e6: Pull complete eaf3925da568: Pull complete bab4dde63d76: Pull complete bde34c3a00c8: Pull complete b352a97aabf1: Pull complete 4872d77fe225: Pull complete 5851b861e8e6: Pull complete Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-5 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-8 -v /w/workspace/edgexfoundry_device-uart_PR-8:/w/workspace/edgexfoundry_device-uart_PR-8:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-8@tmp:/w/workspace/edgexfoundry_device-uart_PR-8@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat $ docker top bdf4fec6705fc6d5c6516ca686f3fac67d0d01594d1ade058f1569d10d495f6d -eo pid,comm 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). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec bdf4fec6705fc6d5c6516ca686f3fac67d0d01594d1ade058f1569d10d495f6d ssh-agent SSH_AUTH_SOCK=/tmp/ssh-Zgr0icdnOA5L/agent.34 SSH_AGENT_PID=40 Running ssh-add (command line suppressed) Identity added: /w/workspace/edgexfoundry_device-uart_PR-8@tmp/private_key_9317872670019225606.key (/w/workspace/edgexfoundry_device-uart_PR-8@tmp/private_key_9317872670019225606.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git tag --points-at HEAD [Pipeline] } $ docker exec --env ******** --env ******** bdf4fec6705fc6d5c6516ca686f3fac67d0d01594d1ade058f1569d10d495f6d ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 40 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec bdf4fec6705fc6d5c6516ca686f3fac67d0d01594d1ade058f1569d10d495f6d ssh-agent SSH_AUTH_SOCK=/tmp/ssh-gSHKjMHdxcUd/agent.73 SSH_AGENT_PID=79 Running ssh-add (command line suppressed) Identity added: /w/workspace/edgexfoundry_device-uart_PR-8@tmp/private_key_16164443960694452282.key (/w/workspace/edgexfoundry_device-uart_PR-8@tmp/private_key_16164443960694452282.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git semver init 2023-06-27 02:44:28,961 [run_init] DEBUG init version:0.0.0 force:False 2023-06-27 02:44:28,962 [create_semver_branch] DEBUG create semver branch 2023-06-27 02:44:28,962 [remove_entries] DEBUG removing ['.gitignore', 'Attribution.txt', 'Dockerfile', 'GOVERNANCE.md', 'Jenkinsfile', 'LICENSE', 'Makefile', 'OWNERS.md', 'README.md', 'bin/test-attribution-txt.sh', 'cmd/main.go', 'cmd/res/configuration.toml', 'cmd/res/devices/device.uart.toml', 'cmd/res/profiles/device.uart.generic.yaml', 'go.mod', 'go.sum', 'internal/driver/driver.go', 'internal/driver/drv_uart_generic.go', 'version.go'] 2023-06-27 02:44:28,963 [execute] INFO git rm --cached -- .gitignore Attribution.txt Dockerfile GOVERNANCE.md Jenkinsfile LICENSE Makefile OWNERS.md README.md bin/test-attribution-txt.sh cmd/main.go cmd/res/configuration.toml cmd/res/devices/device.uart.toml cmd/res/profiles/device.uart.generic.yaml go.mod go.sum internal/driver/driver.go internal/driver/drv_uart_generic.go version.go 2023-06-27 02:44:28,963 [execute] DEBUG Popen(['git', 'rm', '--cached', '--', '.gitignore', 'Attribution.txt', 'Dockerfile', 'GOVERNANCE.md', 'Jenkinsfile', 'LICENSE', 'Makefile', 'OWNERS.md', 'README.md', 'bin/test-attribution-txt.sh', 'cmd/main.go', 'cmd/res/configuration.toml', 'cmd/res/devices/device.uart.toml', 'cmd/res/profiles/device.uart.generic.yaml', 'go.mod', 'go.sum', 'internal/driver/driver.go', 'internal/driver/drv_uart_generic.go', 'version.go'], cwd=/w/workspace/edgexfoundry_device-uart_PR-8, universal_newlines=False, shell=None, istream=None) 2023-06-27 02:44:28,968 [write_file] DEBUG write to file:PR-8 2023-06-27 02:44:28,971 [execute] INFO git cat-file --batch-check 2023-06-27 02:44:28,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-8, universal_newlines=False, shell=None, istream=) 2023-06-27 02:44:28,975 [execute] INFO git cat-file --batch 2023-06-27 02:44:28,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-8, universal_newlines=False, shell=None, istream=) 2023-06-27 02:44:28,981 [execute] INFO git push --porcelain origin semver 2023-06-27 02:44:28,982 [execute] DEBUG Popen(['git', 'push', '--porcelain', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-8, universal_newlines=True, shell=None, istream=None) 2023-06-27 02:44:29,682 [execute] INFO git checkout PR-8 -f 2023-06-27 02:44:29,683 [execute] DEBUG Popen(['git', 'checkout', 'PR-8', '-f'], cwd=/w/workspace/edgexfoundry_device-uart_PR-8, universal_newlines=False, shell=None, istream=None) 2023-06-27 02:44:29,687 [main] ERROR Cmd('git') failed due to: exit code(128) cmdline: git checkout PR-8 -f stderr: 'fatal: 'PR-8' could be both a local file and a tracking branch. Please use -- (and optionally --no-guess) to disambiguate' ERROR: Cmd('git') failed due to: exit code(128) cmdline: git checkout PR-8 -f stderr: 'fatal: 'PR-8' could be both a local file and a tracking branch. Please use -- (and optionally --no-guess) to disambiguate' [Pipeline] } $ docker exec --env ******** --env ******** bdf4fec6705fc6d5c6516ca686f3fac67d0d01594d1ade058f1569d10d495f6d ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 79 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 bdf4fec6705fc6d5c6516ca686f3fac67d0d01594d1ade058f1569d10d495f6d $ docker rm -f --volumes bdf4fec6705fc6d5c6516ca686f3fac67d0d01594d1ade058f1569d10d495f6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to earlier failure(s) Stage "arm64" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } Stage "arm64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch arm64 [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh + [ -d /w/workspace/edgexfoundry_device-uart_PR-8/archives ] [Pipeline] libraryResource [Pipeline] sh ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/edgexfoundry_device-uart_PR-8 + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/edgexfoundry_device-uart_PR-8 ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/edgexfoundry_device-uart_PR-8 ']' + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-8/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-8/archives/ [Pipeline] echo 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-uart_PR-8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest latest: Pulling from edgex-lftools-log-publisher 5eb5b503b376: Pulling fs layer 5c69ac0246d0: Pulling fs layer ec43610c2a17: Pulling fs layer 3a2ae6a8a46f: Pulling fs layer 33b1e0a273af: Pulling fs layer 5d3b04190fa2: Pulling fs layer 2f39f015ded8: Pulling fs layer 3a2ae6a8a46f: Waiting 33b1e0a273af: Waiting 5d3b04190fa2: Waiting 2f39f015ded8: Waiting 5c69ac0246d0: Download complete 3a2ae6a8a46f: Download complete 33b1e0a273af: Verifying Checksum 33b1e0a273af: Download complete 5d3b04190fa2: Download complete ec43610c2a17: Verifying Checksum ec43610c2a17: Download complete 5eb5b503b376: Verifying Checksum 5eb5b503b376: Download complete 2f39f015ded8: Download complete 5eb5b503b376: Pull complete 5c69ac0246d0: Pull complete ec43610c2a17: Pull complete 3a2ae6a8a46f: Pull complete 33b1e0a273af: Pull complete 5d3b04190fa2: Pull complete 2f39f015ded8: Pull complete Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer prd-ubuntu20.04-docker-8c-8g-5 does not seem to be running inside a container $ 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-uart_PR-8/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-uart_PR-8 -v /w/workspace/edgexfoundry_device-uart_PR-8:/w/workspace/edgexfoundry_device-uart_PR-8:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-8@tmp:/w/workspace/edgexfoundry_device-uart_PR-8@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat $ docker top b3191257ffad5d3ab02e2c45d12639f9c63db5c6edcfa9da241b4a5cecac172a -eo pid,comm [Pipeline] { [Pipeline] sh + touch /tmp/pre-build-complete [Pipeline] sh + mkdir -p /var/log/sysstat [Pipeline] sh + ls /var/log/sa-host ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-8@tmp/config7505053655921845441tmp [Pipeline] { [Pipeline] echo Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh ---> create-netrc.sh [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh ---> python-tools-install.sh [Pipeline] echo Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh ---> sudo-logs.sh Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [Pipeline] echo Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh ---> logs-deploy.sh lf-activate-venv: SKIPPING INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-8/7 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus