Pull request #115 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at a13c0d85fe61587dda65b2f8a27bf555b431ec25 rather than 72e233621482b0a717e29bfb6eaf093ebf1ae044 Obtained Jenkinsfile from a13c0d85fe61587dda65b2f8a27bf555b431ec25 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-ssh13378988048369028002.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-ssh2790266749374401762.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-115/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-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1179267063832389991.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-ssh5009880174778601320.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-115/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-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1003280388334973152.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 ‘prd-ubuntu20.04-docker-8c-8g-120649’ is offline Running on prd-ubuntu20.04-docker-8c-8g-120651 in /w/workspace/foundry_device-usb-camera_PR-115 [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/foundry_device-usb-camera_PR-115 # 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 a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 72e233621482b0a717e29bfb6eaf093ebf1ae044 > 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/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72e233621482b0a717e29bfb6eaf093ebf1ae044 # timeout=10 Merge succeeded, producing 72e233621482b0a717e29bfb6eaf093ebf1ae044 Checking out Revision 72e233621482b0a717e29bfb6eaf093ebf1ae044 (PR-115) Commit message: "docs: update toc" > 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 a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72e233621482b0a717e29bfb6eaf093ebf1ae044 # timeout=10 > git rev-list --no-walk 6602ef8f168ad503bc4907e116fa7b24b99b6d1d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:53:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:53:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:53:50 ========================================================= 16:53:50 EdgeX Global Pipelines Version Info 16:53:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:53:51 ------------------- 16:53:51 stable info: 16:53:51 ------------------- 16:53:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:53:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:53:51 Message: update stable to v1.0.244 16:53:51 ------------------- 16:53:51 experimental info: 16:53:51 ------------------- 16:53:51 Commited By: **** collab-it+edgex@linuxfoundation.org 16:53:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:53:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72e233621482b0a717e29bfb6eaf093ebf1ae044 [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72e2336 [Pipeline] echo 16:53:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:53:52 provisioning config files... 16:53:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config14088373611127710026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:52 ---> docker-login.sh 16:53:52 nexus3.edgexfoundry.org:10001 16:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:53 Configure a credential helper to remove this warning. See 16:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:53 16:53:53 Login Succeeded 16:53:53 nexus3.edgexfoundry.org:10002 16:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:53 Configure a credential helper to remove this warning. See 16:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:53 16:53:53 Login Succeeded 16:53:53 nexus3.edgexfoundry.org:10003 16:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:53 Configure a credential helper to remove this warning. See 16:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:53 16:53:53 Login Succeeded 16:53:53 nexus3.edgexfoundry.org:10004 16:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:53 Configure a credential helper to remove this warning. See 16:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:53 16:53:53 Login Succeeded 16:53:53 docker.io 16:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:53 Configure a credential helper to remove this warning. See 16:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:53 16:53:53 Login Succeeded 16:53:53 ---> docker-login.sh ends [Pipeline] } 16:53:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:53:53 + git rev-list -1 --merges 72e233621482b0a717e29bfb6eaf093ebf1ae044~1..72e233621482b0a717e29bfb6eaf093ebf1ae044 [Pipeline] echo 16:53:54 -----------> git rev-list -1 --merges 72e233621482b0a717e29bfb6eaf093ebf1ae044~1..72e233621482b0a717e29bfb6eaf093ebf1ae044 72e233621482b0a717e29bfb6eaf093ebf1ae044 [false] [Pipeline] sh 16:53:54 + git log --format=format:%s -1 72e233621482b0a717e29bfb6eaf093ebf1ae044 [Pipeline] echo 16:53:54 ========================================================= 16:53:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:53:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:53:54 + git log --format=format:%s -1 72e233621482b0a717e29bfb6eaf093ebf1ae044 [Pipeline] echo 16:53:54 [semverPrep] GIT_COMMIT: 72e233621482b0a717e29bfb6eaf093ebf1ae044, Commit Message: docs: update toc [Pipeline] echo 16:53:54 [semverPrep] This is not a build commit. [Pipeline] sh 16:53:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:53:55 + grep -v github /etc/ssh/ssh_known_hosts 16:53:55 + [ -e /tmp/ssh_known_hosts ] 16:53:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:53:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:53:55 + sudo tee -a /etc/ssh/ssh_known_hosts 16:53:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:55 16:53:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:55 0.1.4: Pulling from edgex-devops/py-git-semver 16:53:55 b85a868b505f: Pulling fs layer 16:53:55 e2be974225ed: Pulling fs layer 16:53:55 339a4e72a1f5: Pulling fs layer 16:53:55 988bab9f4d93: Pulling fs layer 16:53:55 1469e6f7b9e6: Pulling fs layer 16:53:55 eaf3925da568: Pulling fs layer 16:53:55 bab4dde63d76: Pulling fs layer 16:53:55 bde34c3a00c8: Pulling fs layer 16:53:55 b352a97aabf1: Pulling fs layer 16:53:55 4872d77fe225: Pulling fs layer 16:53:55 5851b861e8e6: Pulling fs layer 16:53:55 bab4dde63d76: Waiting 16:53:55 988bab9f4d93: Waiting 16:53:55 bde34c3a00c8: Waiting 16:53:55 eaf3925da568: Waiting 16:53:55 b352a97aabf1: Waiting 16:53:55 4872d77fe225: Waiting 16:53:55 e2be974225ed: Download complete 16:53:55 988bab9f4d93: Verifying Checksum 16:53:55 988bab9f4d93: Download complete 16:53:55 339a4e72a1f5: Verifying Checksum 16:53:55 339a4e72a1f5: Download complete 16:53:55 1469e6f7b9e6: Verifying Checksum 16:53:55 1469e6f7b9e6: Download complete 16:53:55 eaf3925da568: Download complete 16:53:55 bde34c3a00c8: Verifying Checksum 16:53:55 bde34c3a00c8: Download complete 16:53:55 b352a97aabf1: Verifying Checksum 16:53:55 b352a97aabf1: Download complete 16:53:55 4872d77fe225: Download complete 16:53:55 5851b861e8e6: Verifying Checksum 16:53:55 5851b861e8e6: Download complete 16:53:55 b85a868b505f: Download complete 16:53:56 bab4dde63d76: Verifying Checksum 16:53:56 bab4dde63d76: Download complete 16:53:57 b85a868b505f: Pull complete 16:53:57 e2be974225ed: Pull complete 16:53:57 339a4e72a1f5: Pull complete 16:53:58 988bab9f4d93: Pull complete 16:53:58 1469e6f7b9e6: Pull complete 16:53:58 eaf3925da568: Pull complete 16:54:00 bab4dde63d76: Pull complete 16:54:00 bde34c3a00c8: Pull complete 16:54:00 b352a97aabf1: Pull complete 16:54:00 4872d77fe225: Pull complete 16:54:00 5851b861e8e6: Pull complete 16:54:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:54:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:00 prd-ubuntu20.04-docker-8c-8g-120651 does not seem to be running inside a container 16:54:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:54:02 $ docker top 51584c44bd2fc20d7e600cd42d1a7e10441b556049120e8793459e9659dbfccb -eo pid,comm 16:54:02 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). 16:54:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:02 [ssh-agent] Looking for ssh-agent implementation... 16:54:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:02 $ docker exec 51584c44bd2fc20d7e600cd42d1a7e10441b556049120e8793459e9659dbfccb ssh-agent 16:54:02 SSH_AUTH_SOCK=/tmp/ssh-ZLXZjCTQEngK/agent.32 16:54:02 SSH_AGENT_PID=38 16:54:02 Running ssh-add (command line suppressed) 16:54:02 Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_10105255033870468182.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_10105255033870468182.key) 16:54:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:02 + git tag --points-at HEAD [Pipeline] } 16:54:02 $ docker exec --env ******** --env ******** 51584c44bd2fc20d7e600cd42d1a7e10441b556049120e8793459e9659dbfccb ssh-agent -k 16:54:02 unset SSH_AUTH_SOCK; 16:54:02 unset SSH_AGENT_PID; 16:54:02 echo Agent pid 38 killed; 16:54:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:54:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:02 [ssh-agent] Looking for ssh-agent implementation... 16:54:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:03 $ docker exec 51584c44bd2fc20d7e600cd42d1a7e10441b556049120e8793459e9659dbfccb ssh-agent 16:54:03 SSH_AUTH_SOCK=/tmp/ssh-eRYPQgGPehmR/agent.70 16:54:03 SSH_AGENT_PID=76 16:54:03 Running ssh-add (command line suppressed) 16:54:03 Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_12703253519590596956.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_12703253519590596956.key) 16:54:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:03 + git semver init 16:54:03 2022-12-06 16:54:03,793 [run_init] DEBUG init version:0.0.0 force:False 16:54:03 2022-12-06 16:54:03,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-115/.semver 16:54:03 2022-12-06 16:54:03,794 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-115/.semver 16:54:03 2022-12-06 16:54:03,795 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-115/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-115, universal_newlines=False, shell=None, istream=None) 16:54:04 2022-12-06 16:54:04,616 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-115/.git/info/exclude 16:54:04 2022-12-06 16:54:04,616 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 with force:False 16:54:04 2022-12-06 16:54:04,616 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 16:54:04 2022-12-06 16:54:04,619 [execute] INFO git cat-file --batch-check 16:54:04 2022-12-06 16:54:04,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) 16:54:04 2022-12-06 16:54:04,626 [execute] INFO git cat-file --batch 16:54:04 2022-12-06 16:54:04,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) 16:54:04 2022-12-06 16:54:04,633 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 16:54:04 0.0.0 [Pipeline] } 16:54:04 $ docker exec --env ******** --env ******** 51584c44bd2fc20d7e600cd42d1a7e10441b556049120e8793459e9659dbfccb ssh-agent -k 16:54:04 unset SSH_AUTH_SOCK; 16:54:04 unset SSH_AGENT_PID; 16:54:04 echo Agent pid 76 killed; 16:54:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:05 + git semver [Pipeline] } 16:54:05 $ docker stop --time=1 51584c44bd2fc20d7e600cd42d1a7e10441b556049120e8793459e9659dbfccb 16:54:06 $ docker rm -f 51584c44bd2fc20d7e600cd42d1a7e10441b556049120e8793459e9659dbfccb [Pipeline] // withDockerContainer [Pipeline] sh 16:54:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:54:07 Stashed 1 file(s) [Pipeline] echo 16:54:07 [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 16:54:07 provisioning config files... 16:54:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config16480004781875840626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:07 ---> docker-login.sh 16:54:07 nexus3.edgexfoundry.org:10001 16:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:07 Configure a credential helper to remove this warning. See 16:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:07 16:54:07 Login Succeeded 16:54:07 nexus3.edgexfoundry.org:10002 16:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:07 Configure a credential helper to remove this warning. See 16:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:07 16:54:07 Login Succeeded 16:54:07 nexus3.edgexfoundry.org:10003 16:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:07 Configure a credential helper to remove this warning. See 16:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:07 16:54:07 Login Succeeded 16:54:07 nexus3.edgexfoundry.org:10004 16:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:07 Configure a credential helper to remove this warning. See 16:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:07 16:54:07 Login Succeeded 16:54:07 docker.io 16:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:08 Configure a credential helper to remove this warning. See 16:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:08 16:54:08 Login Succeeded 16:54:08 ---> docker-login.sh ends [Pipeline] } 16:54:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:54:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:08 ========================================================= 16:54:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:54:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:08 + 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 . 16:54:08 Sending build context to Docker daemon 1.634MB 16:54:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:54:08 Step 2/13 : FROM ${BASE} AS builder 16:54:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:54:08 213ec9aee27d: Pulling fs layer 16:54:08 4583459ba037: Pulling fs layer 16:54:08 93c1e223e6f2: Pulling fs layer 16:54:08 53926ce57604: Pulling fs layer 16:54:08 21b2b0c7a3f4: Pulling fs layer 16:54:08 22ff95d597cd: Pulling fs layer 16:54:08 12d6caf4c0d1: Pulling fs layer 16:54:08 96b7cbca73a9: Pulling fs layer 16:54:08 a7acece74701: Pulling fs layer 16:54:08 22ff95d597cd: Waiting 16:54:08 53926ce57604: Waiting 16:54:08 a7acece74701: Waiting 16:54:08 12d6caf4c0d1: Waiting 16:54:08 96b7cbca73a9: Waiting 16:54:08 21b2b0c7a3f4: Waiting 16:54:08 93c1e223e6f2: Verifying Checksum 16:54:08 93c1e223e6f2: Download complete 16:54:08 4583459ba037: Verifying Checksum 16:54:08 4583459ba037: Download complete 16:54:08 21b2b0c7a3f4: Verifying Checksum 16:54:08 21b2b0c7a3f4: Download complete 16:54:08 22ff95d597cd: Download complete 16:54:08 213ec9aee27d: Verifying Checksum 16:54:08 213ec9aee27d: Download complete 16:54:08 12d6caf4c0d1: Verifying Checksum 16:54:08 12d6caf4c0d1: Download complete 16:54:08 213ec9aee27d: Pull complete 16:54:09 4583459ba037: Pull complete 16:54:09 93c1e223e6f2: Pull complete 16:54:09 a7acece74701: Verifying Checksum 16:54:09 a7acece74701: Download complete 16:54:09 96b7cbca73a9: Download complete 16:54:09 53926ce57604: Download complete 16:54:13 53926ce57604: Pull complete 16:54:13 21b2b0c7a3f4: Pull complete 16:54:13 22ff95d597cd: Pull complete 16:54:13 12d6caf4c0d1: Pull complete 16:54:15 96b7cbca73a9: Pull complete 16:54:16 a7acece74701: Pull complete 16:54:16 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:54:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:54:16 ---> db6d94c90886 16:54:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:54:18 ---> Running in f09ca065ebe2 16:54:18 Removing intermediate container f09ca065ebe2 16:54:18 ---> 803deefd7179 16:54:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:54:18 ---> Running in 251202482d81 16:54:18 Removing intermediate container 251202482d81 16:54:18 ---> 35550acaaac2 16:54:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:54:18 ---> Running in 733d857a6faf 16:54:18 Removing intermediate container 733d857a6faf 16:54:18 ---> 7e87b7627833 16:54:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:54:18 ---> Running in b603482d575a 16:54:18 Removing intermediate container b603482d575a 16:54:18 ---> 3ed63ec8b4f4 16:54:18 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:18 ---> Running in 9bf4a9509d0e 16:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:54:19 (1/80) Installing mesa (21.3.8-r2) 16:54:19 (2/80) Installing libxau (1.0.9-r0) 16:54:19 (3/80) Installing libxdmcp (1.1.3-r0) 16:54:19 (4/80) Installing libxcb (1.15-r0) 16:54:19 (5/80) Installing libx11 (1.8-r0) 16:54:19 (6/80) Installing libxext (1.3.4-r0) 16:54:19 (7/80) Installing libxfixes (6.0.0-r0) 16:54:19 (8/80) Installing libxxf86vm (1.1.4-r2) 16:54:19 (9/80) Installing libpciaccess (0.16-r0) 16:54:19 (10/80) Installing libdrm (2.4.110-r0) 16:54:19 (11/80) Installing mesa-glapi (21.3.8-r2) 16:54:19 (12/80) Installing libxshmfence (1.3-r1) 16:54:19 (13/80) Installing mesa-gl (21.3.8-r2) 16:54:19 (14/80) Installing icu-data-full (71.1-r2) 16:54:19 (15/80) Installing libice (1.0.10-r0) 16:54:19 (16/80) Installing libuuid (2.38-r1) 16:54:19 (17/80) Installing libsm (1.2.3-r0) 16:54:19 (18/80) Installing libxt (1.2.1-r0) 16:54:19 (19/80) Installing libxmu (1.1.3-r0) 16:54:19 (20/80) Installing xset (1.2.4-r0) 16:54:19 (21/80) Installing xprop (1.2.5-r0) 16:54:19 (22/80) Installing xdg-utils (1.1.3-r3) 16:54:19 (23/80) Installing dbus-libs (1.14.4-r0) 16:54:19 (24/80) Installing libffi (3.4.2-r1) 16:54:19 (25/80) Installing libintl (0.21-r2) 16:54:19 (26/80) Installing libblkid (2.38-r1) 16:54:19 (27/80) Installing libmount (2.38-r1) 16:54:19 (28/80) Installing pcre (8.45-r2) 16:54:19 (29/80) Installing glib (2.72.1-r0) 16:54:19 (30/80) Installing icu-libs (71.1-r2) 16:54:19 (31/80) Installing libpcre2-16 (10.40-r0) 16:54:19 (32/80) Installing zstd-libs (1.5.2-r1) 16:54:19 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 16:54:19 (34/80) Installing hicolor-icon-theme (0.17-r1) 16:54:19 (35/80) Installing wayland-libs-server (1.20.0-r0) 16:54:19 (36/80) Installing mesa-gbm (21.3.8-r2) 16:54:19 (37/80) Installing wayland-libs-client (1.20.0-r0) 16:54:19 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 16:54:19 (39/80) Installing libxcomposite (0.4.5-r0) 16:54:19 (40/80) Installing libbz2 (1.0.8-r1) 16:54:19 (41/80) Installing libpng (1.6.37-r1) 16:54:19 (42/80) Installing freetype (2.12.1-r0) 16:54:20 (43/80) Installing fontconfig (2.14.0-r0) 16:54:20 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 16:54:20 (45/80) Installing wayland-libs-egl (1.20.0-r0) 16:54:20 (46/80) Installing xkeyboard-config (2.35.1-r0) 16:54:20 (47/80) Installing xz-libs (5.2.5-r1) 16:54:20 (48/80) Installing libxml2 (2.9.14-r2) 16:54:20 (49/80) Installing libxkbcommon (1.4.1-r0) 16:54:20 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 16:54:20 (51/80) Installing mesa-egl (21.3.8-r2) 16:54:20 (52/80) Installing avahi-libs (0.8-r6) 16:54:20 (53/80) Installing nettle (3.7.3-r0) 16:54:20 (54/80) Installing p11-kit (0.24.1-r0) 16:54:20 (55/80) Installing libtasn1 (4.18.0-r0) 16:54:20 (56/80) Installing libunistring (1.0-r0) 16:54:20 (57/80) Installing gnutls (3.7.7-r0) 16:54:20 (58/80) Installing cups-libs (2.4.2-r0) 16:54:20 (59/80) Installing graphite2 (1.3.14-r1) 16:54:20 (60/80) Installing harfbuzz (4.3.0-r0) 16:54:20 (61/80) Installing libevdev (1.12.1-r0) 16:54:20 (62/80) Installing mtdev (1.1.6-r0) 16:54:20 (63/80) Installing eudev-libs (3.2.11-r0) 16:54:20 (64/80) Installing libinput-libs (1.20.1-r0) 16:54:20 (65/80) Installing libjpeg-turbo (2.1.3-r1) 16:54:20 (66/80) Installing xcb-util-wm (0.4.1-r1) 16:54:20 (67/80) Installing xcb-util (0.4.0-r3) 16:54:20 (68/80) Installing xcb-util-image (0.4.0-r1) 16:54:20 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 16:54:20 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 16:54:20 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 16:54:20 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 16:54:20 (73/80) Installing v4l-utils-libs (1.22.1-r1) 16:54:20 (74/80) Installing v4l-utils (1.22.1-r1) 16:54:20 (75/80) Installing udev-init-scripts (35-r0) 16:54:20 Executing udev-init-scripts-35-r0.post-install 16:54:20 (76/80) Installing kmod-libs (29-r2) 16:54:20 (77/80) Installing eudev (3.2.11-r0) 16:54:20 (78/80) Installing eudev-dev (3.2.11-r0) 16:54:20 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:54:20 (80/80) Installing v4l-utils-dev (1.22.1-r1) 16:54:20 Executing busybox-1.35.0-r17.trigger 16:54:20 Executing eudev-3.2.11-r0.trigger 16:54:20 OK: 330 MiB in 131 packages 16:54:22 Still waiting to schedule task 16:54:22 ‘prd-ubuntu20.04-docker-arm64-4c-16g-120650’ is offline 16:54:22 Removing intermediate container 9bf4a9509d0e 16:54:22 ---> 9f585a9c3806 16:54:22 Step 8/13 : WORKDIR /device-usb-camera 16:54:22 ---> Running in eac4159eecb3 16:54:22 Removing intermediate container eac4159eecb3 16:54:22 ---> 3e7122bade2c 16:54:22 Step 9/13 : COPY go.mod vendor* ./ 16:54:22 ---> 3ff5a4a80c52 16:54:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:22 ---> Running in 8c2ff6ae2bcf 16:54:40 Removing intermediate container 8c2ff6ae2bcf 16:54:40 ---> b75a739887bc 16:54:40 Step 11/13 : COPY . . 16:54:40 ---> 92a1b3cd74c7 16:54:40 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:54:40 ---> Running in bf215f66f700 16:54:40  % Total % Received % Xferd Average Speed Time Time Time Current 16:54:40 Dload Upload Total Spent Left Speed 16:54:40  0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6325 0 --:--:-- --:--:-- --:--:-- 6359 16:54:40 Removing intermediate container bf215f66f700 16:54:40 ---> a0050785cc99 16:54:40 Step 13/13 : RUN ${MAKE} 16:54:40 ---> Running in bd3ad9f1e775 16:54:40 noop 16:54:40 Removing intermediate container bd3ad9f1e775 16:54:40 ---> 78f16627f346 16:54:40 Successfully built 78f16627f346 16:54:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:41 + docker inspect -f . ci-base-image-x86_64 16:54:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:41 prd-ubuntu20.04-docker-8c-8g-120651 does not seem to be running inside a container 16:54:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@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 ******** -e ******** ci-base-image-x86_64 cat 16:54:41 $ docker top 3f154d775891296f78eb12af3f0c2bb285d46e404369b2c78ae2096437d8990c -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:41 + go version 16:54:41 go version go1.18.7 linux/amd64 [Pipeline] } 16:54:41 $ docker stop --time=1 3f154d775891296f78eb12af3f0c2bb285d46e404369b2c78ae2096437d8990c 16:54:43 $ docker rm -f 3f154d775891296f78eb12af3f0c2bb285d46e404369b2c78ae2096437d8990c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:43 + docker inspect -f . ci-base-image-x86_64 16:54:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:43 prd-ubuntu20.04-docker-8c-8g-120651 does not seem to be running inside a container 16:54:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@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 ******** -e ******** ci-base-image-x86_64 cat 16:54:44 $ docker top 22bc0e306bb0c00709e49ea5b0a0d239d922d50496926b92813e4adacf09b315 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:44 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] fileExists [Pipeline] sh 16:54:44 + make test 16:54:44 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:54:44 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:54:54 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:54:54 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 1.9% of statements 16:55:01 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:55:01 CGO_ENABLED=1 go vet ./... 16:55:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:55:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:55:04 ./bin/test-attribution-txt.sh [Pipeline] echo 16:55:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:55:04 $ docker stop --time=1 22bc0e306bb0c00709e49ea5b0a0d239d922d50496926b92813e4adacf09b315 16:55:06 $ docker rm -f 22bc0e306bb0c00709e49ea5b0a0d239d922d50496926b92813e4adacf09b315 [Pipeline] // withDockerContainer [Pipeline] sh 16:55:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:55:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:55:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:55:07 + ls -al . 16:55:07 total 200 16:55:07 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 16:54 . 16:55:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 16:53 .. 16:55:07 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 16:54 .git 16:55:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 16:53 .github 16:55:07 -rw-rw-r-- 1 jenkins jenkins 414 Dec 6 16:53 .gitignore 16:55:07 -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 16:53 .golangci.yml 16:55:07 -rw-rw-r-- 1 jenkins jenkins 77 Dec 6 16:53 .hadolint.yml 16:55:07 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 16:54 .semver 16:55:07 -rw-rw-r-- 1 jenkins jenkins 9702 Dec 6 16:53 Attribution.txt 16:55:07 -rw-rw-r-- 1 jenkins jenkins 1206 Dec 6 16:53 CHANGELOG.md 16:55:07 -rw-rw-r-- 1 jenkins jenkins 2378 Dec 6 16:53 Dockerfile 16:55:07 -rw-rw-r-- 1 jenkins jenkins 678 Dec 6 16:53 GOVERNANCE.md 16:55:07 -rw-rw-r-- 1 jenkins jenkins 659 Dec 6 16:53 Jenkinsfile 16:55:07 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 6 16:53 LICENSE 16:55:07 -rw-rw-r-- 1 jenkins jenkins 2554 Dec 6 16:53 Makefile 16:55:07 -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 16:53 OWNERS.md 16:55:07 -rw-rw-r-- 1 jenkins jenkins 5934 Dec 6 16:53 README.md 16:55:07 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 16:54 VERSION 16:55:07 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 16:53 bin 16:55:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 16:53 cmd 16:55:07 -rw-r--r-- 1 jenkins jenkins 30072 Dec 6 16:54 coverage.out 16:55:07 -rwxrwxr-x 1 jenkins jenkins 140 Dec 6 16:53 docker-entrypoint.sh 16:55:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 16:53 docs 16:55:07 -rw-rw-r-- 1 jenkins jenkins 3573 Dec 6 16:53 go.mod 16:55:07 -rw-rw-r-- 1 jenkins jenkins 45026 Dec 6 16:53 go.sum 16:55:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 16:53 internal 16:55:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 16:53 snap 16:55:07 -rw-rw-r-- 1 jenkins jenkins 231 Dec 6 16:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:08 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=72e233621482b0a717e29bfb6eaf093ebf1ae044 --label arch=amd64 --label version=0.0.0 . 16:55:08 Sending build context to Docker daemon 1.665MB 16:55:08 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:55:08 Step 2/35 : FROM ${BASE} AS builder 16:55:08 ---> 78f16627f346 16:55:08 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:55:08 ---> Running in 4b4930fbae70 16:55:08 Removing intermediate container 4b4930fbae70 16:55:08 ---> b34f07648719 16:55:08 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:55:08 ---> Running in 55f26c2b2dfa 16:55:08 Removing intermediate container 55f26c2b2dfa 16:55:08 ---> 237a5a50de99 16:55:08 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:55:08 ---> Running in a822859df577 16:55:08 Removing intermediate container a822859df577 16:55:08 ---> 57d63701e76b 16:55:08 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:55:08 ---> Running in 53a84d183e3a 16:55:08 Removing intermediate container 53a84d183e3a 16:55:08 ---> b1145c7164f5 16:55:08 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:55:08 ---> Running in 93c1f97d8e5b 16:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:55:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:55:09 OK: 330 MiB in 131 packages 16:55:10 Removing intermediate container 93c1f97d8e5b 16:55:10 ---> 740711430d3e 16:55:10 Step 8/35 : WORKDIR /device-usb-camera 16:55:10 ---> Running in 0cc0357ca7f2 16:55:10 Removing intermediate container 0cc0357ca7f2 16:55:10 ---> 168fd46c4b06 16:55:10 Step 9/35 : COPY go.mod vendor* ./ 16:55:10 ---> 5de41916b586 16:55:10 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:55:10 ---> Running in a65b090a0ac3 16:55:10 Removing intermediate container a65b090a0ac3 16:55:10 ---> 679e490878c7 16:55:10 Step 11/35 : COPY . . 16:55:11 ---> f3a3a0ee03d2 16:55:11 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:55:11 ---> Running in fd722369ed0d 16:55:11  % Total % Received % Xferd Average Speed Time Time Time Current 16:55:11 Dload Upload Total Spent Left Speed 16:55:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 37840 0 --:--:-- --:--:-- --:--:-- 39333 16:55:11 Removing intermediate container fd722369ed0d 16:55:11 ---> 75f55c6b99e5 16:55:11 Step 13/35 : RUN ${MAKE} 16:55:11 ---> Running in d6ca33f8ee0e 16:55:12 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:55:34 Removing intermediate container d6ca33f8ee0e 16:55:34 ---> 270549539a13 16:55:34 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:55:34 v0.18.4: Pulling from aler9/rtsp-simple-server 16:55:34 af6660deedbd: Pulling fs layer 16:55:34 97cd0a44c592: Pulling fs layer 16:55:34 97cd0a44c592: Verifying Checksum 16:55:34 97cd0a44c592: Download complete 16:55:34 af6660deedbd: Verifying Checksum 16:55:34 af6660deedbd: Download complete 16:55:34 af6660deedbd: Pull complete 16:55:34 97cd0a44c592: Pull complete 16:55:34 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:55:34 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:55:34 ---> fea57e182299 16:55:34 Step 15/35 : FROM alpine:3.16 16:55:34 3.16: Pulling from library/alpine 16:55:34 ca7dd9ec2225: Pulling fs layer 16:55:34 ca7dd9ec2225: Verifying Checksum 16:55:34 ca7dd9ec2225: Download complete 16:55:34 ca7dd9ec2225: Pull complete 16:55:34 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:55:34 Status: Downloaded newer image for alpine:3.16 16:55:34 ---> bfe296a52501 16:55:34 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:55:34 ---> Running in bb3c29d36c9b 16:55:34 Removing intermediate container bb3c29d36c9b 16:55:34 ---> 6bc00d082e60 16:55:34 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:55:34 ---> Running in 1876bbe1f99d 16:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:55:34 (1/83) Installing dumb-init (1.2.5-r1) 16:55:34 (2/83) Installing sdl2 (2.0.22-r0) 16:55:34 (3/83) Installing libxau (1.0.9-r0) 16:55:34 (4/83) Installing libxdmcp (1.1.3-r0) 16:55:34 (5/83) Installing libxcb (1.15-r0) 16:55:34 (6/83) Installing libx11 (1.8-r0) 16:55:34 (7/83) Installing aom-libs (3.3.0-r0) 16:55:34 (8/83) Installing alsa-lib (1.2.7.2-r0) 16:55:34 (9/83) Installing expat (2.5.0-r0) 16:55:34 (10/83) Installing brotli-libs (1.0.9-r6) 16:55:34 (11/83) Installing libbz2 (1.0.8-r1) 16:55:34 (12/83) Installing libpng (1.6.37-r1) 16:55:34 (13/83) Installing freetype (2.12.1-r0) 16:55:34 (14/83) Installing fontconfig (2.14.0-r0) 16:55:34 (15/83) Installing fribidi (1.0.12-r0) 16:55:34 (16/83) Installing libffi (3.4.2-r1) 16:55:34 (17/83) Installing libintl (0.21-r2) 16:55:34 (18/83) Installing libblkid (2.38-r1) 16:55:34 (19/83) Installing libmount (2.38-r1) 16:55:34 (20/83) Installing pcre (8.45-r2) 16:55:34 (21/83) Installing glib (2.72.1-r0) 16:55:34 (22/83) Installing graphite2 (1.3.14-r1) 16:55:34 (23/83) Installing harfbuzz (4.3.0-r0) 16:55:34 (24/83) Installing libass (0.16.0-r0) 16:55:34 (25/83) Installing libdav1d (1.0.0-r0) 16:55:34 (26/83) Installing libpciaccess (0.16-r0) 16:55:34 (27/83) Installing libdrm (2.4.110-r0) 16:55:34 (28/83) Installing gmp (6.2.1-r2) 16:55:34 (29/83) Installing nettle (3.7.3-r0) 16:55:34 (30/83) Installing p11-kit (0.24.1-r0) 16:55:34 (31/83) Installing libtasn1 (4.18.0-r0) 16:55:34 (32/83) Installing libunistring (1.0-r0) 16:55:34 (33/83) Installing gnutls (3.7.7-r0) 16:55:34 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:55:34 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 16:55:34 (36/83) Installing lame (3.100-r0) 16:55:34 (37/83) Installing opus (1.3.1-r1) 16:55:34 (38/83) Installing libasyncns (0.8-r1) 16:55:34 (39/83) Installing dbus-libs (1.14.4-r0) 16:55:34 (40/83) Installing libltdl (2.4.7-r0) 16:55:34 (41/83) Installing orc (0.4.32-r0) 16:55:34 (42/83) Installing libgcc (11.2.1_git20220219-r2) 16:55:34 (43/83) Installing libogg (1.3.5-r1) 16:55:34 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 16:55:34 (45/83) Installing flac (1.3.4-r0) 16:55:34 (46/83) Installing libvorbis (1.3.7-r0) 16:55:34 (47/83) Installing libsndfile (1.1.0-r0) 16:55:34 (48/83) Installing libgomp (11.2.1_git20220219-r2) 16:55:34 (49/83) Installing soxr (0.1.3-r2) 16:55:34 (50/83) Installing speexdsp (1.2.0-r0) 16:55:34 (51/83) Installing tdb-libs (1.4.6-r0) 16:55:34 (52/83) Installing libpulse (15.0-r2) 16:55:34 (53/83) Installing cjson (1.7.15-r3) 16:55:34 (54/83) Installing mbedtls (2.28.1-r0) 16:55:34 (55/83) Installing librist (0.2.6-r1) 16:55:34 (56/83) Installing libsrt (1.4.4-r0) 16:55:34 (57/83) Installing libssh (0.9.6-r1) 16:55:34 (58/83) Installing libtheora (1.1.1-r16) 16:55:34 (59/83) Installing libjpeg-turbo (2.1.3-r1) 16:55:34 (60/83) Installing v4l-utils-libs (1.22.1-r1) 16:55:34 (61/83) Installing libxext (1.3.4-r0) 16:55:34 (62/83) Installing libxfixes (6.0.0-r0) 16:55:34 (63/83) Installing wayland-libs-client (1.20.0-r0) 16:55:34 (64/83) Installing libva (2.14.0-r0) 16:55:34 (65/83) Installing libvdpau (1.5-r0) 16:55:34 (66/83) Installing vidstab (1.1.0-r1) 16:55:35 (67/83) Installing libvpx (1.11.0-r1) 16:55:35 (68/83) Installing libwebp (1.2.3-r0) 16:55:35 (69/83) Installing x264-libs (0.163_git20210613-r0) 16:55:35 (70/83) Installing numactl (2.0.14-r0) 16:55:35 (71/83) Installing x265-libs (3.5-r3) 16:55:35 (72/83) Installing xvidcore (1.3.7-r1) 16:55:35 (73/83) Installing ffmpeg-libs (5.0.1-r1) 16:55:35 (74/83) Installing ffmpeg (5.0.1-r1) 16:55:35 (75/83) Installing udev-init-scripts (35-r0) 16:55:35 Executing udev-init-scripts-35-r0.post-install 16:55:35 (76/83) Installing eudev-libs (3.2.11-r0) 16:55:35 (77/83) Installing xz-libs (5.2.5-r1) 16:55:35 (78/83) Installing zstd-libs (1.5.2-r1) 16:55:35 (79/83) Installing kmod-libs (29-r2) 16:55:35 (80/83) Installing eudev (3.2.11-r0) 16:55:35 (81/83) Installing libsodium (1.0.18-r0) 16:55:35 (82/83) Installing libzmq (4.3.4-r0) 16:55:35 (83/83) Installing zeromq (4.3.4-r0) 16:55:35 Executing busybox-1.35.0-r17.trigger 16:55:35 Executing eudev-3.2.11-r0.trigger 16:55:35 OK: 101 MiB in 97 packages 16:55:36 Removing intermediate container 1876bbe1f99d 16:55:36 ---> 38128badafd0 16:55:36 Step 18/35 : WORKDIR / 16:55:36 ---> Running in 79ce74507733 16:55:37 Removing intermediate container 79ce74507733 16:55:37 ---> 63d8d4afc69b 16:55:37 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:55:37 ---> 9eb4991deae9 16:55:37 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:55:37 ---> c7c04e81acfa 16:55:37 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:55:37 ---> 49eaeefe24cf 16:55:37 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:55:37 ---> b53d7dfa3dc8 16:55:37 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:55:38 ---> 9df25b98fefc 16:55:38 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:55:38 ---> 277130c3fc1a 16:55:38 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:55:38 ---> 39e3a7821996 16:55:38 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:55:38 ---> Running in 760f12b88b17 16:55:39 Removing intermediate container 760f12b88b17 16:55:39 ---> 1d3afb2cde8e 16:55:39 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:55:39 ---> Running in 71b557b4e7ac 16:55:39 Removing intermediate container 71b557b4e7ac 16:55:39 ---> 05946a4ab2f3 16:55:39 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:55:39 ---> Running in e82f2ba91ada 16:55:40 Removing intermediate container e82f2ba91ada 16:55:40 ---> ee1b2e2940f0 16:55:40 Step 29/35 : EXPOSE 59983 16:55:40 ---> Running in f0eaf51ef70f 16:55:40 Removing intermediate container f0eaf51ef70f 16:55:40 ---> a56fed3c23fd 16:55:40 Step 30/35 : EXPOSE 8554 16:55:40 ---> Running in e1dd91816cd9 16:55:40 Removing intermediate container e1dd91816cd9 16:55:40 ---> 833a62d40777 16:55:40 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:55:40 ---> Running in d0101295cd59 16:55:40 Removing intermediate container d0101295cd59 16:55:40 ---> 99736dd3fbd7 16:55:40 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:55:40 ---> Running in 557cd429e8cd 16:55:40 Removing intermediate container 557cd429e8cd 16:55:40 ---> a7eeabde65b1 16:55:40 Step 33/35 : LABEL arch=amd64 16:55:40 ---> Running in b67ece9d5015 16:55:40 Removing intermediate container b67ece9d5015 16:55:40 ---> 41987db5ed97 16:55:40 Step 34/35 : LABEL git_sha=72e233621482b0a717e29bfb6eaf093ebf1ae044 16:55:40 ---> Running in e3d5fda677ec 16:55:41 Removing intermediate container e3d5fda677ec 16:55:41 ---> b977a79d93b8 16:55:41 Step 35/35 : LABEL version=0.0.0 16:55:41 ---> Running in 2b0be6fecdff 16:55:41 Removing intermediate container 2b0be6fecdff 16:55:41 ---> 41571ff234c8 16:55:41 [Warning] One or more build-args [ARCH] were not consumed 16:55:41 Successfully built 41571ff234c8 16:55:41 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:41 16:55:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:41 latest: Pulling from edgex-lftools-log-publisher 16:55:41 5eb5b503b376: Pulling fs layer 16:55:41 5c69ac0246d0: Pulling fs layer 16:55:41 ec43610c2a17: Pulling fs layer 16:55:41 3a2ae6a8a46f: Pulling fs layer 16:55:41 33b1e0a273af: Pulling fs layer 16:55:41 5d3b04190fa2: Pulling fs layer 16:55:41 2f39f015ded8: Pulling fs layer 16:55:41 3a2ae6a8a46f: Waiting 16:55:41 2f39f015ded8: Waiting 16:55:41 33b1e0a273af: Waiting 16:55:41 5d3b04190fa2: Waiting 16:55:41 5c69ac0246d0: Verifying Checksum 16:55:41 5c69ac0246d0: Download complete 16:55:41 3a2ae6a8a46f: Verifying Checksum 16:55:41 3a2ae6a8a46f: Download complete 16:55:41 ec43610c2a17: Verifying Checksum 16:55:41 ec43610c2a17: Download complete 16:55:42 33b1e0a273af: Verifying Checksum 16:55:42 33b1e0a273af: Download complete 16:55:42 5d3b04190fa2: Verifying Checksum 16:55:42 5d3b04190fa2: Download complete 16:55:42 5eb5b503b376: Verifying Checksum 16:55:42 5eb5b503b376: Download complete 16:55:43 2f39f015ded8: Download complete 16:55:43 5eb5b503b376: Pull complete 16:55:43 5c69ac0246d0: Pull complete 16:55:43 ec43610c2a17: Pull complete 16:55:43 3a2ae6a8a46f: Pull complete 16:55:43 33b1e0a273af: Pull complete 16:55:44 5d3b04190fa2: Pull complete 16:55:48 2f39f015ded8: Pull complete 16:55:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:48 prd-ubuntu20.04-docker-8c-8g-120651 does not seem to be running inside a container 16:55:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:55:49 $ docker top 981480b1b1473572fee9edde69c2ca38e8798d1782c9c7a161d3c57cd8837276 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:50 ---> job-cost.sh 16:55:50 lf-activate-venv: SKIPPING 16:55:50 INFO: No Stack... 16:55:50 INFO: Retrieving Pricing Info for: v3-standard-8 16:55:50 INFO: Archiving Costs [Pipeline] sh 16:55:51 + cat /w/workspace/foundry_device-usb-camera_PR-115/archives/cost.csv 16:55:51 + cut -d, -f6 [Pipeline] lock 16:55:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-29-stack-cost] 16:55:51 Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-29-stack-cost] did not exist. Created. 16:55:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:55:51 + echo total: 0.2199999988079071 [Pipeline] stash 16:55:51 Stashed 1 file(s) [Pipeline] } 16:55:51 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-29-stack-cost] [Pipeline] // lock [Pipeline] } 16:55:51 $ docker stop --time=1 981480b1b1473572fee9edde69c2ca38e8798d1782c9c7a161d3c57cd8837276 16:55:52 $ docker rm -f 981480b1b1473572fee9edde69c2ca38e8798d1782c9c7a161d3c57cd8837276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:55:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-120652 in /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] { [Pipeline] ws 16:55:53 Running in /w/workspace/device-usb-camera/29 [Pipeline] { [Pipeline] checkout 16:55:53 Selected Git installation does not exist. Using Default 16:55:53 The recommended git tool is: NONE 16:55:58 using credential edgex-jenkins-ssh 16:55:58 Cloning the remote Git repository 16:55:58 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:55:59 > git init /w/workspace/device-usb-camera/29 # timeout=10 16:55:59 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:55:59 > git --version # timeout=10 16:55:59 > git --version # 'git version 2.25.1' 16:55:59 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:59 Verifying host key using known hosts file 16:55:59 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. 16:55:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:00 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:56:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:00 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:56:01 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:56:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:01 Verifying host key using known hosts file 16:56:01 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. 16:56:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:56:01 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 72e233621482b0a717e29bfb6eaf093ebf1ae044 16:56:02 Merge succeeded, producing 72e233621482b0a717e29bfb6eaf093ebf1ae044 16:56:02 Checking out Revision 72e233621482b0a717e29bfb6eaf093ebf1ae044 (PR-115) 16:56:02 Commit message: "docs: update toc" 16:56:01 > git config core.sparsecheckout # timeout=10 16:56:01 > git checkout -f 72e233621482b0a717e29bfb6eaf093ebf1ae044 # timeout=10 16:56:01 > git remote # timeout=10 16:56:01 > git config --get remote.origin.url # timeout=10 16:56:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:01 Verifying host key using known hosts file 16:56:01 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. 16:56:01 > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 16:56:02 > git rev-parse HEAD^{commit} # timeout=10 16:56:02 > git config core.sparsecheckout # timeout=10 16:56:02 > git checkout -f 72e233621482b0a717e29bfb6eaf093ebf1ae044 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:56:03 % Total % Received % Xferd Average Speed Time Time Time Current 16:56:03 Dload Upload Total Spent Left Speed 16:56:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 16:56:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:56:04 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 16:56:04 /etc/docker/daemon.json 16:56:04 { 16:56:04 "registry-mirrors": [ 16:56:04 "https://nexus3.edgexfoundry.org:10001" 16:56:04 ], 16:56:04 "bip": "10.250.0.254/24", 16:56:04 "hosts": [ 16:56:04 "tcp://0.0.0.0:5555", 16:56:04 "unix:///var/run/docker.sock" 16:56:04 ], 16:56:04 "mtu": 1458, 16:56:04 "selinux-enabled": true, 16:56:04 "seccomp-profile": "/etc/docker/seccomp.json" 16:56:04 } [Pipeline] sh 16:56:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:56:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:23 provisioning config files... 16:56:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/29@tmp/config7620062043881417744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:23 ---> docker-login.sh 16:56:23 nexus3.edgexfoundry.org:10001 16:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:24 Configure a credential helper to remove this warning. See 16:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:24 16:56:24 Login Succeeded 16:56:24 nexus3.edgexfoundry.org:10002 16:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:24 Configure a credential helper to remove this warning. See 16:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:24 16:56:24 Login Succeeded 16:56:24 nexus3.edgexfoundry.org:10003 16:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:24 Configure a credential helper to remove this warning. See 16:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:24 16:56:24 Login Succeeded 16:56:24 nexus3.edgexfoundry.org:10004 16:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:25 Configure a credential helper to remove this warning. See 16:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:25 16:56:25 Login Succeeded 16:56:25 docker.io 16:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:25 Configure a credential helper to remove this warning. See 16:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:25 16:56:25 Login Succeeded 16:56:25 ---> docker-login.sh ends [Pipeline] } 16:56:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:56:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:25 ========================================================= 16:56:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:56:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:26 + 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 . 16:56:26 Sending build context to Docker daemon 1.094MB 16:56:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:56:26 Step 2/13 : FROM ${BASE} AS builder 16:56:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:56:26 9b18e9b68314: Pulling fs layer 16:56:26 35d82f9e3411: Pulling fs layer 16:56:26 e16973657156: Pulling fs layer 16:56:26 fc693d55d65f: Pulling fs layer 16:56:26 7e9fc2657dce: Pulling fs layer 16:56:26 dda99020689f: Pulling fs layer 16:56:26 db1c61fa0a46: Pulling fs layer 16:56:26 891c053d2c06: Pulling fs layer 16:56:26 fc693d55d65f: Waiting 16:56:26 7e9fc2657dce: Waiting 16:56:26 dda99020689f: Waiting 16:56:26 db1c61fa0a46: Waiting 16:56:26 891c053d2c06: Waiting 16:56:26 e16973657156: Verifying Checksum 16:56:26 e16973657156: Download complete 16:56:26 35d82f9e3411: Verifying Checksum 16:56:26 35d82f9e3411: Download complete 16:56:26 7e9fc2657dce: Verifying Checksum 16:56:26 7e9fc2657dce: Download complete 16:56:26 dda99020689f: Verifying Checksum 16:56:26 dda99020689f: Download complete 16:56:26 9b18e9b68314: Verifying Checksum 16:56:26 9b18e9b68314: Download complete 16:56:27 9b18e9b68314: Pull complete 16:56:27 891c053d2c06: Verifying Checksum 16:56:27 891c053d2c06: Download complete 16:56:28 35d82f9e3411: Pull complete 16:56:28 e16973657156: Pull complete 16:56:28 db1c61fa0a46: Verifying Checksum 16:56:28 db1c61fa0a46: Download complete 16:56:29 fc693d55d65f: Download complete 16:56:41 fc693d55d65f: Pull complete 16:56:41 7e9fc2657dce: Pull complete 16:56:41 dda99020689f: Pull complete 16:56:46 db1c61fa0a46: Pull complete 16:56:48 891c053d2c06: Pull complete 16:56:48 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:56:48 ---> f96f9c87975a 16:56:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:56:50 ---> Running in c3e2b18fc320 16:56:50 Removing intermediate container c3e2b18fc320 16:56:50 ---> 66f3acb0a371 16:56:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:56:50 ---> Running in d1d709716cc6 16:56:50 Removing intermediate container d1d709716cc6 16:56:50 ---> 0117465ceaff 16:56:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:56:50 ---> Running in 04e886161d27 16:56:50 Removing intermediate container 04e886161d27 16:56:50 ---> 5f518ad95b28 16:56:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:56:51 ---> Running in 51bd33c266a3 16:56:51 Removing intermediate container 51bd33c266a3 16:56:51 ---> e8ea37315e9b 16:56:51 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:56:51 ---> Running in 63de8857f8c5 16:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:56:53 (1/14) Installing libintl (0.21-r2) 16:56:53 (2/14) Installing eudev-libs (3.2.11-r0) 16:56:53 (3/14) Installing libjpeg-turbo (2.1.3-r1) 16:56:53 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:56:53 (5/14) Installing v4l-utils (1.22.1-r1) 16:56:53 (6/14) Installing udev-init-scripts (35-r0) 16:56:53 Executing udev-init-scripts-35-r0.post-install 16:56:53 (7/14) Installing libblkid (2.38-r1) 16:56:54 (8/14) Installing xz-libs (5.2.5-r1) 16:56:54 (9/14) Installing zstd-libs (1.5.2-r1) 16:56:54 (10/14) Installing kmod-libs (29-r2) 16:56:54 (11/14) Installing eudev (3.2.11-r0) 16:56:54 (12/14) Installing eudev-dev (3.2.11-r0) 16:56:54 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:56:54 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:56:54 Executing busybox-1.35.0-r17.trigger 16:56:54 Executing eudev-3.2.11-r0.trigger 16:56:54 OK: 228 MiB in 65 packages 16:56:55 Removing intermediate container 63de8857f8c5 16:56:55 ---> 144fb7773d13 16:56:55 Step 8/13 : WORKDIR /device-usb-camera 16:56:55 ---> Running in 4c05a6770da6 16:56:55 Removing intermediate container 4c05a6770da6 16:56:55 ---> 76ca9b1954a2 16:56:55 Step 9/13 : COPY go.mod vendor* ./ 16:56:56 ---> 2ec819b1dcdf 16:56:56 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:56:56 ---> Running in d840f2af0e33 16:57:52 Removing intermediate container d840f2af0e33 16:57:52 ---> 3317ab9dca03 16:57:52 Step 11/13 : COPY . . 16:57:52 ---> 7c3a79a43f45 16:57:52 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:57:52 ---> Running in 621dd6089917 16:57:52  % Total % Received % Xferd Average Speed Time Time Time Current 16:57:52 Dload Upload Total Spent Left Speed 16:57:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14703 0 --:--:-- --:--:-- --:--:-- 14957 16:57:52 Removing intermediate container 621dd6089917 16:57:52 ---> 00a48c55f61c 16:57:52 Step 13/13 : RUN ${MAKE} 16:57:52 ---> Running in b6dca16d5bbc 16:57:52 noop 16:57:52 Removing intermediate container b6dca16d5bbc 16:57:52 ---> 498d9114ddb4 16:57:52 Successfully built 498d9114ddb4 16:57:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:53 + docker inspect -f . ci-base-image-arm64 16:57:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:53 prd-ubuntu20.04-docker-arm64-4c-16g-120652 does not seem to be running inside a container 16:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/29 -v /w/workspace/device-usb-camera/29:/w/workspace/device-usb-camera/29:rw,z -v /w/workspace/device-usb-camera/29@tmp:/w/workspace/device-usb-camera/29@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 16:57:54 $ docker top 1403687d38decc8aa64c91129cb761cae78548948c8259b48653ba7ddb948519 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:55 + go version 16:57:55 go version go1.18.7 linux/arm64 [Pipeline] } 16:57:55 $ docker stop --time=1 1403687d38decc8aa64c91129cb761cae78548948c8259b48653ba7ddb948519 16:57:56 $ docker rm -f 1403687d38decc8aa64c91129cb761cae78548948c8259b48653ba7ddb948519 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:57 + docker inspect -f . ci-base-image-arm64 16:57:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:57 prd-ubuntu20.04-docker-arm64-4c-16g-120652 does not seem to be running inside a container 16:57:57 $ 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/29 -v /w/workspace/device-usb-camera/29:/w/workspace/device-usb-camera/29:rw,z -v /w/workspace/device-usb-camera/29@tmp:/w/workspace/device-usb-camera/29@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 16:57:58 $ docker top 2337d9d5937ebb9b5f2b9901380b421af51c31c0812e4c0e06afb0f389e43a02 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:59 + git config --global --add safe.directory /w/workspace/device-usb-camera/29 [Pipeline] fileExists [Pipeline] sh 16:57:59 + make test 16:57:59 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:58:01 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:59:38 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:59:38 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 1.9% of statements 16:59:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:59:38 CGO_ENABLED=1 go vet ./... 16:59:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:59:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:59:53 ./bin/test-attribution-txt.sh [Pipeline] echo 16:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:59:53 $ docker stop --time=1 2337d9d5937ebb9b5f2b9901380b421af51c31c0812e4c0e06afb0f389e43a02 16:59:55 $ docker rm -f 2337d9d5937ebb9b5f2b9901380b421af51c31c0812e4c0e06afb0f389e43a02 [Pipeline] // withDockerContainer [Pipeline] sh 16:59:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:59:55 Warning: overwriting stash ‘coverage-report’ 16:59:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:59:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:59:57 + ls -al . 16:59:57 total 196 16:59:57 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 16:58 . 16:59:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 16:55 .. 16:59:57 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 16:56 .git 16:59:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 16:56 .github 16:59:57 -rw-rw-r-- 1 jenkins jenkins 414 Dec 6 16:56 .gitignore 16:59:57 -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 16:56 .golangci.yml 16:59:57 -rw-rw-r-- 1 jenkins jenkins 77 Dec 6 16:56 .hadolint.yml 16:59:57 -rw-rw-r-- 1 jenkins jenkins 9702 Dec 6 16:56 Attribution.txt 16:59:57 -rw-rw-r-- 1 jenkins jenkins 1206 Dec 6 16:56 CHANGELOG.md 16:59:57 -rw-rw-r-- 1 jenkins jenkins 2378 Dec 6 16:56 Dockerfile 16:59:57 -rw-rw-r-- 1 jenkins jenkins 678 Dec 6 16:56 GOVERNANCE.md 16:59:57 -rw-rw-r-- 1 jenkins jenkins 659 Dec 6 16:56 Jenkinsfile 16:59:57 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 6 16:56 LICENSE 16:59:57 -rw-rw-r-- 1 jenkins jenkins 2554 Dec 6 16:56 Makefile 16:59:57 -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 16:56 OWNERS.md 16:59:57 -rw-rw-r-- 1 jenkins jenkins 5934 Dec 6 16:56 README.md 16:59:57 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 16:54 VERSION 16:59:57 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 16:56 bin 16:59:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 16:56 cmd 16:59:57 -rw-r--r-- 1 jenkins jenkins 30072 Dec 6 16:59 coverage.out 16:59:57 -rwxrwxr-x 1 jenkins jenkins 140 Dec 6 16:56 docker-entrypoint.sh 16:59:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 16:56 docs 16:59:57 -rw-rw-r-- 1 jenkins jenkins 3573 Dec 6 16:56 go.mod 16:59:57 -rw-rw-r-- 1 jenkins jenkins 45026 Dec 6 16:56 go.sum 16:59:57 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 16:56 internal 16:59:57 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 16:56 snap 16:59:57 -rw-rw-r-- 1 jenkins jenkins 231 Dec 6 16:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:57 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=72e233621482b0a717e29bfb6eaf093ebf1ae044 --label arch=arm64 --label version=0.0.0 . 16:59:57 Sending build context to Docker daemon 1.125MB 16:59:57 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:59:57 Step 2/35 : FROM ${BASE} AS builder 16:59:57 ---> 498d9114ddb4 16:59:57 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:59:57 ---> Running in daea7ebc38e4 16:59:57 Removing intermediate container daea7ebc38e4 16:59:57 ---> d99e366e0411 16:59:57 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:59:58 ---> Running in cc5eb2808cfb 16:59:58 Removing intermediate container cc5eb2808cfb 16:59:58 ---> b3ed39a55d12 16:59:58 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:59:58 ---> Running in b31319379add 16:59:58 Removing intermediate container b31319379add 16:59:58 ---> 35643227aa77 16:59:58 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:59:58 ---> Running in 75e68cf06d8e 16:59:59 Removing intermediate container 75e68cf06d8e 16:59:59 ---> 5f74f23a097d 16:59:59 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:59:59 ---> Running in bc51244e09ff 17:00:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:00:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:00:01 OK: 228 MiB in 65 packages 17:00:02 Removing intermediate container bc51244e09ff 17:00:02 ---> 414c29639698 17:00:02 Step 8/35 : WORKDIR /device-usb-camera 17:00:02 ---> Running in c3fdf239fef9 17:00:02 Removing intermediate container c3fdf239fef9 17:00:02 ---> d5df4b346b9c 17:00:02 Step 9/35 : COPY go.mod vendor* ./ 17:00:03 ---> 7e2fb20e4ca4 17:00:03 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:03 ---> Running in c1fc91044879 17:00:05 Removing intermediate container c1fc91044879 17:00:05 ---> 3504c4e7034d 17:00:05 Step 11/35 : COPY . . 17:00:05 ---> 40eda848ca32 17:00:05 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:00:06 ---> Running in 1a8914fd9f94 17:00:07  % Total % Received % Xferd Average Speed Time Time Time Current 17:00:07 Dload Upload Total Spent Left Speed 17:00:07 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 6348 0 --:--:-- --:--:-- --:--:-- 6397 17:00:07 Removing intermediate container 1a8914fd9f94 17:00:07 ---> f08e601da3e8 17:00:07 Step 13/35 : RUN ${MAKE} 17:00:07 ---> Running in 55e84ebcb414 17:00:08 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:02:45 Removing intermediate container 55e84ebcb414 17:02:45 ---> 43080365e527 17:02:45 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:02:45 v0.18.4: Pulling from aler9/rtsp-simple-server 17:02:45 eab2503cf8f4: Pulling fs layer 17:02:45 97cd0a44c592: Pulling fs layer 17:02:45 97cd0a44c592: Download complete 17:02:45 eab2503cf8f4: Verifying Checksum 17:02:45 eab2503cf8f4: Download complete 17:02:45 eab2503cf8f4: Pull complete 17:02:45 97cd0a44c592: Pull complete 17:02:45 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:02:45 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:02:45 ---> 7f763cca56b3 17:02:45 Step 15/35 : FROM alpine:3.16 17:02:45 3.16: Pulling from library/alpine 17:02:45 6875df1f5354: Pulling fs layer 17:02:45 6875df1f5354: Verifying Checksum 17:02:45 6875df1f5354: Download complete 17:02:46 6875df1f5354: Pull complete 17:02:46 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:02:46 Status: Downloaded newer image for alpine:3.16 17:02:46 ---> 2b4661558fb8 17:02:46 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:02:46 ---> Running in ab69c1049f5e 17:02:46 Removing intermediate container ab69c1049f5e 17:02:46 ---> 5f9326d33789 17:02:46 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:02:46 ---> Running in 0f7b008450ea 17:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:02:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:02:48 (1/82) Installing dumb-init (1.2.5-r1) 17:02:48 (2/82) Installing sdl2 (2.0.22-r0) 17:02:48 (3/82) Installing libxau (1.0.9-r0) 17:02:48 (4/82) Installing libxdmcp (1.1.3-r0) 17:02:48 (5/82) Installing libxcb (1.15-r0) 17:02:48 (6/82) Installing libx11 (1.8-r0) 17:02:49 (7/82) Installing aom-libs (3.3.0-r0) 17:02:49 (8/82) Installing alsa-lib (1.2.7.2-r0) 17:02:49 (9/82) Installing expat (2.5.0-r0) 17:02:49 (10/82) Installing brotli-libs (1.0.9-r6) 17:02:49 (11/82) Installing libbz2 (1.0.8-r1) 17:02:49 (12/82) Installing libpng (1.6.37-r1) 17:02:49 (13/82) Installing freetype (2.12.1-r0) 17:02:49 (14/82) Installing fontconfig (2.14.0-r0) 17:02:49 (15/82) Installing fribidi (1.0.12-r0) 17:02:49 (16/82) Installing libffi (3.4.2-r1) 17:02:49 (17/82) Installing libintl (0.21-r2) 17:02:49 (18/82) Installing libblkid (2.38-r1) 17:02:49 (19/82) Installing libmount (2.38-r1) 17:02:49 (20/82) Installing pcre (8.45-r2) 17:02:49 (21/82) Installing glib (2.72.1-r0) 17:02:49 (22/82) Installing graphite2 (1.3.14-r1) 17:02:49 (23/82) Installing harfbuzz (4.3.0-r0) 17:02:49 (24/82) Installing libass (0.16.0-r0) 17:02:49 (25/82) Installing libdav1d (1.0.0-r0) 17:02:49 (26/82) Installing libdrm (2.4.110-r0) 17:02:49 (27/82) Installing gmp (6.2.1-r2) 17:02:49 (28/82) Installing nettle (3.7.3-r0) 17:02:49 (29/82) Installing p11-kit (0.24.1-r0) 17:02:49 (30/82) Installing libtasn1 (4.18.0-r0) 17:02:49 (31/82) Installing libunistring (1.0-r0) 17:02:49 (32/82) Installing gnutls (3.7.7-r0) 17:02:50 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:02:50 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 17:02:50 (35/82) Installing lame (3.100-r0) 17:02:50 (36/82) Installing opus (1.3.1-r1) 17:02:50 (37/82) Installing libasyncns (0.8-r1) 17:02:50 (38/82) Installing dbus-libs (1.14.4-r0) 17:02:50 (39/82) Installing libltdl (2.4.7-r0) 17:02:50 (40/82) Installing orc (0.4.32-r0) 17:02:50 (41/82) Installing libgcc (11.2.1_git20220219-r2) 17:02:50 (42/82) Installing libogg (1.3.5-r1) 17:02:50 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 17:02:50 (44/82) Installing flac (1.3.4-r0) 17:02:50 (45/82) Installing libvorbis (1.3.7-r0) 17:02:50 (46/82) Installing libsndfile (1.1.0-r0) 17:02:50 (47/82) Installing libgomp (11.2.1_git20220219-r2) 17:02:50 (48/82) Installing soxr (0.1.3-r2) 17:02:50 (49/82) Installing speexdsp (1.2.0-r0) 17:02:50 (50/82) Installing tdb-libs (1.4.6-r0) 17:02:50 (51/82) Installing libpulse (15.0-r2) 17:02:50 (52/82) Installing cjson (1.7.15-r3) 17:02:50 (53/82) Installing mbedtls (2.28.1-r0) 17:02:50 (54/82) Installing librist (0.2.6-r1) 17:02:50 (55/82) Installing libsrt (1.4.4-r0) 17:02:50 (56/82) Installing libssh (0.9.6-r1) 17:02:50 (57/82) Installing libtheora (1.1.1-r16) 17:02:50 (58/82) Installing libjpeg-turbo (2.1.3-r1) 17:02:50 (59/82) Installing v4l-utils-libs (1.22.1-r1) 17:02:50 (60/82) Installing libxext (1.3.4-r0) 17:02:50 (61/82) Installing libxfixes (6.0.0-r0) 17:02:50 (62/82) Installing wayland-libs-client (1.20.0-r0) 17:02:50 (63/82) Installing libva (2.14.0-r0) 17:02:50 (64/82) Installing libvdpau (1.5-r0) 17:02:50 (65/82) Installing vidstab (1.1.0-r1) 17:02:50 (66/82) Installing libvpx (1.11.0-r1) 17:02:50 (67/82) Installing libwebp (1.2.3-r0) 17:02:50 (68/82) Installing x264-libs (0.163_git20210613-r0) 17:02:50 (69/82) Installing numactl (2.0.14-r0) 17:02:50 (70/82) Installing x265-libs (3.5-r3) 17:02:50 (71/82) Installing xvidcore (1.3.7-r1) 17:02:50 (72/82) Installing ffmpeg-libs (5.0.1-r1) 17:02:51 (73/82) Installing ffmpeg (5.0.1-r1) 17:02:51 (74/82) Installing udev-init-scripts (35-r0) 17:02:51 Executing udev-init-scripts-35-r0.post-install 17:02:51 (75/82) Installing eudev-libs (3.2.11-r0) 17:02:51 (76/82) Installing xz-libs (5.2.5-r1) 17:02:51 (77/82) Installing zstd-libs (1.5.2-r1) 17:02:51 (78/82) Installing kmod-libs (29-r2) 17:02:51 (79/82) Installing eudev (3.2.11-r0) 17:02:51 (80/82) Installing libsodium (1.0.18-r0) 17:02:51 (81/82) Installing libzmq (4.3.4-r0) 17:02:51 (82/82) Installing zeromq (4.3.4-r0) 17:02:51 Executing busybox-1.35.0-r17.trigger 17:02:51 Executing eudev-3.2.11-r0.trigger 17:02:51 OK: 78 MiB in 96 packages 17:02:54 Removing intermediate container 0f7b008450ea 17:02:54 ---> b290dca5b7ff 17:02:54 Step 18/35 : WORKDIR / 17:02:54 ---> Running in 7008babced0b 17:02:54 Removing intermediate container 7008babced0b 17:02:54 ---> 0c8614149ace 17:02:54 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:02:56 ---> f39fcdfcea87 17:02:56 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:02:56 ---> d75c440cdf0f 17:02:56 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:02:57 ---> b6663cc0b73b 17:02:57 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:02:57 ---> cb337bbe0c97 17:02:57 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:02:58 ---> 1d5b71591420 17:02:58 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:02:58 ---> ccc6fe525811 17:02:58 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:03:00 ---> 4d9d07ff288b 17:03:00 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:03:00 ---> Running in 5cb4e3fdc1be 17:03:01 Removing intermediate container 5cb4e3fdc1be 17:03:01 ---> 4678343604c3 17:03:01 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:03:01 ---> Running in 3785decf38e9 17:03:03 Removing intermediate container 3785decf38e9 17:03:03 ---> f908012f9f64 17:03:03 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:03:03 ---> Running in c575a1507394 17:03:04 Removing intermediate container c575a1507394 17:03:04 ---> 4d5d9e013103 17:03:04 Step 29/35 : EXPOSE 59983 17:03:04 ---> Running in 8dfe298e36db 17:03:05 Removing intermediate container 8dfe298e36db 17:03:05 ---> cd614c82cbd0 17:03:05 Step 30/35 : EXPOSE 8554 17:03:05 ---> Running in 77acdbdbbb91 17:03:05 Removing intermediate container 77acdbdbbb91 17:03:05 ---> d5da83e9ff17 17:03:05 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:03:05 ---> Running in 829919e3f4f2 17:03:05 Removing intermediate container 829919e3f4f2 17:03:05 ---> c747af77d942 17:03:05 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:03:05 ---> Running in 503b168d64fb 17:03:06 Removing intermediate container 503b168d64fb 17:03:06 ---> b90ee066737b 17:03:06 Step 33/35 : LABEL arch=arm64 17:03:06 ---> Running in c1c9fed86cfb 17:03:06 Removing intermediate container c1c9fed86cfb 17:03:06 ---> 883713c7e6d5 17:03:06 Step 34/35 : LABEL git_sha=72e233621482b0a717e29bfb6eaf093ebf1ae044 17:03:06 ---> Running in 510e22f4c33a 17:03:06 Removing intermediate container 510e22f4c33a 17:03:06 ---> 98db176a6c5d 17:03:06 Step 35/35 : LABEL version=0.0.0 17:03:06 ---> Running in 961b8d95530f 17:03:07 Removing intermediate container 961b8d95530f 17:03:07 ---> e09d8e08972c 17:03:07 [Warning] One or more build-args [ARCH] were not consumed 17:03:07 Successfully built e09d8e08972c 17:03:07 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:03:07 17:03:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:03:07 arm64: Pulling from edgex-lftools-log-publisher 17:03:07 8998bd30e6a1: Pulling fs layer 17:03:07 04944245beec: Pulling fs layer 17:03:07 699f458cf7ca: Pulling fs layer 17:03:07 765212b225bb: Pulling fs layer 17:03:07 f23df028b6ca: Pulling fs layer 17:03:07 d65c8cfc05b1: Pulling fs layer 17:03:07 2437ff75d9bd: Pulling fs layer 17:03:07 765212b225bb: Waiting 17:03:07 f23df028b6ca: Waiting 17:03:07 d65c8cfc05b1: Waiting 17:03:07 2437ff75d9bd: Waiting 17:03:08 04944245beec: Verifying Checksum 17:03:08 04944245beec: Download complete 17:03:08 765212b225bb: Verifying Checksum 17:03:08 765212b225bb: Download complete 17:03:08 f23df028b6ca: Verifying Checksum 17:03:08 f23df028b6ca: Download complete 17:03:08 d65c8cfc05b1: Verifying Checksum 17:03:08 d65c8cfc05b1: Download complete 17:03:08 699f458cf7ca: Verifying Checksum 17:03:08 699f458cf7ca: Download complete 17:03:08 8998bd30e6a1: Verifying Checksum 17:03:08 8998bd30e6a1: Download complete 17:03:11 2437ff75d9bd: Verifying Checksum 17:03:11 2437ff75d9bd: Download complete 17:03:12 8998bd30e6a1: Pull complete 17:03:13 04944245beec: Pull complete 17:03:14 699f458cf7ca: Pull complete 17:03:14 765212b225bb: Pull complete 17:03:15 f23df028b6ca: Pull complete 17:03:15 d65c8cfc05b1: Pull complete 17:03:33 2437ff75d9bd: Pull complete 17:03:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:03:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:03:34 prd-ubuntu20.04-docker-arm64-4c-16g-120652 does not seem to be running inside a container 17:03:34 $ 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/29 -v /w/workspace/device-usb-camera/29:/w/workspace/device-usb-camera/29:rw,z -v /w/workspace/device-usb-camera/29@tmp:/w/workspace/device-usb-camera/29@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:03:36 $ docker top 3eb3436294d622cddc3f5226330a1123a4acb5f05bdff4b3dd3675982c8752fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:03:37 ---> job-cost.sh 17:03:37 lf-activate-venv: SKIPPING 17:03:37 INFO: No Stack... 17:03:38 INFO: Retrieving Pricing Info for: v3-standard-4 17:03:38 INFO: Archiving Costs [Pipeline] sh 17:03:39 + cat+ /w/workspace/device-usb-camera/29/archives/cost.csvcut 17:03:39 -d, -f6 [Pipeline] lock 17:03:39 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-29-stack-cost] 17:03:39 Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-29-stack-cost] did not exist. Created. 17:03:39 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:03:39 /w/workspace/device-usb-camera/29@tmp/durable-2c03776c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:03:40 + echo total: 0.10999999940395355 [Pipeline] stash 17:03:40 Warning: overwriting stash ‘stack-cost’ 17:03:40 Stashed 1 file(s) [Pipeline] } 17:03:40 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-29-stack-cost] [Pipeline] // lock [Pipeline] } 17:03:40 $ docker stop --time=1 3eb3436294d622cddc3f5226330a1123a4acb5f05bdff4b3dd3675982c8752fe 17:03:42 $ docker rm -f 3eb3436294d622cddc3f5226330a1123a4acb5f05bdff4b3dd3675982c8752fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:03:42 provisioning config files... 17:03:42 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config6755794906232455788tmp [Pipeline] { [Pipeline] sh 17:03:42 + set +x 17:03:42 + curl -s https://codecov.io/bash 17:03:42 + bash -s -- 17:03:42 17:03:42 _____ _ 17:03:42 / ____| | | 17:03:42 | | ___ __| | ___ ___ _____ __ 17:03:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:03:42 | |___| (_) | (_| | __/ (_| (_) \ V / 17:03:42 \_____\___/ \__,_|\___|\___\___/ \_/ 17:03:42 Bash-1.0.6 17:03:42 17:03:42 17:03:42 ==> git version 2.25.1 found 17:03:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:03:42 Release-Date: 2020-01-08 17:03:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:03:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:03:42 ==> Jenkins CI detected. 17:03:42 current dir:  /w/workspace/foundry_device-usb-camera_PR-115 17:03:42 project root: . 17:03:42 --> token set from env 17:03:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:03:42 ==> Running gcov in . (disable via -X gcov) 17:03:42 ==> Python coveragepy not found 17:03:42 ==> Searching for coverage reports in: 17:03:42 + . 17:03:42 -> Found 1 reports 17:03:42 ==> Detecting git/mercurial file structure 17:03:42 ==> Reading reports 17:03:42 + ./coverage.out bytes=30072 17:03:42 ==> Appending adjustments 17:03:42 https://docs.codecov.io/docs/fixing-reports 17:03:43 + Found adjustments 17:03:43 ==> Gzipping contents 17:03:43 8.0K /tmp/codecov.hnXGZi.gz 17:03:43 ==> Uploading reports 17:03:43 url: https://codecov.io 17:03:43 query: branch=PR-115&commit=72e233621482b0a717e29bfb6eaf093ebf1ae044&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= 17:03:43 -> Pinging Codecov 17:03:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-115&commit=72e233621482b0a717e29bfb6eaf093ebf1ae044&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= 17:03:43 -> Uploading to 17:03:43 https://storage.googleapis.com/codecov/v4/raw/2022-12-06/73D8F5FF140700D3E01443B452E23636/72e233621482b0a717e29bfb6eaf093ebf1ae044/7c5a7df9-cd40-4b74-b10a-869405e5eb37.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221206T170343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ef00597dd120f74a7079cac536457b91d5794286b6fa4eaf1e70e0e46368efd 17:03:43 % Total % Received % Xferd Average Speed Time Time Time Current 17:03:43 Dload Upload Total Spent Left Speed 17:03:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4258 0 0 100 4258 0 16896 --:--:-- --:--:-- --:--:-- 16896 17:03:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/72e233621482b0a717e29bfb6eaf093ebf1ae044 [Pipeline] } 17:03:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:03:44 + [ -d /w/workspace/foundry_device-usb-camera_PR-115/archives ] 17:03:44 + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives 17:03:44 total 16 17:03:44 drwxr-xr-x 3 root root 4096 Dec 6 16:55 . 17:03:44 drwxrwxr-x 11 jenkins jenkins 4096 Dec 6 16:55 .. 17:03:44 drwxr-xr-x 2 root root 4096 Dec 6 16:55 cost 17:03:44 -rw-r--r-- 1 root root 90 Dec 6 16:55 cost.csv 17:03:44 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-115/archives 17:03:44 + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives 17:03:44 total 16 17:03:44 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 16:55 . 17:03:44 drwxrwxr-x 11 jenkins jenkins 4096 Dec 6 16:55 .. 17:03:44 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 16:55 cost 17:03:44 -rw-r--r-- 1 jenkins jenkins 90 Dec 6 16:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:03:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:03:45 ---> package-listing.sh 17:03:45 ++ facter osfamily 17:03:45 ++ tr '[:upper:]' '[:lower:]' 17:03:45 + OS_FAMILY=debian 17:03:45 + workspace=/w/workspace/foundry_device-usb-camera_PR-115 17:03:45 + START_PACKAGES=/tmp/packages_start.txt 17:03:45 + END_PACKAGES=/tmp/packages_end.txt 17:03:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:03:45 + PACKAGES=/tmp/packages_start.txt 17:03:45 + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' 17:03:45 + PACKAGES=/tmp/packages_end.txt 17:03:45 + case "${OS_FAMILY}" in 17:03:45 + dpkg -l 17:03:45 + grep '^ii' 17:03:45 + '[' -f /tmp/packages_start.txt ']' 17:03:45 + '[' -f /tmp/packages_end.txt ']' 17:03:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:03:45 + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' 17:03:45 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-115/archives/ 17:03:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-115/archives/ [Pipeline] echo 17:03:45 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/foundry_device-usb-camera_PR-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:03:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:03:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:03:46 prd-ubuntu20.04-docker-8c-8g-120651 does not seem to be running inside a container 17:03:46 $ 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/foundry_device-usb-camera_PR-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@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 17:03:46 $ docker top eaff84911cc0b0d620f4b9d4bcb666ad94e4f6fc60a26718e381ba2c94d5b3e7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:03:47 + touch /tmp/pre-build-complete [Pipeline] sh 17:03:47 + mkdir -p /var/log/sysstat [Pipeline] sh 17:03:47 + ls /var/log/sa-host 17:03:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:03:47 provisioning config files... 17:03:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config6098900447153404468tmp [Pipeline] { [Pipeline] echo 17:03:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:03:48 ---> create-netrc.sh [Pipeline] } 17:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:03:48 ---> python-tools-install.sh [Pipeline] echo 17:03:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:03:48 ---> sudo-logs.sh 17:03:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:03:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:03:48 ---> job-cost.sh 17:03:48 lf-activate-venv: SKIPPING 17:03:48 DEBUG: total: 0.2199999988079071 17:03:48 INFO: Retrieving Stack Cost... 17:03:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:03:49 INFO: Archiving Costs [Pipeline] echo 17:03:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:03:50 ---> logs-deploy.sh 17:03:50 lf-activate-venv: SKIPPING 17:03:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-115/29 17:03:50 INFO: archiving workspace using pattern(s): 17:03:51 Archives upload complete. 17:03:51 INFO: archiving logs to Nexus 17:03:51 ---> uname -a: 17:03:51 Linux prd-ubuntu20-04-docker-8c-8g-120651 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:03:51 17:03:51 17:03:51 ---> lscpu: 17:03:51 Architecture: x86_64 17:03:51 CPU op-mode(s): 32-bit, 64-bit 17:03:51 Byte Order: Little Endian 17:03:51 Address sizes: 40 bits physical, 48 bits virtual 17:03:51 CPU(s): 8 17:03:51 On-line CPU(s) list: 0-7 17:03:51 Thread(s) per core: 1 17:03:51 Core(s) per socket: 1 17:03:51 Socket(s): 8 17:03:51 NUMA node(s): 1 17:03:51 Vendor ID: AuthenticAMD 17:03:51 CPU family: 23 17:03:51 Model: 49 17:03:51 Model name: AMD EPYC-Rome Processor 17:03:51 Stepping: 0 17:03:51 CPU MHz: 2799.998 17:03:51 BogoMIPS: 5599.99 17:03:51 Virtualization: AMD-V 17:03:51 Hypervisor vendor: KVM 17:03:51 Virtualization type: full 17:03:51 L1d cache: 256 KiB 17:03:51 L1i cache: 256 KiB 17:03:51 L2 cache: 4 MiB 17:03:51 L3 cache: 128 MiB 17:03:51 NUMA node0 CPU(s): 0-7 17:03:51 Vulnerability Itlb multihit: Not affected 17:03:51 Vulnerability L1tf: Not affected 17:03:51 Vulnerability Mds: Not affected 17:03:51 Vulnerability Meltdown: Not affected 17:03:51 Vulnerability Mmio stale data: Not affected 17:03:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:03:51 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:03:51 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:03:51 Vulnerability Srbds: Not affected 17:03:51 Vulnerability Tsx async abort: Not affected 17:03:51 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 17:03:51 17:03:51 17:03:51 ---> nproc: 17:03:51 8 17:03:51 17:03:51 17:03:51 ---> df -h: 17:03:51 Filesystem Size Used Avail Use% Mounted on 17:03:51 overlay 155G 12G 144G 8% / 17:03:51 tmpfs 64M 0 64M 0% /dev 17:03:51 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:03:51 shm 64M 0 64M 0% /dev/shm 17:03:51 /dev/vda1 155G 12G 144G 8% /facter-os 17:03:51 17:03:51 17:03:51 ---> sar -b -r -n DEV: 17:03:51 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-120651) 12/06/22 _x86_64_ (8 CPU) 17:03:51 17:03:51 16:53:14 LINUX RESTART (8 CPU) 17:03:51 17:03:51 16:54:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:03:51 16:55:01 194.90 2.05 192.85 0.00 71.17 75124.22 0.00 17:03:51 16:56:01 242.49 0.23 242.26 0.00 15.86 48719.21 0.00 17:03:51 16:57:01 1.33 0.00 1.33 0.00 0.00 15.34 0.00 17:03:51 16:58:01 1.52 0.00 1.52 0.00 0.00 17.46 0.00 17:03:51 16:59:01 55.32 10.56 44.76 0.00 5154.74 8862.66 0.00 17:03:51 17:00:01 6.15 0.02 6.13 0.00 0.13 124.25 0.00 17:03:51 17:01:01 0.98 0.00 0.98 0.00 0.00 11.60 0.00 17:03:51 17:02:01 1.72 0.00 1.72 0.00 0.00 19.33 0.00 17:03:51 17:03:01 0.90 0.00 0.90 0.00 0.00 10.26 0.00 17:03:51 Average: 55.89 1.43 54.46 0.00 583.37 14654.92 0.00 17:03:51 17:03:51 16:54:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:03:51 16:55:01 28184884 31488860 810900 2.47 142452 3346352 1948172 5.74 1258352 2976836 135268 17:03:51 16:56:01 27489552 31541008 758084 2.31 155648 4037140 1729436 5.10 1273532 3607152 140 17:03:51 16:57:01 27489672 31541300 757420 2.30 155688 4037144 1729436 5.10 1272868 3607156 4 17:03:51 16:58:01 27491000 31542720 755836 2.30 155728 4037144 1729436 5.10 1271424 3607172 8 17:03:51 16:59:01 26971944 31525716 756060 2.30 189276 4491476 1825576 5.38 1590864 3772832 1116 17:03:51 17:00:01 26978080 31526976 754412 2.29 187844 4488224 1800600 5.31 1587444 3769616 28 17:03:51 17:01:01 26983624 31532524 748848 2.28 187860 4488228 1800600 5.31 1582072 3769620 16 17:03:51 17:02:01 26983624 31532532 748760 2.28 187892 4488232 1800600 5.31 1582080 3769624 8 17:03:51 17:03:01 26983540 31532716 748988 2.28 187908 4488232 1800600 5.31 1581908 3769840 12 17:03:51 Average: 27283991 31529372 759923 2.31 172255 4211352 1796051 5.29 1444505 3627761 15178 17:03:51 17:03:51 16:54:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:03:51 16:55:01 ens3 415.47 272.23 6635.73 43.53 0.00 0.00 0.00 0.00 17:03:51 16:55:01 docker0 159.21 234.54 13.34 2525.48 0.00 0.00 0.00 0.00 17:03:51 16:55:01 vethb99d980 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 17:03:51 16:55:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 17:03:51 16:56:01 ens3 187.89 133.36 3392.53 99.35 0.00 0.00 0.00 0.00 17:03:51 16:56:01 docker0 13.73 33.39 1.06 642.35 0.00 0.00 0.00 0.00 17:03:51 16:56:01 lo 2.93 2.93 0.29 0.29 0.00 0.00 0.00 0.00 17:03:51 16:57:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 16:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 16:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 16:58:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:03:51 16:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 16:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:03:51 16:59:01 ens3 265.47 172.55 2752.55 11.70 0.00 0.00 0.00 0.00 17:03:51 16:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 16:59:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 17:03:51 17:00:01 ens3 0.25 0.22 0.02 0.02 0.00 0.00 0.00 0.00 17:03:51 17:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 17:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:03:51 17:01:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 17:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 17:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 17:02:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:03:51 17:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 17:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:03:51 17:03:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 17:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 17:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:51 Average: ens3 96.01 63.90 1410.39 17.13 0.00 0.00 0.00 0.00 17:03:51 Average: docker0 18.96 29.39 1.58 347.94 0.00 0.00 0.00 0.00 17:03:51 Average: lo 0.76 0.76 0.07 0.07 0.00 0.00 0.00 0.00 17:03:51 17:03:51 17:03:51 ---> sar -P ALL: 17:03:51 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-120651) 12/06/22 _x86_64_ (8 CPU) 17:03:51 17:03:51 16:53:14 LINUX RESTART (8 CPU) 17:03:51 17:03:51 16:54:02 CPU %user %nice %system %iowait %steal %idle 17:03:51 16:55:01 all 26.42 0.00 6.58 1.56 0.08 65.37 17:03:51 16:55:01 0 26.23 0.00 6.40 3.21 0.10 64.06 17:03:51 16:55:01 1 26.11 0.00 6.59 0.43 0.07 66.81 17:03:51 16:55:01 2 25.31 0.00 6.58 0.29 0.07 67.75 17:03:51 16:55:01 3 26.73 0.00 7.93 1.43 0.09 63.82 17:03:51 16:55:01 4 27.13 0.00 6.37 1.20 0.07 65.23 17:03:51 16:55:01 5 26.85 0.00 7.80 5.55 0.09 59.71 17:03:51 16:55:01 6 26.47 0.00 5.14 0.26 0.05 68.08 17:03:51 16:55:01 7 26.53 0.00 5.84 0.10 0.09 67.44 17:03:51 16:56:01 all 23.17 0.00 5.49 1.19 0.07 70.08 17:03:51 16:56:01 0 23.88 0.00 5.08 0.32 0.05 70.67 17:03:51 16:56:01 1 22.94 0.00 6.07 5.11 0.07 65.80 17:03:51 16:56:01 2 22.56 0.00 5.35 0.20 0.07 71.82 17:03:51 16:56:01 3 22.39 0.00 5.48 0.64 0.08 71.40 17:03:51 16:56:01 4 21.94 0.00 5.26 2.05 0.07 70.69 17:03:51 16:56:01 5 25.01 0.00 6.27 0.46 0.08 68.18 17:03:51 16:56:01 6 22.97 0.00 5.21 0.13 0.07 71.63 17:03:51 16:56:01 7 23.68 0.00 5.17 0.63 0.07 70.46 17:03:51 16:57:01 all 0.03 0.00 0.01 0.01 0.00 99.95 17:03:51 16:57:01 0 0.00 0.00 0.02 0.00 0.02 99.97 17:03:51 16:57:01 1 0.00 0.00 0.00 0.00 0.02 99.98 17:03:51 16:57:01 2 0.08 0.00 0.00 0.00 0.00 99.92 17:03:51 16:57:01 3 0.07 0.00 0.05 0.00 0.00 99.88 17:03:51 16:57:01 4 0.00 0.00 0.00 0.05 0.00 99.95 17:03:51 16:57:01 5 0.00 0.00 0.02 0.00 0.00 99.98 17:03:51 16:57:01 6 0.03 0.00 0.00 0.00 0.00 99.97 17:03:51 16:57:01 7 0.02 0.00 0.00 0.00 0.00 99.98 17:03:51 16:58:01 all 0.03 0.00 0.01 0.00 0.00 99.95 17:03:51 16:58:01 0 0.03 0.00 0.00 0.00 0.00 99.97 17:03:51 16:58:01 1 0.02 0.00 0.00 0.00 0.00 99.98 17:03:51 16:58:01 2 0.03 0.00 0.02 0.00 0.00 99.95 17:03:51 16:58:01 3 0.07 0.00 0.05 0.00 0.02 99.87 17:03:51 16:58:01 4 0.02 0.00 0.02 0.03 0.00 99.93 17:03:51 16:58:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:03:51 16:58:01 6 0.03 0.00 0.02 0.00 0.00 99.95 17:03:51 16:58:01 7 0.03 0.00 0.02 0.00 0.00 99.95 17:03:51 16:59:01 all 2.28 0.00 1.43 0.36 0.02 95.91 17:03:51 16:59:01 0 1.98 0.00 1.16 0.25 0.02 96.60 17:03:51 16:59:01 1 2.17 0.00 2.24 0.08 0.02 95.49 17:03:51 16:59:01 2 2.91 0.00 0.79 0.13 0.02 96.15 17:03:51 16:59:01 3 1.86 0.00 1.66 0.05 0.02 96.42 17:03:51 16:59:01 4 2.20 0.00 1.50 1.35 0.02 94.92 17:03:51 16:59:01 5 1.50 0.00 0.80 0.23 0.02 97.45 17:03:51 16:59:01 6 3.72 0.00 1.44 0.32 0.02 94.51 17:03:51 16:59:01 7 1.92 0.00 1.85 0.47 0.03 95.72 17:03:51 17:00:01 all 0.33 0.00 0.04 0.02 0.01 99.61 17:03:51 17:00:01 0 0.05 0.00 0.05 0.00 0.02 99.88 17:03:51 17:00:01 1 0.10 0.00 0.03 0.02 0.00 99.85 17:03:51 17:00:01 2 2.04 0.00 0.00 0.07 0.00 97.90 17:03:51 17:00:01 3 0.02 0.00 0.02 0.02 0.00 99.95 17:03:51 17:00:01 4 0.00 0.00 0.03 0.05 0.00 99.92 17:03:51 17:00:01 5 0.07 0.00 0.05 0.02 0.02 99.85 17:03:51 17:00:01 6 0.25 0.00 0.07 0.00 0.02 99.67 17:03:51 17:00:01 7 0.07 0.00 0.03 0.00 0.00 99.90 17:03:51 17:01:01 all 0.26 0.00 0.02 0.00 0.00 99.72 17:03:51 17:01:01 0 0.02 0.00 0.03 0.00 0.00 99.95 17:03:51 17:01:01 1 0.00 0.00 0.02 0.00 0.02 99.97 17:03:51 17:01:01 2 1.97 0.00 0.02 0.02 0.00 98.00 17:03:51 17:01:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:03:51 17:01:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:03:51 17:01:01 5 0.03 0.00 0.03 0.02 0.00 99.92 17:03:51 17:01:01 6 0.02 0.00 0.02 0.00 0.00 99.97 17:03:51 17:01:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:03:51 17:02:01 all 0.26 0.00 0.02 0.00 0.00 99.72 17:03:51 17:02:01 0 0.00 0.00 0.02 0.00 0.00 99.98 17:03:51 17:02:01 1 0.02 0.00 0.03 0.00 0.00 99.95 17:03:51 17:02:01 2 1.99 0.00 0.00 0.02 0.00 98.00 17:03:51 17:02:01 3 0.02 0.00 0.03 0.00 0.02 99.93 17:03:51 17:02:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:03:51 17:02:01 5 0.00 0.00 0.03 0.00 0.00 99.97 17:03:51 17:02:01 6 0.02 0.00 0.00 0.00 0.00 99.98 17:03:51 17:02:01 7 0.03 0.00 0.02 0.00 0.00 99.95 17:03:51 17:03:01 all 0.21 0.00 0.01 0.00 0.00 99.76 17:03:51 17:03:01 0 0.02 0.00 0.02 0.00 0.00 99.97 17:03:51 17:03:01 1 0.03 0.00 0.00 0.00 0.00 99.97 17:03:51 17:03:01 2 1.60 0.00 0.02 0.02 0.02 98.35 17:03:51 17:03:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:03:51 17:03:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:03:51 17:03:01 5 0.02 0.00 0.05 0.00 0.02 99.92 17:03:51 17:03:01 6 0.00 0.00 0.02 0.02 0.00 99.97 17:03:51 17:03:01 7 0.00 0.00 0.02 0.00 0.00 99.98 17:03:51 Average: all 5.79 0.00 1.49 0.34 0.02 92.35 17:03:51 Average: 0 5.71 0.00 1.40 0.41 0.02 92.45 17:03:51 Average: 1 5.62 0.00 1.64 0.62 0.02 92.09 17:03:51 Average: 2 6.38 0.00 1.39 0.08 0.02 92.13 17:03:51 Average: 3 5.59 0.00 1.66 0.23 0.02 92.49 17:03:51 Average: 4 5.60 0.00 1.44 0.52 0.02 92.42 17:03:51 Average: 5 5.85 0.00 1.65 0.68 0.02 91.79 17:03:51 Average: 6 5.87 0.00 1.31 0.08 0.02 92.73 17:03:51 Average: 7 5.71 0.00 1.42 0.13 0.02 92.72 17:03:51 17:03:51 17:03:51