Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc543098717eef2348e6642801735f6b2ef0c1d8+cd08d416618cedf6394f2b45eea8eb763bae3217 (a39effdf2a41f2ac5053328349c32343ca341f55) 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-ssh1735827809512148134.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh8829576321454567190.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/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-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18060689751410685695.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh13346535009689860287.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-usb-camera/branches/PR-99/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-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13470300418026448011.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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera 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-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-117080 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-99 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cd08d416618cedf6394f2b45eea8eb763bae3217 into PR head commit bc543098717eef2348e6642801735f6b2ef0c1d8 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 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-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc543098717eef2348e6642801735f6b2ef0c1d8 # timeout=10 Merge succeeded, producing dd25651a9765f668b1ab8a5f6026c0be18673ab2 Checking out Revision dd25651a9765f668b1ab8a5f6026c0be18673ab2 (PR-99) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 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 merge cd08d416618cedf6394f2b45eea8eb763bae3217 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd25651a9765f668b1ab8a5f6026c0be18673ab2 # timeout=10 Commit message: "Merge commit 'cd08d416618cedf6394f2b45eea8eb763bae3217' into HEAD" > git rev-list --no-walk bc543098717eef2348e6642801735f6b2ef0c1d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:57 ========================================================= 06:15:57 EdgeX Global Pipelines Version Info 06:15:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:58 ------------------- 06:15:58 stable info: 06:15:58 ------------------- 06:15:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:58 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 06:15:58 Message: update stable to v1.0.243 06:15:59 ------------------- 06:15:59 experimental info: 06:15:59 ------------------- 06:15:59 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:59 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 06:15:59 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd25651a9765f668b1ab8a5f6026c0be18673ab2 [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd25651 [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:59 provisioning config files... 06:15:59 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config7852164563678490459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:00 ---> docker-login.sh 06:16:00 nexus3.edgexfoundry.org:10001 06:16:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:00 Configure a credential helper to remove this warning. See 06:16:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:00 06:16:00 Login Succeeded 06:16:00 nexus3.edgexfoundry.org:10002 06:16:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:00 Configure a credential helper to remove this warning. See 06:16:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:00 06:16:00 Login Succeeded 06:16:00 nexus3.edgexfoundry.org:10003 06:16:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:00 Configure a credential helper to remove this warning. See 06:16:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:00 06:16:00 Login Succeeded 06:16:00 nexus3.edgexfoundry.org:10004 06:16:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:00 Configure a credential helper to remove this warning. See 06:16:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:00 06:16:00 Login Succeeded 06:16:00 docker.io 06:16:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:01 Configure a credential helper to remove this warning. See 06:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:01 06:16:01 Login Succeeded 06:16:01 ---> docker-login.sh ends [Pipeline] } 06:16:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:16:01 + git rev-list -1 --merges dd25651a9765f668b1ab8a5f6026c0be18673ab2~1..dd25651a9765f668b1ab8a5f6026c0be18673ab2 [Pipeline] echo 06:16:01 -----------> git rev-list -1 --merges dd25651a9765f668b1ab8a5f6026c0be18673ab2~1..dd25651a9765f668b1ab8a5f6026c0be18673ab2 dd25651a9765f668b1ab8a5f6026c0be18673ab2 06:16:01 dd25651a9765f668b1ab8a5f6026c0be18673ab2 [false] [Pipeline] sh 06:16:01 + git log --format=format:%s -1 dd25651a9765f668b1ab8a5f6026c0be18673ab2 [Pipeline] echo 06:16:01 ========================================================= 06:16:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:16:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:02 + git log --format=format:%s -1 dd25651a9765f668b1ab8a5f6026c0be18673ab2 [Pipeline] echo 06:16:02 [semverPrep] GIT_COMMIT: dd25651a9765f668b1ab8a5f6026c0be18673ab2, Commit Message: Merge commit 'cd08d416618cedf6394f2b45eea8eb763bae3217' into HEAD [Pipeline] echo 06:16:02 [semverPrep] This is not a build commit. [Pipeline] sh 06:16:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:02 + grep -v github /etc/ssh/ssh_known_hosts 06:16:02 + [ -e /tmp/ssh_known_hosts ] 06:16:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:16:02 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:16:02 sudo tee -a /etc/ssh/ssh_known_hosts 06:16:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:02 06:16:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:03 0.1.4: Pulling from edgex-devops/py-git-semver 06:16:03 b85a868b505f: Pulling fs layer 06:16:03 e2be974225ed: Pulling fs layer 06:16:03 339a4e72a1f5: Pulling fs layer 06:16:03 988bab9f4d93: Pulling fs layer 06:16:03 1469e6f7b9e6: Pulling fs layer 06:16:03 eaf3925da568: Pulling fs layer 06:16:03 bab4dde63d76: Pulling fs layer 06:16:03 bde34c3a00c8: Pulling fs layer 06:16:03 b352a97aabf1: Pulling fs layer 06:16:03 4872d77fe225: Pulling fs layer 06:16:03 5851b861e8e6: Pulling fs layer 06:16:03 bab4dde63d76: Waiting 06:16:03 bde34c3a00c8: Waiting 06:16:03 b352a97aabf1: Waiting 06:16:03 5851b861e8e6: Waiting 06:16:03 4872d77fe225: Waiting 06:16:03 1469e6f7b9e6: Waiting 06:16:03 eaf3925da568: Waiting 06:16:03 988bab9f4d93: Waiting 06:16:03 e2be974225ed: Verifying Checksum 06:16:03 e2be974225ed: Download complete 06:16:03 988bab9f4d93: Verifying Checksum 06:16:03 988bab9f4d93: Download complete 06:16:03 1469e6f7b9e6: Verifying Checksum 06:16:03 1469e6f7b9e6: Download complete 06:16:03 eaf3925da568: Verifying Checksum 06:16:03 eaf3925da568: Download complete 06:16:03 339a4e72a1f5: Verifying Checksum 06:16:03 339a4e72a1f5: Download complete 06:16:03 bde34c3a00c8: Verifying Checksum 06:16:03 bde34c3a00c8: Download complete 06:16:03 b352a97aabf1: Download complete 06:16:03 4872d77fe225: Download complete 06:16:03 5851b861e8e6: Verifying Checksum 06:16:03 5851b861e8e6: Download complete 06:16:03 b85a868b505f: Download complete 06:16:03 bab4dde63d76: Verifying Checksum 06:16:03 bab4dde63d76: Download complete 06:16:04 b85a868b505f: Pull complete 06:16:04 e2be974225ed: Pull complete 06:16:05 339a4e72a1f5: Pull complete 06:16:05 988bab9f4d93: Pull complete 06:16:05 1469e6f7b9e6: Pull complete 06:16:05 eaf3925da568: Pull complete 06:16:07 bab4dde63d76: Pull complete 06:16:07 bde34c3a00c8: Pull complete 06:16:07 b352a97aabf1: Pull complete 06:16:07 4872d77fe225: Pull complete 06:16:08 5851b861e8e6: Pull complete 06:16:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:08 prd-ubuntu20.04-docker-8c-8g-117080 does not seem to be running inside a container 06:16:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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/py-git-semver:0.1.4 cat 06:16:10 $ docker top 35b0cab1397ccb33e347b354701853c2c96d7a7c7813345944302f27da4d36b9 -eo pid,comm 06:16:10 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). 06:16:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:10 [ssh-agent] Looking for ssh-agent implementation... 06:16:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:10 $ docker exec 35b0cab1397ccb33e347b354701853c2c96d7a7c7813345944302f27da4d36b9 ssh-agent 06:16:10 SSH_AUTH_SOCK=/tmp/ssh-cg41j8lTupGR/agent.32 06:16:10 SSH_AGENT_PID=38 06:16:10 Running ssh-add (command line suppressed) 06:16:10 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_15843467647290858759.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_15843467647290858759.key) 06:16:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:11 + git tag --points-at HEAD [Pipeline] } 06:16:11 $ docker exec --env ******** --env ******** 35b0cab1397ccb33e347b354701853c2c96d7a7c7813345944302f27da4d36b9 ssh-agent -k 06:16:11 unset SSH_AUTH_SOCK; 06:16:11 unset SSH_AGENT_PID; 06:16:11 echo Agent pid 38 killed; 06:16:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:11 [ssh-agent] Looking for ssh-agent implementation... 06:16:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:11 $ docker exec 35b0cab1397ccb33e347b354701853c2c96d7a7c7813345944302f27da4d36b9 ssh-agent 06:16:11 SSH_AUTH_SOCK=/tmp/ssh-nc5bcLPULetm/agent.70 06:16:11 SSH_AGENT_PID=76 06:16:11 Running ssh-add (command line suppressed) 06:16:11 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4598578642160774529.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4598578642160774529.key) 06:16:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:11 + git semver init 06:16:12 2022-10-26 06:16:12,158 [run_init] DEBUG init version:0.0.0 force:False 06:16:12 2022-10-26 06:16:12,159 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:16:12 2022-10-26 06:16:12,159 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:16:12 2022-10-26 06:16:12,159 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) 06:16:13 2022-10-26 06:16:12,993 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 06:16:13 2022-10-26 06:16:12,994 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False 06:16:13 2022-10-26 06:16:12,994 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:16:13 2022-10-26 06:16:12,999 [execute] INFO git cat-file --batch-check 06:16:13 2022-10-26 06:16:12,999 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 06:16:13 2022-10-26 06:16:13,006 [execute] INFO git cat-file --batch 06:16:13 2022-10-26 06:16:13,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 06:16:13 2022-10-26 06:16:13,012 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:16:13 0.0.0 [Pipeline] } 06:16:13 $ docker exec --env ******** --env ******** 35b0cab1397ccb33e347b354701853c2c96d7a7c7813345944302f27da4d36b9 ssh-agent -k 06:16:13 unset SSH_AUTH_SOCK; 06:16:13 unset SSH_AGENT_PID; 06:16:13 echo Agent pid 76 killed; 06:16:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:13 + git semver [Pipeline] } 06:16:13 $ docker stop --time=1 35b0cab1397ccb33e347b354701853c2c96d7a7c7813345944302f27da4d36b9 06:16:15 $ docker rm -f 35b0cab1397ccb33e347b354701853c2c96d7a7c7813345944302f27da4d36b9 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:15 Stashed 1 file(s) [Pipeline] echo 06:16:15 [edgeXSemver]: initialized semver on version 0.0.0 [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 06:16:15 provisioning config files... 06:16:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config6553025952601795933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:16 ---> docker-login.sh 06:16:16 nexus3.edgexfoundry.org:10001 06:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:16 Configure a credential helper to remove this warning. See 06:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:16 06:16:16 Login Succeeded 06:16:16 nexus3.edgexfoundry.org:10002 06:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:16 Configure a credential helper to remove this warning. See 06:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:16 06:16:16 Login Succeeded 06:16:16 nexus3.edgexfoundry.org:10003 06:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:16 Configure a credential helper to remove this warning. See 06:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:16 06:16:16 Login Succeeded 06:16:16 nexus3.edgexfoundry.org:10004 06:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:16 Configure a credential helper to remove this warning. See 06:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:16 06:16:16 Login Succeeded 06:16:16 docker.io 06:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:16 Configure a credential helper to remove this warning. See 06:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:16 06:16:16 Login Succeeded 06:16:16 ---> docker-login.sh ends [Pipeline] } 06:16:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:16 ========================================================= 06:16:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:16:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:17 + 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 . 06:16:17 Sending build context to Docker daemon 1.563MB 06:16:17 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 06:16:17 Step 2/14 : FROM ${BASE} AS builder 06:16:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:16:17 213ec9aee27d: Pulling fs layer 06:16:17 4583459ba037: Pulling fs layer 06:16:17 93c1e223e6f2: Pulling fs layer 06:16:17 53926ce57604: Pulling fs layer 06:16:17 21b2b0c7a3f4: Pulling fs layer 06:16:17 30f14e443154: Pulling fs layer 06:16:17 801331c1e519: Pulling fs layer 06:16:17 99cc6dd402b0: Pulling fs layer 06:16:17 7d9ed39f4882: Pulling fs layer 06:16:17 53926ce57604: Waiting 06:16:17 21b2b0c7a3f4: Waiting 06:16:17 30f14e443154: Waiting 06:16:17 801331c1e519: Waiting 06:16:17 99cc6dd402b0: Waiting 06:16:17 7d9ed39f4882: Waiting 06:16:17 93c1e223e6f2: Download complete 06:16:17 4583459ba037: Download complete 06:16:17 21b2b0c7a3f4: Verifying Checksum 06:16:17 21b2b0c7a3f4: Download complete 06:16:17 30f14e443154: Verifying Checksum 06:16:17 30f14e443154: Download complete 06:16:17 213ec9aee27d: Verifying Checksum 06:16:17 213ec9aee27d: Download complete 06:16:17 801331c1e519: Download complete 06:16:17 213ec9aee27d: Pull complete 06:16:17 4583459ba037: Pull complete 06:16:17 93c1e223e6f2: Pull complete 06:16:18 7d9ed39f4882: Verifying Checksum 06:16:18 7d9ed39f4882: Download complete 06:16:18 99cc6dd402b0: Verifying Checksum 06:16:18 99cc6dd402b0: Download complete 06:16:18 53926ce57604: Verifying Checksum 06:16:18 53926ce57604: Download complete 06:16:22 53926ce57604: Pull complete 06:16:22 21b2b0c7a3f4: Pull complete 06:16:22 30f14e443154: Pull complete 06:16:22 801331c1e519: Pull complete 06:16:24 99cc6dd402b0: Pull complete 06:16:25 7d9ed39f4882: Pull complete 06:16:25 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 06:16:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:16:25 ---> 1dedd983c030 06:16:25 Step 3/14 : ARG ADD_BUILD_TAGS="" 06:16:28 ---> Running in 042b5698418c 06:16:28 Removing intermediate container 042b5698418c 06:16:28 ---> db7256e49258 06:16:28 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:16:28 ---> Running in 012744ed57b3 06:16:28 Removing intermediate container 012744ed57b3 06:16:28 ---> a9083b4db980 06:16:28 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 06:16:28 ---> Running in 9e0b3c3142bd 06:16:28 Removing intermediate container 9e0b3c3142bd 06:16:28 ---> 8d88d58c4628 06:16:28 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:16:28 ---> Running in b8da482e28c0 06:16:28 Removing intermediate container b8da482e28c0 06:16:28 ---> e358fff84bc3 06:16:28 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:28 ---> Running in e67e5cfb1526 06:16:29 Removing intermediate container e67e5cfb1526 06:16:29 ---> 548a26ef15c8 06:16:29 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:29 ---> Running in 738a0d72103a 06:16:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:16:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:16:30 (1/80) Installing mesa (21.3.8-r2) 06:16:30 Still waiting to schedule task 06:16:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:16:30 (2/80) Installing libxau (1.0.9-r0) 06:16:31 (3/80) Installing libxdmcp (1.1.3-r0) 06:16:31 (4/80) Installing libxcb (1.15-r0) 06:16:31 (5/80) Installing libx11 (1.8-r0) 06:16:32 (6/80) Installing libxext (1.3.4-r0) 06:16:32 (7/80) Installing libxfixes (6.0.0-r0) 06:16:32 (8/80) Installing libxxf86vm (1.1.4-r2) 06:16:32 (9/80) Installing libpciaccess (0.16-r0) 06:16:33 (10/80) Installing libdrm (2.4.110-r0) 06:16:33 (11/80) Installing mesa-glapi (21.3.8-r2) 06:16:33 (12/80) Installing libxshmfence (1.3-r1) 06:16:34 (13/80) Installing mesa-gl (21.3.8-r2) 06:16:34 (14/80) Installing icu-data-full (71.1-r2) 06:16:35 (15/80) Installing libice (1.0.10-r0) 06:16:35 (16/80) Installing libuuid (2.38-r1) 06:16:35 (17/80) Installing libsm (1.2.3-r0) 06:16:36 (18/80) Installing libxt (1.2.1-r0) 06:16:36 (19/80) Installing libxmu (1.1.3-r0) 06:16:36 (20/80) Installing xset (1.2.4-r0) 06:16:36 (21/80) Installing xprop (1.2.5-r0) 06:16:37 (22/80) Installing xdg-utils (1.1.3-r3) 06:16:37 (23/80) Installing dbus-libs (1.14.4-r0) 06:16:38 (24/80) Installing libffi (3.4.2-r1) 06:16:38 (25/80) Installing libintl (0.21-r2) 06:16:38 (26/80) Installing libblkid (2.38-r1) 06:16:38 (27/80) Installing libmount (2.38-r1) 06:16:39 (28/80) Installing pcre (8.45-r2) 06:16:39 (29/80) Installing glib (2.72.1-r0) 06:16:40 (30/80) Installing icu-libs (71.1-r2) 06:16:40 (31/80) Installing libpcre2-16 (10.40-r0) 06:16:41 (32/80) Installing zstd-libs (1.5.2-r1) 06:16:41 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 06:16:42 (34/80) Installing hicolor-icon-theme (0.17-r1) 06:16:42 (35/80) Installing wayland-libs-server (1.20.0-r0) 06:16:42 (36/80) Installing mesa-gbm (21.3.8-r2) 06:16:42 (37/80) Installing wayland-libs-client (1.20.0-r0) 06:16:43 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 06:16:43 (39/80) Installing libxcomposite (0.4.5-r0) 06:16:44 (40/80) Installing libbz2 (1.0.8-r1) 06:16:44 (41/80) Installing libpng (1.6.37-r1) 06:16:44 (42/80) Installing freetype (2.12.1-r0) 06:16:45 (43/80) Installing fontconfig (2.14.0-r0) 06:16:45 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 06:16:45 (45/80) Installing wayland-libs-egl (1.20.0-r0) 06:16:45 (46/80) Installing xkeyboard-config (2.35.1-r0) 06:16:46 (47/80) Installing xz-libs (5.2.5-r1) 06:16:46 (48/80) Installing libxml2 (2.9.14-r2) 06:16:47 (49/80) Installing libxkbcommon (1.4.1-r0) 06:16:47 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 06:16:48 (51/80) Installing mesa-egl (21.3.8-r2) 06:16:48 (52/80) Installing avahi-libs (0.8-r6) 06:16:48 (53/80) Installing nettle (3.7.3-r0) 06:16:49 (54/80) Installing p11-kit (0.24.1-r0) 06:16:49 (55/80) Installing libtasn1 (4.18.0-r0) 06:16:49 (56/80) Installing libunistring (1.0-r0) 06:16:50 (57/80) Installing gnutls (3.7.7-r0) 06:16:50 (58/80) Installing cups-libs (2.4.2-r0) 06:16:51 (59/80) Installing graphite2 (1.3.14-r1) 06:16:51 (60/80) Installing harfbuzz (4.3.0-r0) 06:16:51 (61/80) Installing libevdev (1.12.1-r0) 06:16:52 (62/80) Installing mtdev (1.1.6-r0) 06:16:52 (63/80) Installing eudev-libs (3.2.11-r0) 06:16:52 (64/80) Installing libinput-libs (1.20.1-r0) 06:16:53 (65/80) Installing libjpeg-turbo (2.1.3-r1) 06:16:53 (66/80) Installing xcb-util-wm (0.4.1-r1) 06:16:53 (67/80) Installing xcb-util (0.4.0-r3) 06:16:54 (68/80) Installing xcb-util-image (0.4.0-r1) 06:16:54 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 06:16:54 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 06:16:54 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 06:16:54 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 06:16:55 (73/80) Installing v4l-utils-libs (1.22.1-r1) 06:16:56 (74/80) Installing v4l-utils (1.22.1-r1) 06:16:56 (75/80) Installing udev-init-scripts (35-r0) 06:16:56 Executing udev-init-scripts-35-r0.post-install 06:16:56 (76/80) Installing kmod-libs (29-r2) 06:16:57 (77/80) Installing eudev (3.2.11-r0) 06:16:57 (78/80) Installing eudev-dev (3.2.11-r0) 06:16:57 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:16:58 (80/80) Installing v4l-utils-dev (1.22.1-r1) 06:16:58 Executing busybox-1.35.0-r17.trigger 06:16:58 Executing eudev-3.2.11-r0.trigger 06:16:58 OK: 330 MiB in 131 packages 06:17:01 Removing intermediate container 738a0d72103a 06:17:01 ---> 6bee5f5afe7b 06:17:01 Step 9/14 : WORKDIR /device-usb-camera 06:17:01 ---> Running in dcbe76491ff2 06:17:01 Removing intermediate container dcbe76491ff2 06:17:01 ---> 04049bd4a7ea 06:17:01 Step 10/14 : COPY go.mod vendor* ./ 06:17:01 ---> 3fcefe3997cd 06:17:01 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:01 ---> Running in 1a91abf0d205 06:17:19 Removing intermediate container 1a91abf0d205 06:17:19 ---> bbe056ab1370 06:17:19 Step 12/14 : COPY . . 06:17:19 ---> f16e4dc9aca6 06:17:19 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:17:19 ---> Running in 98cc62a136c8 06:17:19  % Total % Received % Xferd Average Speed Time Time  Time Current 06:17:19  Dload  Upload Total Spent Left Speed 06:17:19  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 47939 0 --:--:-- --:--:-- --:--:-- 48272 06:17:20 Removing intermediate container 98cc62a136c8 06:17:20 ---> 24729cb94c00 06:17:20 Step 14/14 : RUN ${MAKE} 06:17:20 ---> Running in 8c5363ed4556 06:17:20 noop 06:17:20 Removing intermediate container 8c5363ed4556 06:17:20 ---> be85da92c465 06:17:20 Successfully built be85da92c465 06:17:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:21 + docker inspect -f . ci-base-image-x86_64 06:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:21 prd-ubuntu20.04-docker-8c-8g-117080 does not seem to be running inside a container 06:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat 06:17:21 $ docker top eb005fcf3400b8f83a6345cf3d9e8a5c7fbf612df6fcd258dc40593853893c3a -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:22 + go version 06:17:22 go version go1.18.7 linux/amd64 [Pipeline] } 06:17:22 $ docker stop --time=1 eb005fcf3400b8f83a6345cf3d9e8a5c7fbf612df6fcd258dc40593853893c3a 06:17:23 $ docker rm -f eb005fcf3400b8f83a6345cf3d9e8a5c7fbf612df6fcd258dc40593853893c3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:23 + docker inspect -f . ci-base-image-x86_64 06:17:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:23 prd-ubuntu20.04-docker-8c-8g-117080 does not seem to be running inside a container 06:17:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat 06:17:24 $ docker top 75b3032d88c70437b050372d784e138eb62e405e5a1eb0ac66e865664ccf98e7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:24 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 06:17:24 + make test 06:17:24 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:17:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:17:37 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:17:37 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:17:37 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:17:37 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:17:37 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 06:17:37 $ docker stop --time=1 75b3032d88c70437b050372d784e138eb62e405e5a1eb0ac66e865664ccf98e7 06:17:39 $ docker rm -f 75b3032d88c70437b050372d784e138eb62e405e5a1eb0ac66e865664ccf98e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:39 06:17:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:40 latest: Pulling from edgex-lftools-log-publisher 06:17:40 5eb5b503b376: Pulling fs layer 06:17:40 5c69ac0246d0: Pulling fs layer 06:17:40 ec43610c2a17: Pulling fs layer 06:17:40 3a2ae6a8a46f: Pulling fs layer 06:17:40 33b1e0a273af: Pulling fs layer 06:17:40 5d3b04190fa2: Pulling fs layer 06:17:40 2f39f015ded8: Pulling fs layer 06:17:40 2f39f015ded8: Waiting 06:17:40 5d3b04190fa2: Waiting 06:17:40 33b1e0a273af: Waiting 06:17:40 3a2ae6a8a46f: Waiting 06:17:40 5c69ac0246d0: Verifying Checksum 06:17:40 5c69ac0246d0: Download complete 06:17:40 3a2ae6a8a46f: Download complete 06:17:40 33b1e0a273af: Verifying Checksum 06:17:40 33b1e0a273af: Download complete 06:17:40 5d3b04190fa2: Verifying Checksum 06:17:40 5d3b04190fa2: Download complete 06:17:40 ec43610c2a17: Verifying Checksum 06:17:40 ec43610c2a17: Download complete 06:17:40 5eb5b503b376: Verifying Checksum 06:17:40 5eb5b503b376: Download complete 06:17:40 2f39f015ded8: Download complete 06:17:41 5eb5b503b376: Pull complete 06:17:41 5c69ac0246d0: Pull complete 06:17:42 ec43610c2a17: Pull complete 06:17:42 3a2ae6a8a46f: Pull complete 06:17:42 33b1e0a273af: Pull complete 06:17:42 5d3b04190fa2: Pull complete 06:17:48 2f39f015ded8: Pull complete 06:17:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:48 prd-ubuntu20.04-docker-8c-8g-117080 does not seem to be running inside a container 06:17:48 $ 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/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:17:50 $ docker top 1955566a3a7a12a7c849b5dbe6ab2676cbd8ea0eeb3f1f0f4ee0d6ec5acefb7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:51 ---> job-cost.sh 06:17:51 lf-activate-venv: SKIPPING 06:17:51 INFO: No Stack... 06:17:51 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:51 INFO: Archiving Costs [Pipeline] sh 06:17:52 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 06:17:52 + cut -d, -f6 [Pipeline] lock 06:17:52 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-10-stack-cost] 06:17:52 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-10-stack-cost] did not exist. Created. 06:17:52 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:52 + echo total: 0.2199999988079071 [Pipeline] stash 06:17:52 Stashed 1 file(s) [Pipeline] } 06:17:52 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-10-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:52 $ docker stop --time=1 1955566a3a7a12a7c849b5dbe6ab2676cbd8ea0eeb3f1f0f4ee0d6ec5acefb7a 06:17:53 $ docker rm -f 1955566a3a7a12a7c849b5dbe6ab2676cbd8ea0eeb3f1f0f4ee0d6ec5acefb7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:17:53 Failed in branch amd64 06:18:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117083 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 06:18:42 Running in /w/workspace/device-usb-camera/10 [Pipeline] { [Pipeline] checkout 06:18:42 Selected Git installation does not exist. Using Default 06:18:42 The recommended git tool is: NONE 06:18:48 using credential edgex-jenkins-ssh 06:18:48 Cloning the remote Git repository 06:18:48 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:18:48 > git init /w/workspace/device-usb-camera/10 # timeout=10 06:18:48 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:18:48 > git --version # timeout=10 06:18:48 > git --version # 'git version 2.25.1' 06:18:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:48 Verifying host key using known hosts file 06:18:49 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. 06:18:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:49 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:18:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:51 Merging remotes/origin/main commit cd08d416618cedf6394f2b45eea8eb763bae3217 into PR head commit bc543098717eef2348e6642801735f6b2ef0c1d8 06:18:50 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:18:50 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:18:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:50 Verifying host key using known hosts file 06:18:50 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. 06:18:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:18:51 > git config core.sparsecheckout # timeout=10 06:18:51 > git checkout -f bc543098717eef2348e6642801735f6b2ef0c1d8 # timeout=10 06:18:51 > git remote # timeout=10 06:18:51 Merge succeeded, producing 504712f0b412b04d1928815080f0a3d69d19dc20 06:18:51 Checking out Revision 504712f0b412b04d1928815080f0a3d69d19dc20 (PR-99) 06:18:51 > git config --get remote.origin.url # timeout=10 06:18:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:51 Verifying host key using known hosts file 06:18:51 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. 06:18:51 > git merge cd08d416618cedf6394f2b45eea8eb763bae3217 # timeout=10 06:18:51 > git rev-parse HEAD^{commit} # timeout=10 06:18:51 > git config core.sparsecheckout # timeout=10 06:18:51 > git checkout -f 504712f0b412b04d1928815080f0a3d69d19dc20 # timeout=10 06:18:55 Commit message: "Merge commit 'cd08d416618cedf6394f2b45eea8eb763bae3217' into HEAD" 06:18:55 > git rev-list --no-walk bc543098717eef2348e6642801735f6b2ef0c1d8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:18:56 % Total % Received % Xferd Average Speed Time Time Time Current 06:18:56 Dload Upload Total Spent Left Speed 06:18:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 236k 0 --:--:-- --:--:-- --:--:-- 232k [Pipeline] sh 06:18:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:18:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:18:57 + sudo tee /etc/docker/daemon.new 06:18:57 { 06:18:57 "registry-mirrors": [ 06:18:57 "https://nexus3.edgexfoundry.org:10001" 06:18:57 ], 06:18:57 "bip": "10.250.0.254/24", 06:18:57 "hosts": [ 06:18:57 "tcp://0.0.0.0:5555", 06:18:57 "unix:///var/run/docker.sock" 06:18:57 ], 06:18:57 "mtu": 1458, 06:18:57 "selinux-enabled": true, 06:18:57 "seccomp-profile": "/etc/docker/seccomp.json" 06:18:57 } [Pipeline] sh 06:18:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:18:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:19:16 provisioning config files... 06:19:16 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/10@tmp/config7272646847358850316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:16 ---> docker-login.sh 06:19:16 nexus3.edgexfoundry.org:10001 06:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:17 Configure a credential helper to remove this warning. See 06:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:17 06:19:17 Login Succeeded 06:19:17 nexus3.edgexfoundry.org:10002 06:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:18 Configure a credential helper to remove this warning. See 06:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:18 06:19:18 Login Succeeded 06:19:18 nexus3.edgexfoundry.org:10003 06:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:18 Configure a credential helper to remove this warning. See 06:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:18 06:19:18 Login Succeeded 06:19:18 nexus3.edgexfoundry.org:10004 06:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:18 Configure a credential helper to remove this warning. See 06:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:18 06:19:18 Login Succeeded 06:19:18 docker.io 06:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:19 Configure a credential helper to remove this warning. See 06:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:19 06:19:19 Login Succeeded 06:19:19 ---> docker-login.sh ends [Pipeline] } 06:19:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:19:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:19:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:19:19 ========================================================= 06:19:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:19:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:20 + 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 . 06:19:20 Sending build context to Docker daemon 1.023MB 06:19:20 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 06:19:20 Step 2/14 : FROM ${BASE} AS builder 06:19:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:19:20 9b18e9b68314: Pulling fs layer 06:19:20 d32db5db7311: Pulling fs layer 06:19:20 d0c4b47475fc: Pulling fs layer 06:19:20 5831b945b038: Pulling fs layer 06:19:20 86bbec2aaacd: Pulling fs layer 06:19:20 e10730c5d714: Pulling fs layer 06:19:20 5dd5c2283517: Pulling fs layer 06:19:20 d5ac0230b979: Pulling fs layer 06:19:20 e10730c5d714: Waiting 06:19:20 5831b945b038: Waiting 06:19:20 5dd5c2283517: Waiting 06:19:20 d5ac0230b979: Waiting 06:19:20 d0c4b47475fc: Verifying Checksum 06:19:20 d0c4b47475fc: Download complete 06:19:20 d32db5db7311: Verifying Checksum 06:19:20 d32db5db7311: Download complete 06:19:20 86bbec2aaacd: Verifying Checksum 06:19:20 86bbec2aaacd: Download complete 06:19:20 e10730c5d714: Verifying Checksum 06:19:20 e10730c5d714: Download complete 06:19:20 9b18e9b68314: Verifying Checksum 06:19:20 9b18e9b68314: Download complete 06:19:21 9b18e9b68314: Pull complete 06:19:21 d5ac0230b979: Verifying Checksum 06:19:21 d5ac0230b979: Download complete 06:19:22 d32db5db7311: Pull complete 06:19:22 d0c4b47475fc: Pull complete 06:19:22 5dd5c2283517: Verifying Checksum 06:19:22 5dd5c2283517: Download complete 06:19:23 5831b945b038: Download complete 06:19:35 5831b945b038: Pull complete 06:19:35 86bbec2aaacd: Pull complete 06:19:35 e10730c5d714: Pull complete 06:19:41 5dd5c2283517: Pull complete 06:19:43 d5ac0230b979: Pull complete 06:19:43 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 06:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:19:43 ---> 59b3b1a385d4 06:19:43 Step 3/14 : ARG ADD_BUILD_TAGS="" 06:19:45 ---> Running in 2419f0818594 06:19:45 Removing intermediate container 2419f0818594 06:19:45 ---> 0d964729db89 06:19:45 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:19:45 ---> Running in c4559af567cd 06:19:46 Removing intermediate container c4559af567cd 06:19:46 ---> b5e23cce1ca7 06:19:46 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 06:19:46 ---> Running in 3a82b189322f 06:19:46 Removing intermediate container 3a82b189322f 06:19:46 ---> 3cf14274c225 06:19:46 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:19:46 ---> Running in b640f0b03097 06:19:47 Removing intermediate container b640f0b03097 06:19:47 ---> ccf4724e4c0e 06:19:47 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:47 ---> Running in 56259ea61788 06:19:48 Removing intermediate container 56259ea61788 06:19:48 ---> 915df546e1f7 06:19:48 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:19:48 ---> Running in a2927c29c7e8 06:19:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:19:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:19:51 (1/14) Installing libintl (0.21-r2) 06:19:52 (2/14) Installing eudev-libs (3.2.11-r0) 06:19:52 (3/14) Installing libjpeg-turbo (2.1.3-r1) 06:19:53 (4/14) Installing v4l-utils-libs (1.22.1-r1) 06:19:53 (5/14) Installing v4l-utils (1.22.1-r1) 06:19:53 (6/14) Installing udev-init-scripts (35-r0) 06:19:54 Executing udev-init-scripts-35-r0.post-install 06:19:54 (7/14) Installing libblkid (2.38-r1) 06:19:54 (8/14) Installing xz-libs (5.2.5-r1) 06:19:55 (9/14) Installing zstd-libs (1.5.2-r1) 06:19:55 (10/14) Installing kmod-libs (29-r2) 06:19:55 (11/14) Installing eudev (3.2.11-r0) 06:19:56 (12/14) Installing eudev-dev (3.2.11-r0) 06:19:56 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:19:57 (14/14) Installing v4l-utils-dev (1.22.1-r1) 06:19:57 Executing busybox-1.35.0-r17.trigger 06:19:57 Executing eudev-3.2.11-r0.trigger 06:19:57 OK: 228 MiB in 65 packages 06:19:59 Removing intermediate container a2927c29c7e8 06:19:59 ---> d11856b344b9 06:19:59 Step 9/14 : WORKDIR /device-usb-camera 06:19:59 ---> Running in ba9a26bc2d1f 06:19:59 Removing intermediate container ba9a26bc2d1f 06:19:59 ---> 21b94915bbd2 06:19:59 Step 10/14 : COPY go.mod vendor* ./ 06:19:59 ---> b94e0218bcde 06:19:59 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:59 ---> Running in 78779e1631bb 06:20:56 Removing intermediate container 78779e1631bb 06:20:56 ---> 43e701499ed3 06:20:56 Step 12/14 : COPY . . 06:20:56 ---> 987464ea7a80 06:20:56 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:20:56 ---> Running in 62e518336bb2 06:20:56  % Total  % Received % Xferd Average Speed Time Time Time Current 06:20:56 Dload Upload Total Spent  Left Speed 06:20:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 14127 0 --:--:-- --:--:-- --:--:-- 14351 06:20:56 Removing intermediate container 62e518336bb2 06:20:56 ---> f1e5416da043 06:20:56 Step 14/14 : RUN ${MAKE} 06:20:56 ---> Running in 30d358316501 06:20:57 noop 06:20:57 Removing intermediate container 30d358316501 06:20:57 ---> 7bd6f7965cbf 06:20:57 Successfully built 7bd6f7965cbf 06:20:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:58 + docker inspect -f . ci-base-image-arm64 06:20:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:58 prd-ubuntu20.04-docker-arm64-4c-16g-117083 does not seem to be running inside a container 06:20:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/10 -v /w/workspace/device-usb-camera/10:/w/workspace/device-usb-camera/10:rw,z -v /w/workspace/device-usb-camera/10@tmp:/w/workspace/device-usb-camera/10@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 ******** ci-base-image-arm64 cat 06:20:59 $ docker top a338d60779d8070f4f2ab91aba82c81f5aa99428335dd990e6aa930940653dda -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:00 + go version 06:21:00 go version go1.18.7 linux/arm64 [Pipeline] } 06:21:00 $ docker stop --time=1 a338d60779d8070f4f2ab91aba82c81f5aa99428335dd990e6aa930940653dda 06:21:02 $ docker rm -f a338d60779d8070f4f2ab91aba82c81f5aa99428335dd990e6aa930940653dda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:02 + docker inspect -f . ci-base-image-arm64 06:21:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:02 prd-ubuntu20.04-docker-arm64-4c-16g-117083 does not seem to be running inside a container 06:21:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/10 -v /w/workspace/device-usb-camera/10:/w/workspace/device-usb-camera/10:rw,z -v /w/workspace/device-usb-camera/10@tmp:/w/workspace/device-usb-camera/10@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 ******** ci-base-image-arm64 cat 06:21:04 $ docker top 47fc73eb844c83050353e38bc14683f6f432477e61bd004bfdf4ca471d55575f -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:05 + git config --global --add safe.directory /w/workspace/device-usb-camera/10 [Pipeline] fileExists [Pipeline] sh 06:21:05 + make test 06:21:05 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:21:07 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:22:58 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:22:58 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:22:58 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:22:58 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:22:58 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 06:22:58 $ docker stop --time=1 47fc73eb844c83050353e38bc14683f6f432477e61bd004bfdf4ca471d55575f 06:23:00 $ docker rm -f 47fc73eb844c83050353e38bc14683f6f432477e61bd004bfdf4ca471d55575f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:01 06:23:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:02 arm64: Pulling from edgex-lftools-log-publisher 06:23:02 8998bd30e6a1: Pulling fs layer 06:23:02 04944245beec: Pulling fs layer 06:23:02 699f458cf7ca: Pulling fs layer 06:23:02 765212b225bb: Pulling fs layer 06:23:02 f23df028b6ca: Pulling fs layer 06:23:02 d65c8cfc05b1: Pulling fs layer 06:23:02 2437ff75d9bd: Pulling fs layer 06:23:02 765212b225bb: Waiting 06:23:02 f23df028b6ca: Waiting 06:23:02 d65c8cfc05b1: Waiting 06:23:02 2437ff75d9bd: Waiting 06:23:02 04944245beec: Verifying Checksum 06:23:02 04944245beec: Download complete 06:23:02 765212b225bb: Download complete 06:23:02 f23df028b6ca: Verifying Checksum 06:23:02 f23df028b6ca: Download complete 06:23:02 d65c8cfc05b1: Verifying Checksum 06:23:02 d65c8cfc05b1: Download complete 06:23:02 699f458cf7ca: Verifying Checksum 06:23:02 699f458cf7ca: Download complete 06:23:03 8998bd30e6a1: Verifying Checksum 06:23:03 8998bd30e6a1: Download complete 06:23:06 2437ff75d9bd: Verifying Checksum 06:23:06 2437ff75d9bd: Download complete 06:23:09 8998bd30e6a1: Pull complete 06:23:09 04944245beec: Pull complete 06:23:11 699f458cf7ca: Pull complete 06:23:11 765212b225bb: Pull complete 06:23:12 f23df028b6ca: Pull complete 06:23:12 d65c8cfc05b1: Pull complete 06:23:34 2437ff75d9bd: Pull complete 06:23:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:35 prd-ubuntu20.04-docker-arm64-4c-16g-117083 does not seem to be running inside a container 06:23:35 $ 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-usb-camera/10 -v /w/workspace/device-usb-camera/10:/w/workspace/device-usb-camera/10:rw,z -v /w/workspace/device-usb-camera/10@tmp:/w/workspace/device-usb-camera/10@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:arm64 cat 06:23:38 $ docker top c9d9163de870de64806b1cccdca8203d9c0136f304f1f9ba2ba64179d6301412 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:39 ---> job-cost.sh 06:23:39 lf-activate-venv: SKIPPING 06:23:39 INFO: No Stack... 06:23:39 INFO: Retrieving Pricing Info for: v3-standard-4 06:23:40 INFO: Archiving Costs [Pipeline] sh 06:23:41 + cat /w/workspace/device-usb-camera/10/archives/cost.csv 06:23:41 + cut -d, -f6 [Pipeline] lock 06:23:41 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-10-stack-cost] 06:23:41 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-10-stack-cost] did not exist. Created. 06:23:41 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:41 /w/workspace/device-usb-camera/10@tmp/durable-c60b6edf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:23:42 + echo total: 0.10999999940395355 [Pipeline] stash 06:23:42 Warning: overwriting stash ‘stack-cost’ 06:23:42 Stashed 1 file(s) [Pipeline] } 06:23:42 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-10-stack-cost] [Pipeline] // lock [Pipeline] } 06:23:42 $ docker stop --time=1 c9d9163de870de64806b1cccdca8203d9c0136f304f1f9ba2ba64179d6301412 06:23:44 $ docker rm -f c9d9163de870de64806b1cccdca8203d9c0136f304f1f9ba2ba64179d6301412 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:23:44 Failed in branch arm64 [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 06:23:45 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 06:23:45 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:23:45 total 16 06:23:45 drwxr-xr-x 3 root root 4096 Oct 26 06:17 . 06:23:45 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 06:17 .. 06:23:45 drwxr-xr-x 2 root root 4096 Oct 26 06:17 cost 06:23:45 -rw-r--r-- 1 root root 89 Oct 26 06:17 cost.csv 06:23:45 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:23:45 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:23:45 total 16 06:23:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 06:17 . 06:23:45 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 06:17 .. 06:23:45 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 06:17 cost 06:23:45 -rw-r--r-- 1 jenkins jenkins 89 Oct 26 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:23:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:46 ---> package-listing.sh 06:23:46 ++ facter osfamily 06:23:46 ++ tr '[:upper:]' '[:lower:]' 06:23:46 + OS_FAMILY=debian 06:23:46 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 06:23:46 + START_PACKAGES=/tmp/packages_start.txt 06:23:46 + END_PACKAGES=/tmp/packages_end.txt 06:23:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:46 + PACKAGES=/tmp/packages_start.txt 06:23:46 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:23:46 + PACKAGES=/tmp/packages_end.txt 06:23:46 + case "${OS_FAMILY}" in 06:23:46 + dpkg -l 06:23:46 + grep '^ii' 06:23:46 + '[' -f /tmp/packages_start.txt ']' 06:23:46 + '[' -f /tmp/packages_end.txt ']' 06:23:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:46 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:23:46 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 06:23:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo 06:23:46 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/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:23:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:47 prd-ubuntu20.04-docker-8c-8g-117080 does not seem to be running inside a container 06:23:47 $ 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/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:23:48 $ docker top 936572cab56cf0ac458a8a03a56b01e7a54378b711b2d4f320316b2196c15580 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:48 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:48 + mkdir -p /var/log/sysstat [Pipeline] sh 06:23:49 + ls /var/log/sa-host 06:23:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:49 provisioning config files... 06:23:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config8281330853731199994tmp [Pipeline] { [Pipeline] echo 06:23:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:23:49 ---> create-netrc.sh [Pipeline] } 06:23:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:23:49 ---> python-tools-install.sh [Pipeline] echo 06:23:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:23:50 ---> sudo-logs.sh 06:23:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:23:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:23:50 ---> job-cost.sh 06:23:50 lf-activate-venv: SKIPPING 06:23:50 DEBUG: total: 0.2199999988079071 06:23:50 INFO: Retrieving Stack Cost... 06:23:50 INFO: Retrieving Pricing Info for: v3-standard-8 06:23:50 INFO: Archiving Costs [Pipeline] echo 06:23:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:23:51 ---> logs-deploy.sh 06:23:51 lf-activate-venv: SKIPPING 06:23:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/10 06:23:51 INFO: archiving workspace using pattern(s): 06:23:52 Archives upload complete. 06:23:52 INFO: archiving logs to Nexus 06:23:52 ---> uname -a: 06:23:52 Linux prd-ubuntu20-04-docker-8c-8g-117080 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:23:52 06:23:52 06:23:52 ---> lscpu: 06:23:52 Architecture: x86_64 06:23:52 CPU op-mode(s): 32-bit, 64-bit 06:23:52 Byte Order: Little Endian 06:23:52 Address sizes: 40 bits physical, 48 bits virtual 06:23:52 CPU(s): 8 06:23:52 On-line CPU(s) list: 0-7 06:23:52 Thread(s) per core: 1 06:23:52 Core(s) per socket: 1 06:23:52 Socket(s): 8 06:23:52 NUMA node(s): 1 06:23:52 Vendor ID: AuthenticAMD 06:23:52 CPU family: 23 06:23:52 Model: 49 06:23:52 Model name: AMD EPYC-Rome Processor 06:23:52 Stepping: 0 06:23:52 CPU MHz: 2800.002 06:23:52 BogoMIPS: 5600.00 06:23:52 Virtualization: AMD-V 06:23:52 Hypervisor vendor: KVM 06:23:52 Virtualization type: full 06:23:52 L1d cache: 256 KiB 06:23:52 L1i cache: 256 KiB 06:23:52 L2 cache: 4 MiB 06:23:52 L3 cache: 128 MiB 06:23:52 NUMA node0 CPU(s): 0-7 06:23:52 Vulnerability Itlb multihit: Not affected 06:23:52 Vulnerability L1tf: Not affected 06:23:52 Vulnerability Mds: Not affected 06:23:52 Vulnerability Meltdown: Not affected 06:23:52 Vulnerability Mmio stale data: Not affected 06:23:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:23:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:23:52 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:23:52 Vulnerability Srbds: Not affected 06:23:52 Vulnerability Tsx async abort: Not affected 06:23:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:23:52 06:23:52 06:23:52 ---> nproc: 06:23:52 8 06:23:52 06:23:52 06:23:52 ---> df -h: 06:23:52 Filesystem Size Used Avail Use% Mounted on 06:23:52 overlay 155G 12G 144G 8% / 06:23:52 tmpfs 64M 0 64M 0% /dev 06:23:52 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:23:52 shm 64M 0 64M 0% /dev/shm 06:23:52 /dev/vda1 155G 12G 144G 8% /facter-os 06:23:52 06:23:52 06:23:52 ---> sar -b -r -n DEV: 06:23:52 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117080) 10/26/22 _x86_64_ (8 CPU) 06:23:52 06:23:52 06:15:17 LINUX RESTART (8 CPU) 06:23:52 06:23:52 06:16:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:23:52 06:17:01 121.78 3.80 117.98 0.00 511.56 44536.49 0.00 06:23:52 06:18:01 153.82 1.28 152.54 0.00 13.60 60507.12 0.00 06:23:52 06:19:01 1.57 0.00 1.57 0.00 0.00 18.94 0.00 06:23:52 06:20:01 1.47 0.00 1.47 0.00 0.00 18.00 0.00 06:23:52 06:21:01 39.17 9.33 29.84 0.00 2883.84 4836.79 0.00 06:23:52 06:22:01 2.60 0.00 2.60 0.00 0.00 31.33 0.00 06:23:52 06:23:01 1.10 0.00 1.10 0.00 0.00 12.66 0.00 06:23:52 Average: 45.93 2.06 43.87 0.00 487.05 15708.81 0.00 06:23:52 06:23:52 06:16:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:23:52 06:17:01 29016336 31542640 773136 2.35 79868 2717840 1989388 5.86 1045232 2458428 936 06:23:52 06:18:01 27907596 31559036 746132 2.27 148072 3664044 1740764 5.13 1185940 3300912 360 06:23:52 06:19:01 27908368 31559916 745220 2.27 148104 3664048 1740764 5.13 1185936 3300920 32 06:23:52 06:20:01 27910556 31562272 742796 2.26 148152 3664180 1740764 5.13 1183752 3301048 36 06:23:52 06:21:01 27624344 31550412 739596 2.25 167000 3912968 1832956 5.40 1337332 3412464 316 06:23:52 06:22:01 27625948 31552136 737652 2.24 167092 3912972 1832956 5.40 1331152 3412464 8 06:23:52 06:23:01 27628404 31554700 734992 2.24 167144 3912976 1832956 5.40 1329580 3412484 4 06:23:52 Average: 27945936 31554445 745646 2.27 146490 3635575 1815793 5.35 1228418 3228389 242 06:23:52 06:23:52 06:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:23:52 06:17:01 docker0 129.06 151.35 8.27 806.60 0.00 0.00 0.00 0.00 06:23:52 06:17:01 lo 4.20 4.20 0.41 0.41 0.00 0.00 0.00 0.00 06:23:52 06:17:01 ens3 416.76 301.47 6428.36 56.48 0.00 0.00 0.00 0.00 06:23:52 06:17:01 veth4219892 24.91 33.22 2.37 31.61 0.00 0.00 0.00 0.00 06:23:52 06:18:01 docker0 106.20 139.78 9.14 1686.09 0.00 0.00 0.00 0.00 06:23:52 06:18:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 06:23:52 06:18:01 ens3 259.62 188.20 4235.57 32.10 0.00 0.00 0.00 0.00 06:23:52 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:19:01 ens3 1.25 0.37 0.43 0.26 0.00 0.00 0.00 0.00 06:23:52 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:23:52 06:20:01 ens3 1.03 1.02 1.97 0.31 0.00 0.00 0.00 0.00 06:23:52 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:21:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 06:23:52 06:21:01 ens3 88.02 57.46 1299.32 4.17 0.00 0.00 0.00 0.00 06:23:52 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:23:52 06:22:01 ens3 0.22 0.17 0.01 0.01 0.00 0.00 0.00 0.00 06:23:52 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:23:52 06:23:01 ens3 0.58 0.07 0.11 0.00 0.00 0.00 0.00 0.00 06:23:52 Average: docker0 33.61 41.59 2.49 356.09 0.00 0.00 0.00 0.00 06:23:52 Average: lo 0.88 0.88 0.08 0.08 0.00 0.00 0.00 0.00 06:23:52 Average: ens3 109.65 78.40 1709.46 13.33 0.00 0.00 0.00 0.00 06:23:52 06:23:52 06:23:53 ---> sar -P ALL: 06:23:53 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117080) 10/26/22 _x86_64_ (8 CPU) 06:23:53 06:23:53 06:15:17 LINUX RESTART (8 CPU) 06:23:53 06:23:53 06:16:01 CPU %user %nice %system %iowait %steal %idle 06:23:53 06:17:01 all 6.67 0.00 3.11 1.57 0.04 88.62 06:23:53 06:17:01 0 6.29 0.00 3.16 0.69 0.03 89.83 06:23:53 06:17:01 1 7.16 0.00 2.77 0.25 0.05 89.78 06:23:53 06:17:01 2 5.29 0.00 3.04 0.13 0.03 91.50 06:23:53 06:17:01 3 5.10 0.00 3.63 1.20 0.05 90.02 06:23:53 06:17:01 4 6.45 0.00 2.68 0.49 0.03 90.35 06:23:53 06:17:01 5 6.85 0.00 2.72 1.02 0.03 89.37 06:23:53 06:17:01 6 8.08 0.00 2.61 0.22 0.03 89.06 06:23:53 06:17:01 7 8.14 0.00 4.25 8.60 0.05 78.96 06:23:53 06:18:01 all 19.51 0.00 5.49 2.22 0.06 72.73 06:23:53 06:18:01 0 19.37 0.00 5.47 3.45 0.05 71.66 06:23:53 06:18:01 1 19.63 0.00 4.60 0.03 0.05 75.69 06:23:53 06:18:01 2 19.13 0.00 6.50 4.33 0.05 69.99 06:23:53 06:18:01 3 19.37 0.00 5.39 1.17 0.08 73.99 06:23:53 06:18:01 4 19.22 0.00 5.36 0.39 0.05 74.98 06:23:53 06:18:01 5 21.12 0.00 5.74 4.02 0.05 69.07 06:23:53 06:18:01 6 19.33 0.00 5.15 1.91 0.05 73.56 06:23:53 06:18:01 7 18.89 0.00 5.68 2.45 0.07 72.91 06:23:53 06:19:01 all 0.26 0.00 0.02 0.00 0.01 99.71 06:23:53 06:19:01 0 0.03 0.00 0.02 0.00 0.03 99.92 06:23:53 06:19:01 1 1.77 0.00 0.05 0.00 0.02 98.16 06:23:53 06:19:01 2 0.00 0.00 0.00 0.00 0.00 100.00 06:23:53 06:19:01 3 0.05 0.00 0.00 0.00 0.00 99.95 06:23:53 06:19:01 4 0.03 0.00 0.02 0.00 0.00 99.95 06:23:53 06:19:01 5 0.07 0.00 0.03 0.02 0.02 99.87 06:23:53 06:19:01 6 0.03 0.00 0.00 0.02 0.02 99.93 06:23:53 06:19:01 7 0.03 0.00 0.02 0.00 0.00 99.95 06:23:53 06:20:01 all 0.16 0.00 0.01 0.00 0.01 99.82 06:23:53 06:20:01 0 0.08 0.00 0.05 0.00 0.02 99.85 06:23:53 06:20:01 1 1.01 0.00 0.02 0.00 0.00 98.97 06:23:53 06:20:01 2 0.02 0.00 0.00 0.02 0.02 99.95 06:23:53 06:20:01 3 0.02 0.00 0.00 0.00 0.02 99.97 06:23:53 06:20:01 4 0.05 0.00 0.02 0.00 0.00 99.93 06:23:53 06:20:01 5 0.03 0.00 0.02 0.00 0.00 99.95 06:23:53 06:20:01 6 0.00 0.00 0.00 0.02 0.00 99.98 06:23:53 06:20:01 7 0.03 0.00 0.02 0.00 0.00 99.95 06:23:53 06:21:01 all 1.40 0.00 0.85 0.40 0.02 97.33 06:23:53 06:21:01 0 0.83 0.00 0.58 0.03 0.02 98.53 06:23:53 06:21:01 1 2.35 0.00 0.49 0.12 0.03 97.01 06:23:53 06:21:01 2 2.42 0.00 2.22 0.60 0.02 94.74 06:23:53 06:21:01 3 0.79 0.00 1.25 0.48 0.02 97.46 06:23:53 06:21:01 4 1.49 0.00 0.63 0.38 0.02 97.48 06:23:53 06:21:01 5 1.99 0.00 0.62 0.27 0.02 97.11 06:23:53 06:21:01 6 0.43 0.00 0.45 1.25 0.00 97.87 06:23:53 06:21:01 7 0.90 0.00 0.55 0.05 0.02 98.48 06:23:53 06:22:01 all 0.27 0.00 0.01 0.01 0.00 99.70 06:23:53 06:22:01 0 0.03 0.00 0.03 0.02 0.00 99.92 06:23:53 06:22:01 1 1.99 0.00 0.02 0.00 0.02 97.98 06:23:53 06:22:01 2 0.02 0.00 0.02 0.00 0.00 99.97 06:23:53 06:22:01 3 0.02 0.00 0.00 0.00 0.00 99.98 06:23:53 06:22:01 4 0.03 0.00 0.02 0.00 0.00 99.95 06:23:53 06:22:01 5 0.02 0.00 0.02 0.02 0.00 99.95 06:23:53 06:22:01 6 0.03 0.00 0.00 0.05 0.00 99.92 06:23:53 06:22:01 7 0.02 0.00 0.02 0.00 0.02 99.95 06:23:53 06:23:01 all 0.27 0.00 0.01 0.02 0.01 99.69 06:23:53 06:23:01 0 0.02 0.00 0.02 0.00 0.02 99.95 06:23:53 06:23:01 1 1.99 0.00 0.02 0.00 0.02 97.98 06:23:53 06:23:01 2 0.02 0.00 0.00 0.00 0.02 99.97 06:23:53 06:23:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:23:53 06:23:01 4 0.03 0.00 0.00 0.00 0.00 99.97 06:23:53 06:23:01 5 0.03 0.00 0.00 0.00 0.03 99.93 06:23:53 06:23:01 6 0.02 0.00 0.02 0.15 0.02 99.80 06:23:53 06:23:01 7 0.02 0.00 0.03 0.00 0.00 99.95 06:23:53 Average: all 4.04 0.00 1.35 0.60 0.02 93.99 06:23:53 Average: 0 3.78 0.00 1.32 0.59 0.02 94.28 06:23:53 Average: 1 5.08 0.00 1.12 0.06 0.03 93.71 06:23:53 Average: 2 3.81 0.00 1.67 0.72 0.02 93.78 06:23:53 Average: 3 3.59 0.00 1.46 0.40 0.02 94.52 06:23:53 Average: 4 3.88 0.00 1.24 0.18 0.01 94.68 06:23:53 Average: 5 4.27 0.00 1.30 0.76 0.02 93.66 06:23:53 Average: 6 3.96 0.00 1.17 0.51 0.02 94.35 06:23:53 Average: 7 3.97 0.00 1.49 1.57 0.02 92.95 06:23:53 06:23:53 06:23:53