Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4aba8cca995d5308e86008ac4043bd77e532bb5a+02bc3351eb583ffe88737b5638435757cc287900 (02a71e8ff730d8ca4a44e1e66c7da459e2b0c42b) 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-ssh9689493865752750653.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2555212773784049311.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh5074571727738143020.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3551980783476860231.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-ssh6267697094967697884.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-119287 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 02bc3351eb583ffe88737b5638435757cc287900 into PR head commit 4aba8cca995d5308e86008ac4043bd77e532bb5a > 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 Merge succeeded, producing 1adce9940d0db2a2b2e722ec28b6956e413ed0fa Checking out Revision 1adce9940d0db2a2b2e722ec28b6956e413ed0fa (PR-99) > git config core.sparsecheckout # timeout=10 > git checkout -f 4aba8cca995d5308e86008ac4043bd77e532bb5a # timeout=10 > 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 02bc3351eb583ffe88737b5638435757cc287900 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1adce9940d0db2a2b2e722ec28b6956e413ed0fa # timeout=10 Commit message: "Merge commit '02bc3351eb583ffe88737b5638435757cc287900' into HEAD" > git rev-list --no-walk 4aba8cca995d5308e86008ac4043bd77e532bb5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:16:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:16:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:16:40 ========================================================= 06:16:40 EdgeX Global Pipelines Version Info 06:16:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:16:40 ------------------- 06:16:40 stable info: 06:16:40 ------------------- 06:16:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:16:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:16:40 Message: update stable to v1.0.244 06:16:41 ------------------- 06:16:41 experimental info: 06:16:41 ------------------- 06:16:41 Commited By: **** collab-it+edgex@linuxfoundation.org 06:16:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:16:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1adce9940d0db2a2b2e722ec28b6956e413ed0fa [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1adce99 [Pipeline] echo 06:16:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:42 provisioning config files... 06:16:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config9625578406801825997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:42 ---> docker-login.sh 06:16:42 nexus3.edgexfoundry.org:10001 06:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:42 Configure a credential helper to remove this warning. See 06:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:42 06:16:42 Login Succeeded 06:16:42 nexus3.edgexfoundry.org:10002 06:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:42 Configure a credential helper to remove this warning. See 06:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:42 06:16:42 Login Succeeded 06:16:42 nexus3.edgexfoundry.org:10003 06:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:42 Configure a credential helper to remove this warning. See 06:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:42 06:16:42 Login Succeeded 06:16:42 nexus3.edgexfoundry.org:10004 06:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:42 Configure a credential helper to remove this warning. See 06:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:42 06:16:42 Login Succeeded 06:16:43 docker.io 06:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:43 Configure a credential helper to remove this warning. See 06:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:43 06:16:43 Login Succeeded 06:16:43 ---> docker-login.sh ends [Pipeline] } 06:16:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:16:43 + git rev-list -1 --merges 1adce9940d0db2a2b2e722ec28b6956e413ed0fa~1..1adce9940d0db2a2b2e722ec28b6956e413ed0fa [Pipeline] echo 06:16:43 -----------> git rev-list -1 --merges 1adce9940d0db2a2b2e722ec28b6956e413ed0fa~1..1adce9940d0db2a2b2e722ec28b6956e413ed0fa 1adce9940d0db2a2b2e722ec28b6956e413ed0fa 06:16:43 1adce9940d0db2a2b2e722ec28b6956e413ed0fa [false] [Pipeline] sh 06:16:44 + git log --format=format:%s -1 1adce9940d0db2a2b2e722ec28b6956e413ed0fa [Pipeline] echo 06:16:44 ========================================================= 06:16:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:16:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:44 + git log --format=format:%s -1 1adce9940d0db2a2b2e722ec28b6956e413ed0fa [Pipeline] echo 06:16:44 [semverPrep] GIT_COMMIT: 1adce9940d0db2a2b2e722ec28b6956e413ed0fa, Commit Message: Merge commit '02bc3351eb583ffe88737b5638435757cc287900' into HEAD [Pipeline] echo 06:16:44 [semverPrep] This is not a build commit. [Pipeline] sh 06:16:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:44 + grep -v github /etc/ssh/ssh_known_hosts 06:16:44 + [ -e /tmp/ssh_known_hosts ] 06:16:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:16:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:16:44 + sudo tee -a /etc/ssh/ssh_known_hosts 06:16:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:45 06:16:45 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:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:45 0.1.4: Pulling from edgex-devops/py-git-semver 06:16:45 b85a868b505f: Pulling fs layer 06:16:45 e2be974225ed: Pulling fs layer 06:16:45 339a4e72a1f5: Pulling fs layer 06:16:45 988bab9f4d93: Pulling fs layer 06:16:45 1469e6f7b9e6: Pulling fs layer 06:16:45 eaf3925da568: Pulling fs layer 06:16:45 bab4dde63d76: Pulling fs layer 06:16:45 bde34c3a00c8: Pulling fs layer 06:16:45 b352a97aabf1: Pulling fs layer 06:16:45 4872d77fe225: Pulling fs layer 06:16:45 5851b861e8e6: Pulling fs layer 06:16:45 988bab9f4d93: Waiting 06:16:45 eaf3925da568: Waiting 06:16:45 bab4dde63d76: Waiting 06:16:45 4872d77fe225: Waiting 06:16:45 bde34c3a00c8: Waiting 06:16:45 5851b861e8e6: Waiting 06:16:45 b352a97aabf1: Waiting 06:16:45 1469e6f7b9e6: Waiting 06:16:45 e2be974225ed: Verifying Checksum 06:16:45 e2be974225ed: Download complete 06:16:45 988bab9f4d93: Download complete 06:16:45 1469e6f7b9e6: Verifying Checksum 06:16:45 1469e6f7b9e6: Download complete 06:16:45 eaf3925da568: Verifying Checksum 06:16:45 eaf3925da568: Download complete 06:16:45 339a4e72a1f5: Verifying Checksum 06:16:45 339a4e72a1f5: Download complete 06:16:45 bde34c3a00c8: Download complete 06:16:45 b352a97aabf1: Verifying Checksum 06:16:45 b352a97aabf1: Download complete 06:16:45 4872d77fe225: Verifying Checksum 06:16:45 4872d77fe225: Download complete 06:16:45 5851b861e8e6: Verifying Checksum 06:16:45 5851b861e8e6: Download complete 06:16:45 b85a868b505f: Verifying Checksum 06:16:45 b85a868b505f: Download complete 06:16:46 bab4dde63d76: Verifying Checksum 06:16:46 bab4dde63d76: Download complete 06:16:46 b85a868b505f: Pull complete 06:16:47 e2be974225ed: Pull complete 06:16:47 339a4e72a1f5: Pull complete 06:16:47 988bab9f4d93: Pull complete 06:16:48 1469e6f7b9e6: Pull complete 06:16:48 eaf3925da568: Pull complete 06:16:49 bab4dde63d76: Pull complete 06:16:49 bde34c3a00c8: Pull complete 06:16:49 b352a97aabf1: Pull complete 06:16:49 4872d77fe225: Pull complete 06:16:50 5851b861e8e6: Pull complete 06:16:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:16:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:50 prd-ubuntu20.04-docker-8c-8g-119287 does not seem to be running inside a container 06:16:50 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:16:51 $ docker top 34670fac1767d574f4c6c59c9b74057f9638a1ce8aa8f9800bce591f94aa1631 -eo pid,comm 06:16:51 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:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:51 [ssh-agent] Looking for ssh-agent implementation... 06:16:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:51 $ docker exec 34670fac1767d574f4c6c59c9b74057f9638a1ce8aa8f9800bce591f94aa1631 ssh-agent 06:16:51 SSH_AUTH_SOCK=/tmp/ssh-KvclPuBd01nv/agent.32 06:16:51 SSH_AGENT_PID=38 06:16:51 Running ssh-add (command line suppressed) 06:16:52 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_7475404003617343295.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_7475404003617343295.key) 06:16:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:52 + git tag --points-at HEAD [Pipeline] } 06:16:52 $ docker exec --env ******** --env ******** 34670fac1767d574f4c6c59c9b74057f9638a1ce8aa8f9800bce591f94aa1631 ssh-agent -k 06:16:52 unset SSH_AUTH_SOCK; 06:16:52 unset SSH_AGENT_PID; 06:16:52 echo Agent pid 38 killed; 06:16:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:52 [ssh-agent] Looking for ssh-agent implementation... 06:16:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:52 $ docker exec 34670fac1767d574f4c6c59c9b74057f9638a1ce8aa8f9800bce591f94aa1631 ssh-agent 06:16:52 SSH_AUTH_SOCK=/tmp/ssh-lA7VmlrPisPu/agent.70 06:16:52 SSH_AGENT_PID=76 06:16:52 Running ssh-add (command line suppressed) 06:16:52 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_7939667454542740742.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_7939667454542740742.key) 06:16:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:53 + git semver init 06:16:53 2022-11-15 06:16:53,325 [run_init] DEBUG init version:0.0.0 force:False 06:16:53 2022-11-15 06:16:53,326 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:16:53 2022-11-15 06:16:53,326 [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:53 2022-11-15 06:16:53,326 [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:54 2022-11-15 06:16:54,123 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 06:16:54 2022-11-15 06:16:54,123 [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:54 2022-11-15 06:16:54,123 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:16:54 2022-11-15 06:16:54,126 [execute] INFO git cat-file --batch-check 06:16:54 2022-11-15 06:16:54,127 [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:54 2022-11-15 06:16:54,132 [execute] INFO git cat-file --batch 06:16:54 2022-11-15 06:16:54,132 [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:54 2022-11-15 06:16:54,136 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:16:54 0.0.0 [Pipeline] } 06:16:54 $ docker exec --env ******** --env ******** 34670fac1767d574f4c6c59c9b74057f9638a1ce8aa8f9800bce591f94aa1631 ssh-agent -k 06:16:54 unset SSH_AUTH_SOCK; 06:16:54 unset SSH_AGENT_PID; 06:16:54 echo Agent pid 76 killed; 06:16:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:54 + git semver [Pipeline] } 06:16:55 $ docker stop --time=1 34670fac1767d574f4c6c59c9b74057f9638a1ce8aa8f9800bce591f94aa1631 06:16:56 $ docker rm -f 34670fac1767d574f4c6c59c9b74057f9638a1ce8aa8f9800bce591f94aa1631 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:56 Stashed 1 file(s) [Pipeline] echo 06:16:56 [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:56 provisioning config files... 06:16:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config4194591592163635593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:57 ---> docker-login.sh 06:16:57 nexus3.edgexfoundry.org:10001 06:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:57 Configure a credential helper to remove this warning. See 06:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:57 06:16:57 Login Succeeded 06:16:57 nexus3.edgexfoundry.org:10002 06:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:57 Configure a credential helper to remove this warning. See 06:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:57 06:16:57 Login Succeeded 06:16:57 nexus3.edgexfoundry.org:10003 06:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:57 Configure a credential helper to remove this warning. See 06:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:57 06:16:57 Login Succeeded 06:16:57 nexus3.edgexfoundry.org:10004 06:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:57 Configure a credential helper to remove this warning. See 06:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:57 06:16:57 Login Succeeded 06:16:57 docker.io 06:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:57 Configure a credential helper to remove this warning. See 06:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:57 06:16:57 Login Succeeded 06:16:57 ---> docker-login.sh ends [Pipeline] } 06:16:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:57 ========================================================= 06:16:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:16:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:58 + 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:58 Sending build context to Docker daemon 1.607MB 06:16:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:16:58 Step 2/13 : FROM ${BASE} AS builder 06:16:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:16:58 213ec9aee27d: Pulling fs layer 06:16:58 4583459ba037: Pulling fs layer 06:16:58 93c1e223e6f2: Pulling fs layer 06:16:58 53926ce57604: Pulling fs layer 06:16:58 21b2b0c7a3f4: Pulling fs layer 06:16:58 22ff95d597cd: Pulling fs layer 06:16:58 12d6caf4c0d1: Pulling fs layer 06:16:58 96b7cbca73a9: Pulling fs layer 06:16:58 a7acece74701: Pulling fs layer 06:16:58 22ff95d597cd: Waiting 06:16:58 12d6caf4c0d1: Waiting 06:16:58 96b7cbca73a9: Waiting 06:16:58 21b2b0c7a3f4: Waiting 06:16:58 53926ce57604: Waiting 06:16:58 a7acece74701: Waiting 06:16:58 93c1e223e6f2: Verifying Checksum 06:16:58 93c1e223e6f2: Download complete 06:16:58 4583459ba037: Download complete 06:16:58 21b2b0c7a3f4: Verifying Checksum 06:16:58 21b2b0c7a3f4: Download complete 06:16:58 22ff95d597cd: Verifying Checksum 06:16:58 22ff95d597cd: Download complete 06:16:58 213ec9aee27d: Verifying Checksum 06:16:58 12d6caf4c0d1: Verifying Checksum 06:16:58 12d6caf4c0d1: Download complete 06:16:58 213ec9aee27d: Pull complete 06:16:58 4583459ba037: Pull complete 06:16:58 93c1e223e6f2: Pull complete 06:16:59 a7acece74701: Verifying Checksum 06:16:59 a7acece74701: Download complete 06:16:59 53926ce57604: Verifying Checksum 06:16:59 53926ce57604: Download complete 06:16:59 96b7cbca73a9: Verifying Checksum 06:16:59 96b7cbca73a9: Download complete 06:17:02 53926ce57604: Pull complete 06:17:02 21b2b0c7a3f4: Pull complete 06:17:02 22ff95d597cd: Pull complete 06:17:02 12d6caf4c0d1: Pull complete 06:17:04 96b7cbca73a9: Pull complete 06:17:05 a7acece74701: Pull complete 06:17:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:17:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:17:05 ---> db6d94c90886 06:17:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:17:07 ---> Running in a575e518a8a2 06:17:07 Removing intermediate container a575e518a8a2 06:17:07 ---> 98818af399c1 06:17:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:17:07 ---> Running in dc2f545feace 06:17:07 Removing intermediate container dc2f545feace 06:17:07 ---> 748ec67a2011 06:17:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 06:17:07 ---> Running in ea0b857bab32 06:17:07 Removing intermediate container ea0b857bab32 06:17:07 ---> 12d770114999 06:17:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:17:07 ---> Running in 1e319e273984 06:17:07 Removing intermediate container 1e319e273984 06:17:07 ---> cb0755e7f293 06:17:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:17:07 ---> Running in 2d42d8556d27 06:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:17:08 (1/80) Installing mesa (21.3.8-r2) 06:17:08 (2/80) Installing libxau (1.0.9-r0) 06:17:08 (3/80) Installing libxdmcp (1.1.3-r0) 06:17:08 (4/80) Installing libxcb (1.15-r0) 06:17:08 (5/80) Installing libx11 (1.8-r0) 06:17:08 (6/80) Installing libxext (1.3.4-r0) 06:17:08 (7/80) Installing libxfixes (6.0.0-r0) 06:17:08 (8/80) Installing libxxf86vm (1.1.4-r2) 06:17:08 (9/80) Installing libpciaccess (0.16-r0) 06:17:08 (10/80) Installing libdrm (2.4.110-r0) 06:17:08 (11/80) Installing mesa-glapi (21.3.8-r2) 06:17:08 (12/80) Installing libxshmfence (1.3-r1) 06:17:08 (13/80) Installing mesa-gl (21.3.8-r2) 06:17:08 (14/80) Installing icu-data-full (71.1-r2) 06:17:08 (15/80) Installing libice (1.0.10-r0) 06:17:08 (16/80) Installing libuuid (2.38-r1) 06:17:08 (17/80) Installing libsm (1.2.3-r0) 06:17:08 (18/80) Installing libxt (1.2.1-r0) 06:17:08 (19/80) Installing libxmu (1.1.3-r0) 06:17:08 (20/80) Installing xset (1.2.4-r0) 06:17:08 (21/80) Installing xprop (1.2.5-r0) 06:17:08 (22/80) Installing xdg-utils (1.1.3-r3) 06:17:08 (23/80) Installing dbus-libs (1.14.4-r0) 06:17:08 (24/80) Installing libffi (3.4.2-r1) 06:17:08 (25/80) Installing libintl (0.21-r2) 06:17:08 (26/80) Installing libblkid (2.38-r1) 06:17:08 (27/80) Installing libmount (2.38-r1) 06:17:09 (28/80) Installing pcre (8.45-r2) 06:17:09 (29/80) Installing glib (2.72.1-r0) 06:17:09 (30/80) Installing icu-libs (71.1-r2) 06:17:09 (31/80) Installing libpcre2-16 (10.40-r0) 06:17:09 (32/80) Installing zstd-libs (1.5.2-r1) 06:17:09 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 06:17:09 (34/80) Installing hicolor-icon-theme (0.17-r1) 06:17:09 (35/80) Installing wayland-libs-server (1.20.0-r0) 06:17:09 (36/80) Installing mesa-gbm (21.3.8-r2) 06:17:09 (37/80) Installing wayland-libs-client (1.20.0-r0) 06:17:09 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 06:17:09 (39/80) Installing libxcomposite (0.4.5-r0) 06:17:09 (40/80) Installing libbz2 (1.0.8-r1) 06:17:09 (41/80) Installing libpng (1.6.37-r1) 06:17:09 (42/80) Installing freetype (2.12.1-r0) 06:17:09 (43/80) Installing fontconfig (2.14.0-r0) 06:17:09 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 06:17:09 (45/80) Installing wayland-libs-egl (1.20.0-r0) 06:17:09 (46/80) Installing xkeyboard-config (2.35.1-r0) 06:17:09 (47/80) Installing xz-libs (5.2.5-r1) 06:17:09 (48/80) Installing libxml2 (2.9.14-r2) 06:17:09 (49/80) Installing libxkbcommon (1.4.1-r0) 06:17:09 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 06:17:09 (51/80) Installing mesa-egl (21.3.8-r2) 06:17:09 (52/80) Installing avahi-libs (0.8-r6) 06:17:09 (53/80) Installing nettle (3.7.3-r0) 06:17:09 (54/80) Installing p11-kit (0.24.1-r0) 06:17:09 (55/80) Installing libtasn1 (4.18.0-r0) 06:17:09 (56/80) Installing libunistring (1.0-r0) 06:17:09 (57/80) Installing gnutls (3.7.7-r0) 06:17:09 (58/80) Installing cups-libs (2.4.2-r0) 06:17:09 (59/80) Installing graphite2 (1.3.14-r1) 06:17:09 (60/80) Installing harfbuzz (4.3.0-r0) 06:17:09 (61/80) Installing libevdev (1.12.1-r0) 06:17:09 (62/80) Installing mtdev (1.1.6-r0) 06:17:09 (63/80) Installing eudev-libs (3.2.11-r0) 06:17:09 (64/80) Installing libinput-libs (1.20.1-r0) 06:17:09 (65/80) Installing libjpeg-turbo (2.1.3-r1) 06:17:09 (66/80) Installing xcb-util-wm (0.4.1-r1) 06:17:09 (67/80) Installing xcb-util (0.4.0-r3) 06:17:09 (68/80) Installing xcb-util-image (0.4.0-r1) 06:17:09 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 06:17:09 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 06:17:09 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 06:17:09 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 06:17:09 (73/80) Installing v4l-utils-libs (1.22.1-r1) 06:17:09 (74/80) Installing v4l-utils (1.22.1-r1) 06:17:09 (75/80) Installing udev-init-scripts (35-r0) 06:17:09 Executing udev-init-scripts-35-r0.post-install 06:17:09 (76/80) Installing kmod-libs (29-r2) 06:17:09 (77/80) Installing eudev (3.2.11-r0) 06:17:09 (78/80) Installing eudev-dev (3.2.11-r0) 06:17:09 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:17:09 (80/80) Installing v4l-utils-dev (1.22.1-r1) 06:17:09 Executing busybox-1.35.0-r17.trigger 06:17:09 Executing eudev-3.2.11-r0.trigger 06:17:09 OK: 330 MiB in 131 packages 06:17:11 Removing intermediate container 2d42d8556d27 06:17:11 ---> 3bf5596eb222 06:17:11 Step 8/13 : WORKDIR /device-usb-camera 06:17:11 ---> Running in 11e9ed984c58 06:17:11 Removing intermediate container 11e9ed984c58 06:17:11 ---> 8cc3900b4d6e 06:17:11 Step 9/13 : COPY go.mod vendor* ./ 06:17:11 Still waiting to schedule task 06:17:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-119288’ is offline 06:17:12 ---> 3d4c827f7732 06:17:12 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:12 ---> Running in 31a399955e42 06:17:30 Removing intermediate container 31a399955e42 06:17:30 ---> c5554d0f873b 06:17:30 Step 11/13 : COPY . . 06:17:30 ---> 2d93734fb25f 06:17:30 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:17:30 ---> Running in c3f1cdfa7f89 06:17:30  % Total % Received % Xferd Average Speed Time Time Time Current 06:17:30 Dload Upload Total Spent Left Speed 06:17:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 52767 0 --:--:-- --:--:-- --:--:-- 53100 06:17:30 Removing intermediate container c3f1cdfa7f89 06:17:30 ---> 16272f5e1a26 06:17:30 Step 13/13 : RUN ${MAKE} 06:17:30 ---> Running in f23b8fb9a9b3 06:17:30 noop 06:17:30 Removing intermediate container f23b8fb9a9b3 06:17:30 ---> 11f44863d0bd 06:17:30 Successfully built 11f44863d0bd 06:17:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:30 + docker inspect -f . ci-base-image-x86_64 06:17:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:30 prd-ubuntu20.04-docker-8c-8g-119287 does not seem to be running inside a container 06:17:30 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:17:30 $ docker top 7e0e6db4deb152378a5def3c381dd40fb3f64db68a0fd3bfc68de7cbfea2dc71 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:31 + go version 06:17:31 go version go1.18.7 linux/amd64 [Pipeline] } 06:17:31 $ docker stop --time=1 7e0e6db4deb152378a5def3c381dd40fb3f64db68a0fd3bfc68de7cbfea2dc71 06:17:32 $ docker rm -f 7e0e6db4deb152378a5def3c381dd40fb3f64db68a0fd3bfc68de7cbfea2dc71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:32 + docker inspect -f . ci-base-image-x86_64 06:17:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:33 prd-ubuntu20.04-docker-8c-8g-119287 does not seem to be running inside a container 06:17:33 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:17:33 $ docker top 7054e8ca87a40c3a978105ebe67dd8579cb242dd4217db9435e4684c8612fe6b -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:33 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 06:17:34 + make test 06:17:34 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:17:34 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:17:46 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:17:46 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:17:46 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:17:46 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:17:46 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 06:17:46 $ docker stop --time=1 7054e8ca87a40c3a978105ebe67dd8579cb242dd4217db9435e4684c8612fe6b 06:17:48 $ docker rm -f 7054e8ca87a40c3a978105ebe67dd8579cb242dd4217db9435e4684c8612fe6b [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:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:48 06:17:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:48 latest: Pulling from edgex-lftools-log-publisher 06:17:48 5eb5b503b376: Pulling fs layer 06:17:48 5c69ac0246d0: Pulling fs layer 06:17:48 ec43610c2a17: Pulling fs layer 06:17:48 3a2ae6a8a46f: Pulling fs layer 06:17:48 33b1e0a273af: Pulling fs layer 06:17:48 5d3b04190fa2: Pulling fs layer 06:17:48 2f39f015ded8: Pulling fs layer 06:17:48 33b1e0a273af: Waiting 06:17:48 5d3b04190fa2: Waiting 06:17:48 2f39f015ded8: Waiting 06:17:48 3a2ae6a8a46f: Waiting 06:17:48 5c69ac0246d0: Verifying Checksum 06:17:48 5c69ac0246d0: Download complete 06:17:48 3a2ae6a8a46f: Verifying Checksum 06:17:48 3a2ae6a8a46f: Download complete 06:17:49 ec43610c2a17: Verifying Checksum 06:17:49 ec43610c2a17: Download complete 06:17:49 33b1e0a273af: Verifying Checksum 06:17:49 33b1e0a273af: Download complete 06:17:49 5d3b04190fa2: Verifying Checksum 06:17:49 5d3b04190fa2: Download complete 06:17:49 5eb5b503b376: Verifying Checksum 06:17:49 5eb5b503b376: Download complete 06:17:49 2f39f015ded8: Verifying Checksum 06:17:49 2f39f015ded8: Download complete 06:17:50 5eb5b503b376: Pull complete 06:17:50 5c69ac0246d0: Pull complete 06:17:50 ec43610c2a17: Pull complete 06:17:51 3a2ae6a8a46f: Pull complete 06:17:51 33b1e0a273af: Pull complete 06:17:51 5d3b04190fa2: Pull complete 06:17:55 2f39f015ded8: Pull complete 06:17:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:55 prd-ubuntu20.04-docker-8c-8g-119287 does not seem to be running inside a container 06:17:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:17:56 $ docker top ed5dd01b18f827dd007b66930057f62faacef2c40eaea726a3757f4a0f84a12b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:57 ---> job-cost.sh 06:17:57 lf-activate-venv: SKIPPING 06:17:57 INFO: No Stack... 06:17:57 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:58 INFO: Archiving Costs [Pipeline] sh 06:17:58 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 06:17:58 + cut -d, -f6 [Pipeline] lock 06:17:58 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-17-stack-cost] 06:17:58 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-17-stack-cost] did not exist. Created. 06:17:58 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:58 + echo total: 0.2199999988079071 [Pipeline] stash 06:17:58 Stashed 1 file(s) [Pipeline] } 06:17:58 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-17-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:58 $ docker stop --time=1 ed5dd01b18f827dd007b66930057f62faacef2c40eaea726a3757f4a0f84a12b 06:17:59 $ docker rm -f ed5dd01b18f827dd007b66930057f62faacef2c40eaea726a3757f4a0f84a12b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:18:00 Failed in branch amd64 06:19:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-119290 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 06:19:59 Running in /w/workspace/device-usb-camera/17 [Pipeline] { [Pipeline] checkout 06:19:59 Selected Git installation does not exist. Using Default 06:19:59 The recommended git tool is: NONE 06:20:05 using credential edgex-jenkins-ssh 06:20:05 Cloning the remote Git repository 06:20:05 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:20:05 > git init /w/workspace/device-usb-camera/17 # timeout=10 06:20:06 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:20:06 > git --version # timeout=10 06:20:06 > git --version # 'git version 2.25.1' 06:20:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:06 Verifying host key using known hosts file 06:20:06 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:20:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:07 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:20:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:08 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:20:08 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:20:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:08 Verifying host key using known hosts file 06:20:08 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:20:08 > 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:20:08 Merging remotes/origin/main commit 02bc3351eb583ffe88737b5638435757cc287900 into PR head commit 4aba8cca995d5308e86008ac4043bd77e532bb5a 06:20:09 Merge succeeded, producing 9c1704e4f0d6083865d5c6cdd06303ce847dadc4 06:20:09 Checking out Revision 9c1704e4f0d6083865d5c6cdd06303ce847dadc4 (PR-99) 06:20:08 > git config core.sparsecheckout # timeout=10 06:20:08 > git checkout -f 4aba8cca995d5308e86008ac4043bd77e532bb5a # timeout=10 06:20:08 > git remote # timeout=10 06:20:08 > git config --get remote.origin.url # timeout=10 06:20:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:08 Verifying host key using known hosts file 06:20:08 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:20:08 > git merge 02bc3351eb583ffe88737b5638435757cc287900 # timeout=10 06:20:09 > git rev-parse HEAD^{commit} # timeout=10 06:20:09 > git config core.sparsecheckout # timeout=10 06:20:09 > git checkout -f 9c1704e4f0d6083865d5c6cdd06303ce847dadc4 # timeout=10 06:20:12 Commit message: "Merge commit '02bc3351eb583ffe88737b5638435757cc287900' into HEAD" 06:20:12 > git rev-list --no-walk 4aba8cca995d5308e86008ac4043bd77e532bb5a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:20:13 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:13 Dload Upload Total Spent Left Speed 06:20:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 06:20:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:20:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:20:14 + sudo tee /etc/docker/daemon.new 06:20:14 { 06:20:14 "registry-mirrors": [ 06:20:14 "https://nexus3.edgexfoundry.org:10001" 06:20:14 ], 06:20:14 "bip": "10.250.0.254/24", 06:20:14 "hosts": [ 06:20:14 "tcp://0.0.0.0:5555", 06:20:14 "unix:///var/run/docker.sock" 06:20:14 ], 06:20:14 "mtu": 1458, 06:20:14 "selinux-enabled": true, 06:20:14 "seccomp-profile": "/etc/docker/seccomp.json" 06:20:14 } [Pipeline] sh 06:20:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:20:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:33 provisioning config files... 06:20:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/17@tmp/config4911948207373035686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:33 ---> docker-login.sh 06:20:33 nexus3.edgexfoundry.org:10001 06:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:34 Configure a credential helper to remove this warning. See 06:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:34 06:20:34 Login Succeeded 06:20:34 nexus3.edgexfoundry.org:10002 06:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:35 Configure a credential helper to remove this warning. See 06:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:35 06:20:35 Login Succeeded 06:20:35 nexus3.edgexfoundry.org:10003 06:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:35 Configure a credential helper to remove this warning. See 06:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:35 06:20:35 Login Succeeded 06:20:35 nexus3.edgexfoundry.org:10004 06:20:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:35 Configure a credential helper to remove this warning. See 06:20:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:35 06:20:35 Login Succeeded 06:20:35 docker.io 06:20:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:36 Configure a credential helper to remove this warning. See 06:20:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:36 06:20:36 Login Succeeded 06:20:36 ---> docker-login.sh ends [Pipeline] } 06:20:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:20:36 ========================================================= 06:20:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:20:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:37 + 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:20:37 Sending build context to Docker daemon 1.051MB 06:20:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:20:37 Step 2/13 : FROM ${BASE} AS builder 06:20:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:20:38 9b18e9b68314: Pulling fs layer 06:20:38 35d82f9e3411: Pulling fs layer 06:20:38 e16973657156: Pulling fs layer 06:20:38 fc693d55d65f: Pulling fs layer 06:20:38 7e9fc2657dce: Pulling fs layer 06:20:38 dda99020689f: Pulling fs layer 06:20:38 db1c61fa0a46: Pulling fs layer 06:20:38 891c053d2c06: Pulling fs layer 06:20:38 dda99020689f: Waiting 06:20:38 7e9fc2657dce: Waiting 06:20:38 db1c61fa0a46: Waiting 06:20:38 891c053d2c06: Waiting 06:20:38 e16973657156: Verifying Checksum 06:20:38 e16973657156: Download complete 06:20:38 35d82f9e3411: Verifying Checksum 06:20:38 35d82f9e3411: Download complete 06:20:38 7e9fc2657dce: Verifying Checksum 06:20:38 7e9fc2657dce: Download complete 06:20:38 dda99020689f: Verifying Checksum 06:20:38 dda99020689f: Download complete 06:20:38 9b18e9b68314: Verifying Checksum 06:20:38 9b18e9b68314: Download complete 06:20:39 9b18e9b68314: Pull complete 06:20:39 891c053d2c06: Verifying Checksum 06:20:39 891c053d2c06: Download complete 06:20:39 35d82f9e3411: Pull complete 06:20:40 e16973657156: Pull complete 06:20:40 db1c61fa0a46: Verifying Checksum 06:20:40 db1c61fa0a46: Download complete 06:20:41 fc693d55d65f: Verifying Checksum 06:20:41 fc693d55d65f: Download complete 06:20:53 fc693d55d65f: Pull complete 06:20:53 7e9fc2657dce: Pull complete 06:20:54 dda99020689f: Pull complete 06:21:00 db1c61fa0a46: Pull complete 06:21:03 891c053d2c06: Pull complete 06:21:03 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:21:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:21:03 ---> f96f9c87975a 06:21:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:21:04 ---> Running in 0fda7c1ae4ef 06:21:04 Removing intermediate container 0fda7c1ae4ef 06:21:04 ---> 123a5d93f4b4 06:21:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:21:04 ---> Running in f3a22c17f714 06:21:05 Removing intermediate container f3a22c17f714 06:21:05 ---> e249cc904f03 06:21:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 06:21:05 ---> Running in 06d041ae940e 06:21:05 Removing intermediate container 06d041ae940e 06:21:05 ---> 285ac52a5631 06:21:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:21:05 ---> Running in 5f706129fb8a 06:21:05 Removing intermediate container 5f706129fb8a 06:21:05 ---> 55c3765543ec 06:21:05 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:21:05 ---> Running in 8eea0a8deb88 06:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:21:08 (1/14) Installing libintl (0.21-r2) 06:21:08 (2/14) Installing eudev-libs (3.2.11-r0) 06:21:08 (3/14) Installing libjpeg-turbo (2.1.3-r1) 06:21:08 (4/14) Installing v4l-utils-libs (1.22.1-r1) 06:21:08 (5/14) Installing v4l-utils (1.22.1-r1) 06:21:08 (6/14) Installing udev-init-scripts (35-r0) 06:21:08 Executing udev-init-scripts-35-r0.post-install 06:21:08 (7/14) Installing libblkid (2.38-r1) 06:21:08 (8/14) Installing xz-libs (5.2.5-r1) 06:21:08 (9/14) Installing zstd-libs (1.5.2-r1) 06:21:08 (10/14) Installing kmod-libs (29-r2) 06:21:08 (11/14) Installing eudev (3.2.11-r0) 06:21:08 (12/14) Installing eudev-dev (3.2.11-r0) 06:21:08 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:21:08 (14/14) Installing v4l-utils-dev (1.22.1-r1) 06:21:08 Executing busybox-1.35.0-r17.trigger 06:21:08 Executing eudev-3.2.11-r0.trigger 06:21:08 OK: 228 MiB in 65 packages 06:21:10 Removing intermediate container 8eea0a8deb88 06:21:10 ---> 936aaa60e471 06:21:10 Step 8/13 : WORKDIR /device-usb-camera 06:21:10 ---> Running in 613cc4449cd9 06:21:10 Removing intermediate container 613cc4449cd9 06:21:10 ---> c1e5cfd07e1e 06:21:10 Step 9/13 : COPY go.mod vendor* ./ 06:21:11 ---> 65272df5d2c5 06:21:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:21:11 ---> Running in eec67282ff68 06:22:07 Removing intermediate container eec67282ff68 06:22:07 ---> 2f9f31d78dd2 06:22:07 Step 11/13 : COPY . . 06:22:07 ---> 5cfe7ffcadf1 06:22:07 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:22:07 ---> Running in 192eed6fe205 06:22:07  % Total % Received % Xferd Average Speed Time Time  Time Current 06:22:07  Dload Upload Total Spent Left Speed 06:22:07 0 0 0 0 0  0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6545 0 --:--:-- --:--:-- --:--:-- 6555 100 1062 100 1062 0 0 6520 0 --:--:-- --:--:-- --:--:-- 6515 06:22:07 Removing intermediate container 192eed6fe205 06:22:07 ---> 2abaa2cfca6d 06:22:07 Step 13/13 : RUN ${MAKE} 06:22:07 ---> Running in e22ef9111a2c 06:22:07 noop 06:22:08 Removing intermediate container e22ef9111a2c 06:22:08 ---> cf0c78404588 06:22:08 Successfully built cf0c78404588 06:22:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:08 + docker inspect -f . ci-base-image-arm64 06:22:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:08 prd-ubuntu20.04-docker-arm64-4c-16g-119290 does not seem to be running inside a container 06:22:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@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:22:10 $ docker top 8f29bf6d150abd27df4caec2333807cfbf8e4b7148175ac6049ac58942cd4770 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:10 + go version 06:22:10 go version go1.18.7 linux/arm64 [Pipeline] } 06:22:10 $ docker stop --time=1 8f29bf6d150abd27df4caec2333807cfbf8e4b7148175ac6049ac58942cd4770 06:22:12 $ docker rm -f 8f29bf6d150abd27df4caec2333807cfbf8e4b7148175ac6049ac58942cd4770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:13 + docker inspect -f . ci-base-image-arm64 06:22:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:13 prd-ubuntu20.04-docker-arm64-4c-16g-119290 does not seem to be running inside a container 06:22:13 $ 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/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@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:22:14 $ docker top 5bb6917d60c09dfacd0316ea8b8809aba59ca45dad0186c1893015d217d1e603 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:15 + git config --global --add safe.directory /w/workspace/device-usb-camera/17 [Pipeline] fileExists [Pipeline] sh 06:22:15 + make test 06:22:15 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:22:17 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:24:09 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:24:09 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:24:09 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:24:09 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:24:09 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 06:24:09 $ docker stop --time=1 5bb6917d60c09dfacd0316ea8b8809aba59ca45dad0186c1893015d217d1e603 06:24:11 $ docker rm -f 5bb6917d60c09dfacd0316ea8b8809aba59ca45dad0186c1893015d217d1e603 [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:24:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:12 06:24:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:12 arm64: Pulling from edgex-lftools-log-publisher 06:24:12 8998bd30e6a1: Pulling fs layer 06:24:12 04944245beec: Pulling fs layer 06:24:12 699f458cf7ca: Pulling fs layer 06:24:12 765212b225bb: Pulling fs layer 06:24:12 f23df028b6ca: Pulling fs layer 06:24:12 d65c8cfc05b1: Pulling fs layer 06:24:12 2437ff75d9bd: Pulling fs layer 06:24:12 f23df028b6ca: Waiting 06:24:12 d65c8cfc05b1: Waiting 06:24:12 2437ff75d9bd: Waiting 06:24:12 765212b225bb: Waiting 06:24:12 04944245beec: Verifying Checksum 06:24:12 04944245beec: Download complete 06:24:12 765212b225bb: Verifying Checksum 06:24:12 765212b225bb: Download complete 06:24:12 f23df028b6ca: Verifying Checksum 06:24:12 f23df028b6ca: Download complete 06:24:12 d65c8cfc05b1: Verifying Checksum 06:24:12 d65c8cfc05b1: Download complete 06:24:13 699f458cf7ca: Verifying Checksum 06:24:13 699f458cf7ca: Download complete 06:24:13 8998bd30e6a1: Download complete 06:24:15 2437ff75d9bd: Verifying Checksum 06:24:15 2437ff75d9bd: Download complete 06:24:17 8998bd30e6a1: Pull complete 06:24:18 04944245beec: Pull complete 06:24:20 699f458cf7ca: Pull complete 06:24:20 765212b225bb: Pull complete 06:24:21 f23df028b6ca: Pull complete 06:24:21 d65c8cfc05b1: Pull complete 06:24:43 2437ff75d9bd: Pull complete 06:24:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:43 prd-ubuntu20.04-docker-arm64-4c-16g-119290 does not seem to be running inside a container 06:24:43 $ 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/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@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:24:45 $ docker top e6bac17bb35a62bec488b74ffe0fa769d85127c329338d690f19c065a83cc2c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:46 ---> job-cost.sh 06:24:46 lf-activate-venv: SKIPPING 06:24:46 INFO: No Stack... 06:24:47 INFO: Retrieving Pricing Info for: v3-standard-4 06:24:48 INFO: Archiving Costs [Pipeline] sh 06:24:48 + cat /w/workspace/device-usb-camera/17/archives/cost.csv 06:24:48 + cut -d, -f6 [Pipeline] lock 06:24:48 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-17-stack-cost] 06:24:48 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-17-stack-cost] did not exist. Created. 06:24:48 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:24:49 /w/workspace/device-usb-camera/17@tmp/durable-bd303b6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:24:50 + echo total: 0.10999999940395355 [Pipeline] stash 06:24:50 Warning: overwriting stash ‘stack-cost’ 06:24:50 Stashed 1 file(s) [Pipeline] } 06:24:50 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-17-stack-cost] [Pipeline] // lock [Pipeline] } 06:24:50 $ docker stop --time=1 e6bac17bb35a62bec488b74ffe0fa769d85127c329338d690f19c065a83cc2c8 06:24:52 $ docker rm -f e6bac17bb35a62bec488b74ffe0fa769d85127c329338d690f19c065a83cc2c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:24:52 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:24:53 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 06:24:53 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:24:53 total 16 06:24:53 drwxr-xr-x 3 root root 4096 Nov 15 06:17 . 06:24:53 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 06:17 .. 06:24:53 drwxr-xr-x 2 root root 4096 Nov 15 06:17 cost 06:24:53 -rw-r--r-- 1 root root 89 Nov 15 06:17 cost.csv 06:24:53 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:24:53 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:24:53 total 16 06:24:53 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 06:17 . 06:24:53 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 06:17 .. 06:24:53 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 06:17 cost 06:24:53 -rw-r--r-- 1 jenkins jenkins 89 Nov 15 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:24:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:24:54 ---> package-listing.sh 06:24:54 ++ facter osfamily 06:24:54 ++ tr '[:upper:]' '[:lower:]' 06:24:54 + OS_FAMILY=debian 06:24:54 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 06:24:54 + START_PACKAGES=/tmp/packages_start.txt 06:24:54 + END_PACKAGES=/tmp/packages_end.txt 06:24:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:24:54 + PACKAGES=/tmp/packages_start.txt 06:24:54 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:24:54 + PACKAGES=/tmp/packages_end.txt 06:24:54 + case "${OS_FAMILY}" in 06:24:54 + dpkg -l 06:24:54 + grep '^ii' 06:24:54 + '[' -f /tmp/packages_start.txt ']' 06:24:54 + '[' -f /tmp/packages_end.txt ']' 06:24:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:24:54 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:24:54 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 06:24:54 + 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:24:54 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:24:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:55 prd-ubuntu20.04-docker-8c-8g-119287 does not seem to be running inside a container 06:24:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:24:55 $ docker top 4ea96eeb72c53622e3419e641fd01f16fde825ddec3cc9443887090a1a0be0c6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:56 + touch /tmp/pre-build-complete [Pipeline] sh 06:24:56 + mkdir -p /var/log/sysstat [Pipeline] sh 06:24:56 + ls /var/log/sa-host 06:24:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:56 provisioning config files... 06:24:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config5027926481115137878tmp [Pipeline] { [Pipeline] echo 06:24:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:57 ---> create-netrc.sh [Pipeline] } 06:24:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:24:57 ---> python-tools-install.sh [Pipeline] echo 06:24:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:57 ---> sudo-logs.sh 06:24:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:24:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:58 ---> job-cost.sh 06:24:58 lf-activate-venv: SKIPPING 06:24:58 DEBUG: total: 0.2199999988079071 06:24:58 INFO: Retrieving Stack Cost... 06:24:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:24:58 INFO: Archiving Costs [Pipeline] echo 06:24:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:24:59 ---> logs-deploy.sh 06:24:59 lf-activate-venv: SKIPPING 06:24:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/17 06:24:59 INFO: archiving workspace using pattern(s): 06:25:00 Archives upload complete. 06:25:00 INFO: archiving logs to Nexus 06:25:01 ---> uname -a: 06:25:01 Linux prd-ubuntu20-04-docker-8c-8g-119287 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:25:01 06:25:01 06:25:01 ---> lscpu: 06:25:01 Architecture: x86_64 06:25:01 CPU op-mode(s): 32-bit, 64-bit 06:25:01 Byte Order: Little Endian 06:25:01 Address sizes: 40 bits physical, 48 bits virtual 06:25:01 CPU(s): 8 06:25:01 On-line CPU(s) list: 0-7 06:25:01 Thread(s) per core: 1 06:25:01 Core(s) per socket: 1 06:25:01 Socket(s): 8 06:25:01 NUMA node(s): 1 06:25:01 Vendor ID: AuthenticAMD 06:25:01 CPU family: 23 06:25:01 Model: 49 06:25:01 Model name: AMD EPYC-Rome Processor 06:25:01 Stepping: 0 06:25:01 CPU MHz: 2799.988 06:25:01 BogoMIPS: 5599.97 06:25:01 Virtualization: AMD-V 06:25:01 Hypervisor vendor: KVM 06:25:01 Virtualization type: full 06:25:01 L1d cache: 256 KiB 06:25:01 L1i cache: 256 KiB 06:25:01 L2 cache: 4 MiB 06:25:01 L3 cache: 128 MiB 06:25:01 NUMA node0 CPU(s): 0-7 06:25:01 Vulnerability Itlb multihit: Not affected 06:25:01 Vulnerability L1tf: Not affected 06:25:01 Vulnerability Mds: Not affected 06:25:01 Vulnerability Meltdown: Not affected 06:25:01 Vulnerability Mmio stale data: Not affected 06:25:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:25:01 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:25:01 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:25:01 Vulnerability Srbds: Not affected 06:25:01 Vulnerability Tsx async abort: Not affected 06:25:01 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:25:01 06:25:01 06:25:01 ---> nproc: 06:25:01 8 06:25:01 06:25:01 06:25:01 ---> df -h: 06:25:01 Filesystem Size Used Avail Use% Mounted on 06:25:01 overlay 155G 12G 144G 8% / 06:25:01 tmpfs 64M 0 64M 0% /dev 06:25:01 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:25:01 shm 64M 0 64M 0% /dev/shm 06:25:01 /dev/vda1 155G 12G 144G 8% /facter-os 06:25:01 06:25:01 06:25:01 ---> sar -b -r -n DEV: 06:25:01 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-119287) 11/15/22 _x86_64_ (8 CPU) 06:25:01 06:25:01 06:16:03 LINUX RESTART (8 CPU) 06:25:01 06:25:01 06:17:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:25:01 06:18:01 230.49 1.51 228.98 0.00 31.05 95757.74 0.00 06:25:01 06:19:01 1.17 0.00 1.17 0.00 0.00 19.33 0.00 06:25:01 06:20:01 1.32 0.00 1.32 0.00 0.00 13.75 0.00 06:25:01 06:21:01 1.15 0.00 1.15 0.00 0.00 15.06 0.00 06:25:01 06:22:01 37.26 9.33 27.93 0.00 2884.32 4746.94 0.00 06:25:01 06:23:01 2.02 0.00 2.02 0.00 0.00 22.00 0.00 06:25:01 06:24:01 1.13 0.00 1.13 0.00 0.00 13.06 0.00 06:25:01 Average: 38.76 1.55 37.21 0.00 417.39 14175.15 0.00 06:25:01 06:25:01 06:17:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:25:01 06:18:01 27919844 31578124 726156 2.21 147856 3668484 1737228 5.12 1165136 3308932 0 06:25:01 06:19:01 27933288 31591520 713560 2.17 147900 3668540 1737228 5.12 1150760 3308880 180 06:25:01 06:20:01 27933080 31591352 713564 2.17 147916 3668540 1737228 5.12 1149616 3308880 172 06:25:01 06:21:01 27937860 31596224 708628 2.16 147956 3668544 1737228 5.12 1145156 3308940 52 06:25:01 06:22:01 27649888 31580892 705704 2.15 166520 3917484 1810116 5.33 1297056 3419304 52 06:25:01 06:23:01 27657220 31588344 698188 2.12 166608 3917484 1810116 5.33 1290240 3419312 16 06:25:01 06:24:01 27657060 31588304 698108 2.12 166656 3917480 1810116 5.33 1290212 3419320 8 06:25:01 Average: 27812606 31587823 709130 2.16 155916 3775222 1768466 5.21 1212597 3356224 69 06:25:01 06:25:01 06:17:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:25:01 06:18:01 ens3 351.35 254.38 5110.72 40.78 0.00 0.00 0.00 0.00 06:25:01 06:18:01 docker0 166.53 220.44 13.68 2514.59 0.00 0.00 0.00 0.00 06:25:01 06:18:01 lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 06:25:01 06:19:01 ens3 1.32 0.45 0.41 0.30 0.00 0.00 0.00 0.00 06:25:01 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 06:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:25:01 06:20:01 ens3 3.08 1.73 11.83 0.18 0.00 0.00 0.00 0.00 06:25:01 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 06:21:01 ens3 0.48 0.27 0.26 0.20 0.00 0.00 0.00 0.00 06:25:01 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 06:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:25:01 06:22:01 ens3 55.21 31.06 1342.28 2.48 0.00 0.00 0.00 0.00 06:25:01 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 06:22:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 06:25:01 06:23:01 ens3 0.28 0.15 0.07 0.01 0.00 0.00 0.00 0.00 06:25:01 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 06:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:25:01 06:24:01 ens3 0.08 0.02 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 06:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 06:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:25:01 Average: ens3 58.13 40.64 913.64 6.20 0.00 0.00 0.00 0.00 06:25:01 Average: docker0 23.45 31.04 1.93 354.08 0.00 0.00 0.00 0.00 06:25:01 Average: lo 0.28 0.28 0.02 0.02 0.00 0.00 0.00 0.00 06:25:01 06:25:01 06:25:01 ---> sar -P ALL: 06:25:01 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-119287) 11/15/22 _x86_64_ (8 CPU) 06:25:01 06:25:01 06:16:03 LINUX RESTART (8 CPU) 06:25:01 06:25:01 06:17:02 CPU %user %nice %system %iowait %steal %idle 06:25:01 06:18:01 all 21.62 0.00 6.38 1.46 0.08 70.46 06:25:01 06:18:01 0 21.96 0.00 5.97 2.77 0.07 69.23 06:25:01 06:18:01 1 22.04 0.00 6.73 0.07 0.07 71.09 06:25:01 06:18:01 2 20.83 0.00 7.66 1.39 0.07 70.05 06:25:01 06:18:01 3 21.16 0.00 6.71 3.02 0.07 69.04 06:25:01 06:18:01 4 22.28 0.00 5.66 1.69 0.09 70.29 06:25:01 06:18:01 5 22.39 0.00 6.34 1.73 0.09 69.45 06:25:01 06:18:01 6 20.65 0.00 6.37 0.91 0.09 71.99 06:25:01 06:18:01 7 21.64 0.00 5.64 0.12 0.09 72.52 06:25:01 06:19:01 all 0.03 0.00 0.02 0.00 0.01 99.93 06:25:01 06:19:01 0 0.02 0.00 0.02 0.00 0.03 99.93 06:25:01 06:19:01 1 0.02 0.00 0.02 0.02 0.02 99.93 06:25:01 06:19:01 2 0.05 0.00 0.02 0.02 0.02 99.90 06:25:01 06:19:01 3 0.02 0.00 0.00 0.00 0.00 99.98 06:25:01 06:19:01 4 0.02 0.00 0.02 0.00 0.00 99.97 06:25:01 06:19:01 5 0.03 0.00 0.02 0.00 0.02 99.93 06:25:01 06:19:01 6 0.02 0.00 0.02 0.00 0.02 99.95 06:25:01 06:19:01 7 0.07 0.00 0.05 0.00 0.02 99.87 06:25:01 06:20:01 all 0.04 0.00 0.02 0.00 0.01 99.93 06:25:01 06:20:01 0 0.10 0.00 0.03 0.00 0.02 99.85 06:25:01 06:20:01 1 0.00 0.00 0.00 0.02 0.00 99.98 06:25:01 06:20:01 2 0.03 0.00 0.00 0.00 0.00 99.97 06:25:01 06:20:01 3 0.00 0.00 0.02 0.00 0.02 99.97 06:25:01 06:20:01 4 0.05 0.00 0.03 0.00 0.02 99.90 06:25:01 06:20:01 5 0.08 0.00 0.03 0.00 0.02 99.87 06:25:01 06:20:01 6 0.02 0.00 0.02 0.00 0.00 99.97 06:25:01 06:20:01 7 0.05 0.00 0.03 0.00 0.00 99.92 06:25:01 06:21:01 all 0.02 0.00 0.03 0.01 0.01 99.94 06:25:01 06:21:01 0 0.02 0.00 0.03 0.00 0.02 99.93 06:25:01 06:21:01 1 0.02 0.00 0.03 0.00 0.02 99.93 06:25:01 06:21:01 2 0.02 0.00 0.02 0.03 0.00 99.93 06:25:01 06:21:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:25:01 06:21:01 4 0.03 0.00 0.02 0.00 0.02 99.93 06:25:01 06:21:01 5 0.03 0.00 0.03 0.02 0.02 99.90 06:25:01 06:21:01 6 0.02 0.00 0.03 0.00 0.00 99.95 06:25:01 06:21:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:25:01 06:22:01 all 1.16 0.00 0.79 0.28 0.02 97.75 06:25:01 06:22:01 0 1.37 0.00 0.48 0.17 0.03 97.95 06:25:01 06:22:01 1 0.52 0.00 0.60 0.30 0.02 98.57 06:25:01 06:22:01 2 1.05 0.00 0.58 1.02 0.02 97.33 06:25:01 06:22:01 3 2.29 0.00 1.40 0.38 0.02 95.91 06:25:01 06:22:01 4 0.89 0.00 0.52 0.05 0.02 98.53 06:25:01 06:22:01 5 0.83 0.00 1.68 0.05 0.02 97.42 06:25:01 06:22:01 6 1.82 0.00 0.55 0.03 0.03 97.57 06:25:01 06:22:01 7 0.50 0.00 0.52 0.20 0.02 98.76 06:25:01 06:23:01 all 0.03 0.00 0.02 0.01 0.01 99.95 06:25:01 06:23:01 0 0.03 0.00 0.02 0.00 0.02 99.93 06:25:01 06:23:01 1 0.03 0.00 0.00 0.02 0.00 99.95 06:25:01 06:23:01 2 0.02 0.00 0.02 0.03 0.00 99.93 06:25:01 06:23:01 3 0.00 0.00 0.00 0.00 0.00 100.00 06:25:01 06:23:01 4 0.02 0.00 0.02 0.00 0.02 99.95 06:25:01 06:23:01 5 0.05 0.00 0.02 0.00 0.00 99.93 06:25:01 06:23:01 6 0.03 0.00 0.05 0.00 0.00 99.92 06:25:01 06:23:01 7 0.02 0.00 0.02 0.00 0.02 99.95 06:25:01 06:24:01 all 0.02 0.00 0.01 0.01 0.01 99.95 06:25:01 06:24:01 0 0.03 0.00 0.02 0.00 0.02 99.93 06:25:01 06:24:01 1 0.02 0.00 0.00 0.02 0.02 99.95 06:25:01 06:24:01 2 0.02 0.00 0.00 0.03 0.00 99.95 06:25:01 06:24:01 3 0.00 0.00 0.02 0.00 0.00 99.98 06:25:01 06:24:01 4 0.03 0.00 0.03 0.00 0.02 99.92 06:25:01 06:24:01 5 0.02 0.00 0.00 0.00 0.02 99.97 06:25:01 06:24:01 6 0.03 0.00 0.02 0.00 0.02 99.93 06:25:01 06:24:01 7 0.02 0.00 0.02 0.00 0.00 99.97 06:25:01 Average: all 3.19 0.00 1.01 0.25 0.02 95.53 06:25:01 Average: 0 3.28 0.00 0.92 0.41 0.03 95.37 06:25:01 Average: 1 3.15 0.00 1.03 0.06 0.02 95.74 06:25:01 Average: 2 3.06 0.00 1.16 0.36 0.01 95.41 06:25:01 Average: 3 3.27 0.00 1.14 0.47 0.01 95.10 06:25:01 Average: 4 3.26 0.00 0.88 0.24 0.02 95.60 06:25:01 Average: 5 3.25 0.00 1.13 0.25 0.02 95.34 06:25:01 Average: 6 3.15 0.00 0.98 0.13 0.02 95.72 06:25:01 Average: 7 3.10 0.00 0.88 0.05 0.02 95.96 06:25:01 06:25:01 06:25:01