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 930d09c6b8edfbf465d6647ffc4d220e5b7c1326 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-ssh1427260913210097264.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-ssh5053753523444143640.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-ssh13818266777498210179.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-ssh18054500611199267555.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-ssh10695634788777179638.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-120359 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 > 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 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 930d09c6b8edfbf465d6647ffc4d220e5b7c1326 Merge succeeded, producing e62afa714770c6ffcb2250312a0f5e94202a0d05 Checking out Revision e62afa714770c6ffcb2250312a0f5e94202a0d05 (PR-115) > git config core.sparsecheckout # timeout=10 > git checkout -f 930d09c6b8edfbf465d6647ffc4d220e5b7c1326 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e62afa714770c6ffcb2250312a0f5e94202a0d05 # timeout=10 Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 387abb2dc63a70ad0a8c12cc23b7f94d92e70620 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:07:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:07:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:07:39 ========================================================= 19:07:39 EdgeX Global Pipelines Version Info 19:07:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:07:40 ------------------- 19:07:40 stable info: 19:07:40 ------------------- 19:07:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:07:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:07:40 Message: update stable to v1.0.244 19:07:41 ------------------- 19:07:41 experimental info: 19:07:41 ------------------- 19:07:41 Commited By: **** collab-it+edgex@linuxfoundation.org 19:07:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:07:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e62afa714770c6ffcb2250312a0f5e94202a0d05 [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e62afa7 [Pipeline] echo 19:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:41 provisioning config files... 19:07:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config5918608818010753626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:42 ---> docker-login.sh 19:07:42 nexus3.edgexfoundry.org:10001 19:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:42 Configure a credential helper to remove this warning. See 19:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:42 19:07:42 Login Succeeded 19:07:42 nexus3.edgexfoundry.org:10002 19:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:42 Configure a credential helper to remove this warning. See 19:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:42 19:07:42 Login Succeeded 19:07:42 nexus3.edgexfoundry.org:10003 19:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:42 Configure a credential helper to remove this warning. See 19:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:42 19:07:42 Login Succeeded 19:07:42 nexus3.edgexfoundry.org:10004 19:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:42 Configure a credential helper to remove this warning. See 19:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:42 19:07:42 Login Succeeded 19:07:42 docker.io 19:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:43 Configure a credential helper to remove this warning. See 19:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:43 19:07:43 Login Succeeded 19:07:43 ---> docker-login.sh ends [Pipeline] } 19:07:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:07:43 + git rev-list -1 --merges e62afa714770c6ffcb2250312a0f5e94202a0d05~1..e62afa714770c6ffcb2250312a0f5e94202a0d05 [Pipeline] echo 19:07:43 -----------> git rev-list -1 --merges e62afa714770c6ffcb2250312a0f5e94202a0d05~1..e62afa714770c6ffcb2250312a0f5e94202a0d05 e62afa714770c6ffcb2250312a0f5e94202a0d05 19:07:43 e62afa714770c6ffcb2250312a0f5e94202a0d05 [false] [Pipeline] sh 19:07:44 + git log --format=format:%s -1 e62afa714770c6ffcb2250312a0f5e94202a0d05 [Pipeline] echo 19:07:44 ========================================================= 19:07:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:07:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:07:44 + git log --format=format:%s -1 e62afa714770c6ffcb2250312a0f5e94202a0d05 [Pipeline] echo 19:07:44 [semverPrep] GIT_COMMIT: e62afa714770c6ffcb2250312a0f5e94202a0d05, Commit Message: Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD [Pipeline] echo 19:07:44 [semverPrep] This is not a build commit. [Pipeline] sh 19:07:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:44 + grep -v github /etc/ssh/ssh_known_hosts 19:07:44 + [ -e /tmp/ssh_known_hosts ] 19:07:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:07:44 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:07:44 sudo tee -a /etc/ssh/ssh_known_hosts 19:07:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:45 19:07:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:45 0.1.4: Pulling from edgex-devops/py-git-semver 19:07:45 b85a868b505f: Pulling fs layer 19:07:45 e2be974225ed: Pulling fs layer 19:07:45 339a4e72a1f5: Pulling fs layer 19:07:45 988bab9f4d93: Pulling fs layer 19:07:45 1469e6f7b9e6: Pulling fs layer 19:07:45 eaf3925da568: Pulling fs layer 19:07:45 bab4dde63d76: Pulling fs layer 19:07:45 bde34c3a00c8: Pulling fs layer 19:07:45 b352a97aabf1: Pulling fs layer 19:07:45 4872d77fe225: Pulling fs layer 19:07:45 5851b861e8e6: Pulling fs layer 19:07:45 988bab9f4d93: Waiting 19:07:45 5851b861e8e6: Waiting 19:07:45 4872d77fe225: Waiting 19:07:45 1469e6f7b9e6: Waiting 19:07:45 b352a97aabf1: Waiting 19:07:45 eaf3925da568: Waiting 19:07:45 bab4dde63d76: Waiting 19:07:45 bde34c3a00c8: Waiting 19:07:45 e2be974225ed: Verifying Checksum 19:07:45 e2be974225ed: Download complete 19:07:45 988bab9f4d93: Verifying Checksum 19:07:45 988bab9f4d93: Download complete 19:07:45 1469e6f7b9e6: Verifying Checksum 19:07:45 1469e6f7b9e6: Download complete 19:07:45 eaf3925da568: Verifying Checksum 19:07:45 eaf3925da568: Download complete 19:07:45 339a4e72a1f5: Verifying Checksum 19:07:45 339a4e72a1f5: Download complete 19:07:45 bde34c3a00c8: Download complete 19:07:45 b352a97aabf1: Download complete 19:07:45 4872d77fe225: Download complete 19:07:45 5851b861e8e6: Verifying Checksum 19:07:45 b85a868b505f: Verifying Checksum 19:07:45 b85a868b505f: Download complete 19:07:46 bab4dde63d76: Verifying Checksum 19:07:46 bab4dde63d76: Download complete 19:07:47 b85a868b505f: Pull complete 19:07:47 e2be974225ed: Pull complete 19:07:47 339a4e72a1f5: Pull complete 19:07:47 988bab9f4d93: Pull complete 19:07:48 1469e6f7b9e6: Pull complete 19:07:48 eaf3925da568: Pull complete 19:07:50 bab4dde63d76: Pull complete 19:07:50 bde34c3a00c8: Pull complete 19:07:50 b352a97aabf1: Pull complete 19:07:50 4872d77fe225: Pull complete 19:07:50 5851b861e8e6: Pull complete 19:07:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:50 prd-ubuntu20.04-docker-8c-8g-120359 does not seem to be running inside a container 19:07:50 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:07:53 $ docker top 6231ae5c38e9e6574e48b3c0e0215aa18d659d89c64f20dcb97a12df3f435a64 -eo pid,comm 19:07:53 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). 19:07:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:53 [ssh-agent] Looking for ssh-agent implementation... 19:07:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:53 $ docker exec 6231ae5c38e9e6574e48b3c0e0215aa18d659d89c64f20dcb97a12df3f435a64 ssh-agent 19:07:53 SSH_AUTH_SOCK=/tmp/ssh-Dt5bwGk9rigq/agent.32 19:07:53 SSH_AGENT_PID=38 19:07:53 Running ssh-add (command line suppressed) 19:07:53 Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_4143730151254471781.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_4143730151254471781.key) 19:07:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:53 + git tag --points-at HEAD [Pipeline] } 19:07:53 $ docker exec --env ******** --env ******** 6231ae5c38e9e6574e48b3c0e0215aa18d659d89c64f20dcb97a12df3f435a64 ssh-agent -k 19:07:53 unset SSH_AUTH_SOCK; 19:07:53 unset SSH_AGENT_PID; 19:07:53 echo Agent pid 38 killed; 19:07:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:07:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:53 [ssh-agent] Looking for ssh-agent implementation... 19:07:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:54 $ docker exec 6231ae5c38e9e6574e48b3c0e0215aa18d659d89c64f20dcb97a12df3f435a64 ssh-agent 19:07:54 SSH_AUTH_SOCK=/tmp/ssh-XvJyhALjEuGV/agent.70 19:07:54 SSH_AGENT_PID=76 19:07:54 Running ssh-add (command line suppressed) 19:07:54 Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_14783250303311464495.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_14783250303311464495.key) 19:07:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:54 + git semver init 19:07:54 2022-12-01 19:07:54,725 [run_init] DEBUG init version:0.0.0 force:False 19:07:54 2022-12-01 19:07:54,726 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-115/.semver 19:07:54 2022-12-01 19:07:54,726 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-115/.semver 19:07:54 2022-12-01 19:07:54,727 [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) 19:07:55 2022-12-01 19:07:55,526 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-115/.git/info/exclude 19:07:55 2022-12-01 19:07:55,527 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 with force:False 19:07:55 2022-12-01 19:07:55,527 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 19:07:55 2022-12-01 19:07:55,531 [execute] INFO git cat-file --batch-check 19:07:55 2022-12-01 19:07:55,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) 19:07:55 2022-12-01 19:07:55,538 [execute] INFO git cat-file --batch 19:07:55 2022-12-01 19:07:55,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) 19:07:55 2022-12-01 19:07:55,544 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 19:07:55 0.0.0 [Pipeline] } 19:07:55 $ docker exec --env ******** --env ******** 6231ae5c38e9e6574e48b3c0e0215aa18d659d89c64f20dcb97a12df3f435a64 ssh-agent -k 19:07:55 unset SSH_AUTH_SOCK; 19:07:55 unset SSH_AGENT_PID; 19:07:55 echo Agent pid 76 killed; 19:07:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:56 + git semver [Pipeline] } 19:07:56 $ docker stop --time=1 6231ae5c38e9e6574e48b3c0e0215aa18d659d89c64f20dcb97a12df3f435a64 19:07:57 $ docker rm -f 6231ae5c38e9e6574e48b3c0e0215aa18d659d89c64f20dcb97a12df3f435a64 [Pipeline] // withDockerContainer [Pipeline] sh 19:07:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:07:58 Stashed 1 file(s) [Pipeline] echo 19:07:58 [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 19:07:58 provisioning config files... 19:07:58 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config13728281826066557497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:58 ---> docker-login.sh 19:07:58 nexus3.edgexfoundry.org:10001 19:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:58 Configure a credential helper to remove this warning. See 19:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:58 19:07:58 Login Succeeded 19:07:58 nexus3.edgexfoundry.org:10002 19:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:58 Configure a credential helper to remove this warning. See 19:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:58 19:07:58 Login Succeeded 19:07:58 nexus3.edgexfoundry.org:10003 19:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:58 Configure a credential helper to remove this warning. See 19:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:58 19:07:58 Login Succeeded 19:07:58 nexus3.edgexfoundry.org:10004 19:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:58 Configure a credential helper to remove this warning. See 19:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:58 19:07:58 Login Succeeded 19:07:58 docker.io 19:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:59 Configure a credential helper to remove this warning. See 19:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:59 19:07:59 Login Succeeded 19:07:59 ---> docker-login.sh ends [Pipeline] } 19:07:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:59 ========================================================= 19:07:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:07:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:59 + 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 . 19:07:59 Sending build context to Docker daemon 1.672MB 19:07:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:07:59 Step 2/13 : FROM ${BASE} AS builder 19:07:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:07:59 213ec9aee27d: Pulling fs layer 19:07:59 4583459ba037: Pulling fs layer 19:07:59 93c1e223e6f2: Pulling fs layer 19:07:59 53926ce57604: Pulling fs layer 19:07:59 21b2b0c7a3f4: Pulling fs layer 19:07:59 22ff95d597cd: Pulling fs layer 19:07:59 12d6caf4c0d1: Pulling fs layer 19:07:59 96b7cbca73a9: Pulling fs layer 19:07:59 a7acece74701: Pulling fs layer 19:07:59 53926ce57604: Waiting 19:07:59 21b2b0c7a3f4: Waiting 19:07:59 22ff95d597cd: Waiting 19:07:59 96b7cbca73a9: Waiting 19:07:59 a7acece74701: Waiting 19:07:59 93c1e223e6f2: Verifying Checksum 19:07:59 93c1e223e6f2: Download complete 19:07:59 4583459ba037: Verifying Checksum 19:07:59 4583459ba037: Download complete 19:07:59 21b2b0c7a3f4: Verifying Checksum 19:07:59 21b2b0c7a3f4: Download complete 19:07:59 22ff95d597cd: Verifying Checksum 19:07:59 22ff95d597cd: Download complete 19:07:59 213ec9aee27d: Verifying Checksum 19:07:59 213ec9aee27d: Download complete 19:07:59 12d6caf4c0d1: Download complete 19:07:59 213ec9aee27d: Pull complete 19:08:00 4583459ba037: Pull complete 19:08:00 93c1e223e6f2: Pull complete 19:08:00 a7acece74701: Verifying Checksum 19:08:00 a7acece74701: Download complete 19:08:00 53926ce57604: Verifying Checksum 19:08:00 53926ce57604: Download complete 19:08:00 96b7cbca73a9: Verifying Checksum 19:08:00 96b7cbca73a9: Download complete 19:08:04 53926ce57604: Pull complete 19:08:04 21b2b0c7a3f4: Pull complete 19:08:04 22ff95d597cd: Pull complete 19:08:04 12d6caf4c0d1: Pull complete 19:08:06 96b7cbca73a9: Pull complete 19:08:07 a7acece74701: Pull complete 19:08:07 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 19:08:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:08:07 ---> db6d94c90886 19:08:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:08:13 Still waiting to schedule task 19:08:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:08:13 ---> Running in faede6b1e818 19:08:13 Removing intermediate container faede6b1e818 19:08:13 ---> 6070edee342f 19:08:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:08:13 ---> Running in 9d4a315cbf85 19:08:13 Removing intermediate container 9d4a315cbf85 19:08:13 ---> 46da0b854710 19:08:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 19:08:13 ---> Running in 46d75914ed7e 19:08:13 Removing intermediate container 46d75914ed7e 19:08:13 ---> 5d80b0820cc5 19:08:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:08:13 ---> Running in 5efc9d6d162e 19:08:13 Removing intermediate container 5efc9d6d162e 19:08:13 ---> 4b67caaff37a 19:08:13 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:08:13 ---> Running in dd3c0f6bb48e 19:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:08:13 (1/80) Installing mesa (21.3.8-r2) 19:08:13 (2/80) Installing libxau (1.0.9-r0) 19:08:13 (3/80) Installing libxdmcp (1.1.3-r0) 19:08:13 (4/80) Installing libxcb (1.15-r0) 19:08:13 (5/80) Installing libx11 (1.8-r0) 19:08:14 (6/80) Installing libxext (1.3.4-r0) 19:08:14 (7/80) Installing libxfixes (6.0.0-r0) 19:08:14 (8/80) Installing libxxf86vm (1.1.4-r2) 19:08:14 (9/80) Installing libpciaccess (0.16-r0) 19:08:14 (10/80) Installing libdrm (2.4.110-r0) 19:08:14 (11/80) Installing mesa-glapi (21.3.8-r2) 19:08:14 (12/80) Installing libxshmfence (1.3-r1) 19:08:14 (13/80) Installing mesa-gl (21.3.8-r2) 19:08:14 (14/80) Installing icu-data-full (71.1-r2) 19:08:14 (15/80) Installing libice (1.0.10-r0) 19:08:14 (16/80) Installing libuuid (2.38-r1) 19:08:14 (17/80) Installing libsm (1.2.3-r0) 19:08:14 (18/80) Installing libxt (1.2.1-r0) 19:08:14 (19/80) Installing libxmu (1.1.3-r0) 19:08:14 (20/80) Installing xset (1.2.4-r0) 19:08:14 (21/80) Installing xprop (1.2.5-r0) 19:08:14 (22/80) Installing xdg-utils (1.1.3-r3) 19:08:14 (23/80) Installing dbus-libs (1.14.4-r0) 19:08:14 (24/80) Installing libffi (3.4.2-r1) 19:08:14 (25/80) Installing libintl (0.21-r2) 19:08:14 (26/80) Installing libblkid (2.38-r1) 19:08:14 (27/80) Installing libmount (2.38-r1) 19:08:14 (28/80) Installing pcre (8.45-r2) 19:08:14 (29/80) Installing glib (2.72.1-r0) 19:08:14 (30/80) Installing icu-libs (71.1-r2) 19:08:14 (31/80) Installing libpcre2-16 (10.40-r0) 19:08:14 (32/80) Installing zstd-libs (1.5.2-r1) 19:08:14 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 19:08:14 (34/80) Installing hicolor-icon-theme (0.17-r1) 19:08:14 (35/80) Installing wayland-libs-server (1.20.0-r0) 19:08:14 (36/80) Installing mesa-gbm (21.3.8-r2) 19:08:14 (37/80) Installing wayland-libs-client (1.20.0-r0) 19:08:14 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 19:08:14 (39/80) Installing libxcomposite (0.4.5-r0) 19:08:14 (40/80) Installing libbz2 (1.0.8-r1) 19:08:14 (41/80) Installing libpng (1.6.37-r1) 19:08:14 (42/80) Installing freetype (2.12.1-r0) 19:08:14 (43/80) Installing fontconfig (2.14.0-r0) 19:08:14 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 19:08:14 (45/80) Installing wayland-libs-egl (1.20.0-r0) 19:08:14 (46/80) Installing xkeyboard-config (2.35.1-r0) 19:08:14 (47/80) Installing xz-libs (5.2.5-r1) 19:08:14 (48/80) Installing libxml2 (2.9.14-r2) 19:08:14 (49/80) Installing libxkbcommon (1.4.1-r0) 19:08:14 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 19:08:14 (51/80) Installing mesa-egl (21.3.8-r2) 19:08:14 (52/80) Installing avahi-libs (0.8-r6) 19:08:14 (53/80) Installing nettle (3.7.3-r0) 19:08:14 (54/80) Installing p11-kit (0.24.1-r0) 19:08:14 (55/80) Installing libtasn1 (4.18.0-r0) 19:08:14 (56/80) Installing libunistring (1.0-r0) 19:08:14 (57/80) Installing gnutls (3.7.7-r0) 19:08:14 (58/80) Installing cups-libs (2.4.2-r0) 19:08:14 (59/80) Installing graphite2 (1.3.14-r1) 19:08:14 (60/80) Installing harfbuzz (4.3.0-r0) 19:08:14 (61/80) Installing libevdev (1.12.1-r0) 19:08:14 (62/80) Installing mtdev (1.1.6-r0) 19:08:14 (63/80) Installing eudev-libs (3.2.11-r0) 19:08:14 (64/80) Installing libinput-libs (1.20.1-r0) 19:08:14 (65/80) Installing libjpeg-turbo (2.1.3-r1) 19:08:14 (66/80) Installing xcb-util-wm (0.4.1-r1) 19:08:14 (67/80) Installing xcb-util (0.4.0-r3) 19:08:14 (68/80) Installing xcb-util-image (0.4.0-r1) 19:08:14 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 19:08:14 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 19:08:14 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 19:08:14 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 19:08:15 (73/80) Installing v4l-utils-libs (1.22.1-r1) 19:08:15 (74/80) Installing v4l-utils (1.22.1-r1) 19:08:15 (75/80) Installing udev-init-scripts (35-r0) 19:08:15 Executing udev-init-scripts-35-r0.post-install 19:08:15 (76/80) Installing kmod-libs (29-r2) 19:08:15 (77/80) Installing eudev (3.2.11-r0) 19:08:15 (78/80) Installing eudev-dev (3.2.11-r0) 19:08:15 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 19:08:15 (80/80) Installing v4l-utils-dev (1.22.1-r1) 19:08:15 Executing busybox-1.35.0-r17.trigger 19:08:15 Executing eudev-3.2.11-r0.trigger 19:08:15 OK: 330 MiB in 131 packages 19:08:19 Removing intermediate container dd3c0f6bb48e 19:08:19 ---> bd4f1e41ae2d 19:08:19 Step 8/13 : WORKDIR /device-usb-camera 19:08:19 ---> Running in e3905ce0d7fb 19:08:19 Removing intermediate container e3905ce0d7fb 19:08:19 ---> db815386346e 19:08:19 Step 9/13 : COPY go.mod vendor* ./ 19:08:19 ---> a1a2efceb178 19:08:19 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:19 ---> Running in c40acb75c6c7 19:08:51 Removing intermediate container c40acb75c6c7 19:08:51 ---> d1d7687076f8 19:08:51 Step 11/13 : COPY . . 19:08:51 ---> a37065911463 19:08:51 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:08:51 ---> Running in 9b8f10ee49fe 19:08:51  % Total % Received % Xferd Average Speed Time Time Time Current 19:08:51  Dload Upload Total Spent Left Speed 19:08:51  0  0 0  0  0 0  0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 7658 0 --:--:-- --:--:-- --:--:-- 7695 19:08:51 Removing intermediate container 9b8f10ee49fe 19:08:51 ---> b0c7feb214ee 19:08:51 Step 13/13 : RUN ${MAKE} 19:08:51 ---> Running in f7c5177b37b5 19:08:51 noop 19:08:51 Removing intermediate container f7c5177b37b5 19:08:51 ---> 607dac06a0ab 19:08:51 Successfully built 607dac06a0ab 19:08:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:52 + docker inspect -f . ci-base-image-x86_64 19:08:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:52 prd-ubuntu20.04-docker-8c-8g-120359 does not seem to be running inside a container 19:08:52 $ 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 ******** -e ******** ci-base-image-x86_64 cat 19:08:52 $ docker top 72a5daab4eb40bc6a513de1f708d75600a74bda237dec8deb08d7833758fe862 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:52 + go version 19:08:52 go version go1.18.7 linux/amd64 [Pipeline] } 19:08:52 $ docker stop --time=1 72a5daab4eb40bc6a513de1f708d75600a74bda237dec8deb08d7833758fe862 19:08:54 $ docker rm -f 72a5daab4eb40bc6a513de1f708d75600a74bda237dec8deb08d7833758fe862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:54 + docker inspect -f . ci-base-image-x86_64 19:08:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:54 prd-ubuntu20.04-docker-8c-8g-120359 does not seem to be running inside a container 19:08:54 $ 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 ******** -e ******** ci-base-image-x86_64 cat 19:08:54 $ docker top b9346a42a7e3f0c593ad3cb6ff189ef51cc0d0e3b94f5bc05e1ea0549e984550 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:55 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] fileExists [Pipeline] sh 19:08:55 + make test 19:08:55 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 19:08:55 ? github.com/edgexfoundry/device-usb-camera [no test files] 19:09:05 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 19:09:06 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements 19:09:14 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." 19:09:14 CGO_ENABLED=1 go vet ./... 19:09:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:09:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:09:17 ./bin/test-attribution-txt.sh [Pipeline] echo 19:09:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:09:17 $ docker stop --time=1 b9346a42a7e3f0c593ad3cb6ff189ef51cc0d0e3b94f5bc05e1ea0549e984550 19:09:20 $ docker rm -f b9346a42a7e3f0c593ad3cb6ff189ef51cc0d0e3b94f5bc05e1ea0549e984550 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:09:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:09:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:09:21 + ls -al . 19:09:21 total 200 19:09:21 drwxrwxr-x 10 jenkins jenkins 4096 Dec 1 19:08 . 19:09:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:07 .. 19:09:21 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 19:09 .git 19:09:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 19:07 .github 19:09:21 -rw-rw-r-- 1 jenkins jenkins 414 Dec 1 19:07 .gitignore 19:09:21 -rw-rw-r-- 1 jenkins jenkins 42 Dec 1 19:07 .golangci.yml 19:09:21 -rw-rw-r-- 1 jenkins jenkins 77 Dec 1 19:07 .hadolint.yml 19:09:21 drwxr-xr-x 3 jenkins jenkins 4096 Dec 1 19:07 .semver 19:09:21 -rw-rw-r-- 1 jenkins jenkins 9702 Dec 1 19:07 Attribution.txt 19:09:21 -rw-rw-r-- 1 jenkins jenkins 1206 Dec 1 19:07 CHANGELOG.md 19:09:21 -rw-rw-r-- 1 jenkins jenkins 2378 Dec 1 19:07 Dockerfile 19:09:21 -rw-rw-r-- 1 jenkins jenkins 678 Dec 1 19:07 GOVERNANCE.md 19:09:21 -rw-rw-r-- 1 jenkins jenkins 659 Dec 1 19:07 Jenkinsfile 19:09:21 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 1 19:07 LICENSE 19:09:21 -rw-rw-r-- 1 jenkins jenkins 2554 Dec 1 19:07 Makefile 19:09:21 -rw-rw-r-- 1 jenkins jenkins 622 Dec 1 19:07 OWNERS.md 19:09:21 -rw-rw-r-- 1 jenkins jenkins 5934 Dec 1 19:07 README.md 19:09:21 -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 19:07 VERSION 19:09:21 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 19:07 bin 19:09:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 19:07 cmd 19:09:21 -rw-r--r-- 1 jenkins jenkins 30072 Dec 1 19:09 coverage.out 19:09:21 -rwxrwxr-x 1 jenkins jenkins 140 Dec 1 19:07 docker-entrypoint.sh 19:09:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:07 docs 19:09:21 -rw-rw-r-- 1 jenkins jenkins 3573 Dec 1 19:07 go.mod 19:09:21 -rw-rw-r-- 1 jenkins jenkins 45026 Dec 1 19:07 go.sum 19:09:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 19:07 internal 19:09:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:07 snap 19:09:21 -rw-rw-r-- 1 jenkins jenkins 231 Dec 1 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:21 + 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=e62afa714770c6ffcb2250312a0f5e94202a0d05 --label arch=amd64 --label version=0.0.0 . 19:09:21 Sending build context to Docker daemon 1.702MB 19:09:21 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 19:09:21 Step 2/35 : FROM ${BASE} AS builder 19:09:21 ---> 607dac06a0ab 19:09:21 Step 3/35 : ARG ADD_BUILD_TAGS="" 19:09:21 ---> Running in 6d50bcf0a8ba 19:09:22 Removing intermediate container 6d50bcf0a8ba 19:09:22 ---> fbae717ef016 19:09:22 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:09:22 ---> Running in 96f598b78648 19:09:22 Removing intermediate container 96f598b78648 19:09:22 ---> 47169e234e53 19:09:22 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 19:09:22 ---> Running in d5f6ca2b71a1 19:09:22 Removing intermediate container d5f6ca2b71a1 19:09:22 ---> 7b27659ecccc 19:09:22 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:09:22 ---> Running in eae1fa0c0cd3 19:09:22 Removing intermediate container eae1fa0c0cd3 19:09:22 ---> e686de85cf63 19:09:22 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:09:22 ---> Running in 303c8f902b21 19:09:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:09:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:09:22 OK: 330 MiB in 131 packages 19:09:23 Removing intermediate container 303c8f902b21 19:09:23 ---> aee1c04153da 19:09:23 Step 8/35 : WORKDIR /device-usb-camera 19:09:23 ---> Running in 8c384ecac26e 19:09:23 Removing intermediate container 8c384ecac26e 19:09:23 ---> 8354b2377d23 19:09:23 Step 9/35 : COPY go.mod vendor* ./ 19:09:23 ---> c49d6a66e35b 19:09:23 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:23 ---> Running in 8c2740a389ea 19:09:23 Removing intermediate container 8c2740a389ea 19:09:23 ---> 76110a357da2 19:09:23 Step 11/35 : COPY . . 19:09:24 ---> 9dc0e8aa7079 19:09:24 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:09:24 ---> Running in 63eb147841c7 19:09:24  % Total % Received % Xferd Average Speed Time Time Time Current 19:09:24 Dload Upload Total Spent Left Speed 19:09:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 26745 0 --:--:-- --:--:-- --:--:-- 27230 19:09:24 Removing intermediate container 63eb147841c7 19:09:24 ---> ff43d7c79127 19:09:24 Step 13/35 : RUN ${MAKE} 19:09:24 ---> Running in a2b279bf2387 19:09:25 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 19:09:51 Removing intermediate container a2b279bf2387 19:09:51 ---> 2bb5808893e3 19:09:51 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 19:09:51 v0.18.4: Pulling from aler9/rtsp-simple-server 19:09:51 af6660deedbd: Pulling fs layer 19:09:51 97cd0a44c592: Pulling fs layer 19:09:51 97cd0a44c592: Download complete 19:09:51 af6660deedbd: Verifying Checksum 19:09:51 af6660deedbd: Download complete 19:09:51 af6660deedbd: Pull complete 19:09:51 97cd0a44c592: Pull complete 19:09:51 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 19:09:51 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 19:09:51 ---> fea57e182299 19:09:51 Step 15/35 : FROM alpine:3.16 19:09:51 3.16: Pulling from library/alpine 19:09:51 ca7dd9ec2225: Pulling fs layer 19:09:51 ca7dd9ec2225: Verifying Checksum 19:09:51 ca7dd9ec2225: Download complete 19:09:51 ca7dd9ec2225: Pull complete 19:09:51 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 19:09:51 Status: Downloaded newer image for alpine:3.16 19:09:51 ---> bfe296a52501 19:09:51 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:09:51 ---> Running in e7778b76e2fb 19:09:51 Removing intermediate container e7778b76e2fb 19:09:51 ---> ae421b7ddc81 19:09:51 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 19:09:51 ---> Running in a3b8723a19bd 19:09:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:09:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:09:51 (1/83) Installing dumb-init (1.2.5-r1) 19:09:51 (2/83) Installing sdl2 (2.0.22-r0) 19:09:51 (3/83) Installing libxau (1.0.9-r0) 19:09:51 (4/83) Installing libxdmcp (1.1.3-r0) 19:09:51 (5/83) Installing libxcb (1.15-r0) 19:09:51 (6/83) Installing libx11 (1.8-r0) 19:09:51 (7/83) Installing aom-libs (3.3.0-r0) 19:09:51 (8/83) Installing alsa-lib (1.2.7.2-r0) 19:09:51 (9/83) Installing expat (2.5.0-r0) 19:09:51 (10/83) Installing brotli-libs (1.0.9-r6) 19:09:51 (11/83) Installing libbz2 (1.0.8-r1) 19:09:51 (12/83) Installing libpng (1.6.37-r1) 19:09:51 (13/83) Installing freetype (2.12.1-r0) 19:09:51 (14/83) Installing fontconfig (2.14.0-r0) 19:09:51 (15/83) Installing fribidi (1.0.12-r0) 19:09:51 (16/83) Installing libffi (3.4.2-r1) 19:09:51 (17/83) Installing libintl (0.21-r2) 19:09:51 (18/83) Installing libblkid (2.38-r1) 19:09:51 (19/83) Installing libmount (2.38-r1) 19:09:51 (20/83) Installing pcre (8.45-r2) 19:09:51 (21/83) Installing glib (2.72.1-r0) 19:09:51 (22/83) Installing graphite2 (1.3.14-r1) 19:09:51 (23/83) Installing harfbuzz (4.3.0-r0) 19:09:51 (24/83) Installing libass (0.16.0-r0) 19:09:51 (25/83) Installing libdav1d (1.0.0-r0) 19:09:51 (26/83) Installing libpciaccess (0.16-r0) 19:09:51 (27/83) Installing libdrm (2.4.110-r0) 19:09:51 (28/83) Installing gmp (6.2.1-r2) 19:09:51 (29/83) Installing nettle (3.7.3-r0) 19:09:51 (30/83) Installing p11-kit (0.24.1-r0) 19:09:51 (31/83) Installing libtasn1 (4.18.0-r0) 19:09:51 (32/83) Installing libunistring (1.0-r0) 19:09:51 (33/83) Installing gnutls (3.7.7-r0) 19:09:51 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 19:09:51 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 19:09:51 (36/83) Installing lame (3.100-r0) 19:09:51 (37/83) Installing opus (1.3.1-r1) 19:09:51 (38/83) Installing libasyncns (0.8-r1) 19:09:51 (39/83) Installing dbus-libs (1.14.4-r0) 19:09:51 (40/83) Installing libltdl (2.4.7-r0) 19:09:51 (41/83) Installing orc (0.4.32-r0) 19:09:51 (42/83) Installing libgcc (11.2.1_git20220219-r2) 19:09:51 (43/83) Installing libogg (1.3.5-r1) 19:09:51 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 19:09:51 (45/83) Installing flac (1.3.4-r0) 19:09:51 (46/83) Installing libvorbis (1.3.7-r0) 19:09:51 (47/83) Installing libsndfile (1.1.0-r0) 19:09:51 (48/83) Installing libgomp (11.2.1_git20220219-r2) 19:09:51 (49/83) Installing soxr (0.1.3-r2) 19:09:51 (50/83) Installing speexdsp (1.2.0-r0) 19:09:51 (51/83) Installing tdb-libs (1.4.6-r0) 19:09:51 (52/83) Installing libpulse (15.0-r2) 19:09:51 (53/83) Installing cjson (1.7.15-r3) 19:09:51 (54/83) Installing mbedtls (2.28.1-r0) 19:09:51 (55/83) Installing librist (0.2.6-r1) 19:09:51 (56/83) Installing libsrt (1.4.4-r0) 19:09:51 (57/83) Installing libssh (0.9.6-r1) 19:09:51 (58/83) Installing libtheora (1.1.1-r16) 19:09:51 (59/83) Installing libjpeg-turbo (2.1.3-r1) 19:09:51 (60/83) Installing v4l-utils-libs (1.22.1-r1) 19:09:51 (61/83) Installing libxext (1.3.4-r0) 19:09:51 (62/83) Installing libxfixes (6.0.0-r0) 19:09:51 (63/83) Installing wayland-libs-client (1.20.0-r0) 19:09:51 (64/83) Installing libva (2.14.0-r0) 19:09:51 (65/83) Installing libvdpau (1.5-r0) 19:09:51 (66/83) Installing vidstab (1.1.0-r1) 19:09:51 (67/83) Installing libvpx (1.11.0-r1) 19:09:51 (68/83) Installing libwebp (1.2.3-r0) 19:09:51 (69/83) Installing x264-libs (0.163_git20210613-r0) 19:09:51 (70/83) Installing numactl (2.0.14-r0) 19:09:51 (71/83) Installing x265-libs (3.5-r3) 19:09:52 (72/83) Installing xvidcore (1.3.7-r1) 19:09:52 (73/83) Installing ffmpeg-libs (5.0.1-r1) 19:09:52 (74/83) Installing ffmpeg (5.0.1-r1) 19:09:52 (75/83) Installing udev-init-scripts (35-r0) 19:09:52 Executing udev-init-scripts-35-r0.post-install 19:09:52 (76/83) Installing eudev-libs (3.2.11-r0) 19:09:52 (77/83) Installing xz-libs (5.2.5-r1) 19:09:52 (78/83) Installing zstd-libs (1.5.2-r1) 19:09:52 (79/83) Installing kmod-libs (29-r2) 19:09:52 (80/83) Installing eudev (3.2.11-r0) 19:09:52 (81/83) Installing libsodium (1.0.18-r0) 19:09:52 (82/83) Installing libzmq (4.3.4-r0) 19:09:52 (83/83) Installing zeromq (4.3.4-r0) 19:09:52 Executing busybox-1.35.0-r17.trigger 19:09:52 Executing eudev-3.2.11-r0.trigger 19:09:52 OK: 101 MiB in 97 packages 19:09:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-120360 in /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] { [Pipeline] ws 19:09:52 Running in /w/workspace/device-usb-camera/20 [Pipeline] { [Pipeline] checkout 19:09:52 Selected Git installation does not exist. Using Default 19:09:52 The recommended git tool is: NONE 19:09:54 Removing intermediate container a3b8723a19bd 19:09:54 ---> 5fe40f6ebc0e 19:09:54 Step 18/35 : WORKDIR / 19:09:54 ---> Running in 5b255822c4ba 19:09:54 Removing intermediate container 5b255822c4ba 19:09:54 ---> 5f13d637f421 19:09:54 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 19:09:55 ---> 1613b58ef5c8 19:09:55 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 19:09:55 ---> 120dab6db7fb 19:09:55 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 19:09:56 ---> 20a98caf225f 19:09:56 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 19:09:56 ---> 2a58c3cfae69 19:09:56 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 19:09:56 ---> f61bbda762ed 19:09:56 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 19:09:56 ---> 116c73fb38f9 19:09:56 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 19:09:56 ---> 39a8f7577277 19:09:56 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 19:09:57 ---> Running in ae299fdb0d0e 19:09:57 using credential edgex-jenkins-ssh 19:09:57 Cloning the remote Git repository 19:09:57 Removing intermediate container ae299fdb0d0e 19:09:57 ---> 90f80aeae5d3 19:09:57 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 19:09:57 ---> Running in 3dd6851dc925 19:09:57 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 19:09:57 > git init /w/workspace/device-usb-camera/20 # timeout=10 19:09:58 Removing intermediate container 3dd6851dc925 19:09:58 ---> 2037b7e328cc 19:09:58 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 19:09:58 ---> Running in 2f056f73e253 19:09:58 Removing intermediate container 2f056f73e253 19:09:58 ---> 0b4e3fd5c183 19:09:58 Step 29/35 : EXPOSE 59983 19:09:58 ---> Running in 67423a4ad37f 19:09:58 Removing intermediate container 67423a4ad37f 19:09:58 ---> 178dbf40e79a 19:09:58 Step 30/35 : EXPOSE 8554 19:09:58 ---> Running in 0c640cc875b1 19:09:57 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 19:09:57 > git --version # timeout=10 19:09:57 > git --version # 'git version 2.25.1' 19:09:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:57 Verifying host key using known hosts file 19:09:58 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. 19:09:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 19:09:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:59 Removing intermediate container 0c640cc875b1 19:09:59 ---> f86621e0cd74 19:09:59 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 19:09:59 ---> Running in 042562416df0 19:09:59 Removing intermediate container 042562416df0 19:09:59 ---> 37b981718956 19:09:59 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 19:09:59 ---> Running in 0b5dd707d187 19:09:59 Removing intermediate container 0b5dd707d187 19:09:59 ---> cc6772edcb90 19:09:59 Step 33/35 : LABEL arch=amd64 19:09:59 ---> Running in b2e9dd2f706d 19:09:59 Removing intermediate container b2e9dd2f706d 19:09:59 ---> 1dbf35cc5837 19:09:59 Step 34/35 : LABEL git_sha=e62afa714770c6ffcb2250312a0f5e94202a0d05 19:09:59 ---> Running in 179711b14fac 19:09:59 Removing intermediate container 179711b14fac 19:09:59 ---> 6ca4a68ce77a 19:09:59 Step 35/35 : LABEL version=0.0.0 19:09:59 ---> Running in 4c84989092d3 19:09:59 Removing intermediate container 4c84989092d3 19:09:59 ---> ff0a83577226 19:09:59 [Warning] One or more build-args [ARCH] were not consumed 19:09:59 Successfully built ff0a83577226 19:09:59 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 19:10:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:00 19:10:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:00 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 930d09c6b8edfbf465d6647ffc4d220e5b7c1326 19:09:59 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 19:09:59 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 19:09:59 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:59 Verifying host key using known hosts file 19:09: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. 19:09:59 > 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 19:10:00 > git config core.sparsecheckout # timeout=10 19:10:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:00 latest: Pulling from edgex-lftools-log-publisher 19:10:00 5eb5b503b376: Pulling fs layer 19:10:00 5c69ac0246d0: Pulling fs layer 19:10:00 ec43610c2a17: Pulling fs layer 19:10:00 3a2ae6a8a46f: Pulling fs layer 19:10:00 33b1e0a273af: Pulling fs layer 19:10:00 5d3b04190fa2: Pulling fs layer 19:10:00 2f39f015ded8: Pulling fs layer 19:10:00 33b1e0a273af: Waiting 19:10:00 2f39f015ded8: Waiting 19:10:00 5d3b04190fa2: Waiting 19:10:00 3a2ae6a8a46f: Waiting 19:10:00 5c69ac0246d0: Verifying Checksum 19:10:00 5c69ac0246d0: Download complete 19:10:00 3a2ae6a8a46f: Download complete 19:10:00 Merge succeeded, producing 6646047704d5a30646aea705af87dfd2f6995235 19:10:00 Checking out Revision 6646047704d5a30646aea705af87dfd2f6995235 (PR-115) 19:10:00 33b1e0a273af: Verifying Checksum 19:10:00 33b1e0a273af: Download complete 19:10:00 ec43610c2a17: Verifying Checksum 19:10:00 ec43610c2a17: Download complete 19:10:00 5d3b04190fa2: Download complete 19:10:00 5eb5b503b376: Verifying Checksum 19:10:00 5eb5b503b376: Download complete 19:10:01 2f39f015ded8: Download complete 19:10:00 > git checkout -f 930d09c6b8edfbf465d6647ffc4d220e5b7c1326 # timeout=10 19:10:00 > git remote # timeout=10 19:10:00 > git config --get remote.origin.url # timeout=10 19:10:00 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:00 Verifying host key using known hosts file 19:10:00 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. 19:10:00 > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 19:10:00 > git rev-parse HEAD^{commit} # timeout=10 19:10:00 > git config core.sparsecheckout # timeout=10 19:10:00 > git checkout -f 6646047704d5a30646aea705af87dfd2f6995235 # timeout=10 19:10:02 5eb5b503b376: Pull complete 19:10:02 5c69ac0246d0: Pull complete 19:10:02 ec43610c2a17: Pull complete 19:10:02 3a2ae6a8a46f: Pull complete 19:10:03 33b1e0a273af: Pull complete 19:10:03 5d3b04190fa2: Pull complete 19:10:03 Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" 19:10:03 First time build. Skipping changelog. 19:10:04 19:10:04 GitHub has been notified of this commit’s build result 19:10:04 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:03 > git rev-list --no-walk 387abb2dc63a70ad0a8c12cc23b7f94d92e70620 # timeout=10 19:10:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:10:04 % Total % Received % Xferd Average Speed Time Time Time Current 19:10:04 Dload Upload Total Spent Left Speed 19:10:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76841 0 --:--:-- --:--:-- --:--:-- 76841 [Pipeline] sh 19:10:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:10:05 + sudo tee /etc/docker/daemon.new 19:10:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:10:05 { 19:10:05 "registry-mirrors": [ 19:10:05 "https://nexus3.edgexfoundry.org:10001" 19:10:05 ], 19:10:05 "bip": "10.250.0.254/24", 19:10:05 "hosts": [ 19:10:05 "tcp://0.0.0.0:5555", 19:10:05 "unix:///var/run/docker.sock" 19:10:05 ], 19:10:05 "mtu": 1458, 19:10:05 "selinux-enabled": true, 19:10:05 "seccomp-profile": "/etc/docker/seccomp.json" 19:10:05 } [Pipeline] sh 19:10:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:10:06 + sudo service docker restart 19:10:07 2f39f015ded8: Pull complete 19:10:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:07 prd-ubuntu20.04-docker-8c-8g-120359 does not seem to be running inside a container 19:10:07 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:10:11 $ docker top 9d72f2fac0856665e859917dea37e2eaeca378951f2158e65b72ed2b2458d56f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:11 ---> job-cost.sh 19:10:11 lf-activate-venv: SKIPPING 19:10:11 INFO: No Stack... 19:10:12 INFO: Retrieving Pricing Info for: v3-standard-8 19:10:12 INFO: Archiving Costs [Pipeline] sh 19:10:13 + cat /w/workspace/foundry_device-usb-camera_PR-115/archives/cost.csv 19:10:13 + cut -d, -f6 [Pipeline] lock 19:10:13 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-20-stack-cost] 19:10:13 Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-20-stack-cost] did not exist. Created. 19:10:13 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:10:13 + echo total: 0.2199999988079071 [Pipeline] stash 19:10:13 Stashed 1 file(s) [Pipeline] } 19:10:13 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-20-stack-cost] [Pipeline] // lock [Pipeline] } 19:10:13 $ docker stop --time=1 9d72f2fac0856665e859917dea37e2eaeca378951f2158e65b72ed2b2458d56f 19:10:14 $ docker rm -f 9d72f2fac0856665e859917dea37e2eaeca378951f2158e65b72ed2b2458d56f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:24 provisioning config files... 19:10:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/20@tmp/config16835549099589194830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:25 ---> docker-login.sh 19:10:25 nexus3.edgexfoundry.org:10001 19:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:25 Configure a credential helper to remove this warning. See 19:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:25 19:10:25 Login Succeeded 19:10:25 nexus3.edgexfoundry.org:10002 19:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:26 Configure a credential helper to remove this warning. See 19:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:26 19:10:26 Login Succeeded 19:10:26 nexus3.edgexfoundry.org:10003 19:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:26 Configure a credential helper to remove this warning. See 19:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:26 19:10:26 Login Succeeded 19:10:26 nexus3.edgexfoundry.org:10004 19:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:26 Configure a credential helper to remove this warning. See 19:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:26 19:10:26 Login Succeeded 19:10:26 docker.io 19:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:27 Configure a credential helper to remove this warning. See 19:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:27 19:10:27 Login Succeeded 19:10:27 ---> docker-login.sh ends [Pipeline] } 19:10:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:10:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:27 ========================================================= 19:10:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:10:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:27 + 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 . 19:10:28 Sending build context to Docker daemon 1.109MB 19:10:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:10:28 Step 2/13 : FROM ${BASE} AS builder 19:10:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:10:28 9b18e9b68314: Pulling fs layer 19:10:28 35d82f9e3411: Pulling fs layer 19:10:28 e16973657156: Pulling fs layer 19:10:28 fc693d55d65f: Pulling fs layer 19:10:28 7e9fc2657dce: Pulling fs layer 19:10:28 dda99020689f: Pulling fs layer 19:10:28 db1c61fa0a46: Pulling fs layer 19:10:28 891c053d2c06: Pulling fs layer 19:10:28 fc693d55d65f: Waiting 19:10:28 7e9fc2657dce: Waiting 19:10:28 dda99020689f: Waiting 19:10:28 db1c61fa0a46: Waiting 19:10:28 891c053d2c06: Waiting 19:10:28 e16973657156: Verifying Checksum 19:10:28 e16973657156: Download complete 19:10:28 35d82f9e3411: Verifying Checksum 19:10:28 35d82f9e3411: Download complete 19:10:28 7e9fc2657dce: Verifying Checksum 19:10:28 7e9fc2657dce: Download complete 19:10:28 dda99020689f: Verifying Checksum 19:10:28 dda99020689f: Download complete 19:10:28 9b18e9b68314: Verifying Checksum 19:10:28 9b18e9b68314: Download complete 19:10:29 9b18e9b68314: Pull complete 19:10:29 891c053d2c06: Verifying Checksum 19:10:29 891c053d2c06: Download complete 19:10:29 35d82f9e3411: Pull complete 19:10:29 e16973657156: Pull complete 19:10:30 db1c61fa0a46: Verifying Checksum 19:10:30 db1c61fa0a46: Download complete 19:10:31 fc693d55d65f: Verifying Checksum 19:10:31 fc693d55d65f: Download complete 19:10:43 fc693d55d65f: Pull complete 19:10:43 7e9fc2657dce: Pull complete 19:10:43 dda99020689f: Pull complete 19:10:50 db1c61fa0a46: Pull complete 19:10:51 891c053d2c06: Pull complete 19:10:51 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:10:51 ---> f96f9c87975a 19:10:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:10:52 ---> Running in 597d27f1b831 19:10:53 Removing intermediate container 597d27f1b831 19:10:53 ---> 4f1c43405485 19:10:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:10:53 ---> Running in 1beb75996f78 19:10:53 Removing intermediate container 1beb75996f78 19:10:53 ---> 139bae32416d 19:10:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 19:10:53 ---> Running in 68228a897391 19:10:53 Removing intermediate container 68228a897391 19:10:53 ---> 232db262819c 19:10:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:10:54 ---> Running in a1eb6c0d76f7 19:10:54 Removing intermediate container a1eb6c0d76f7 19:10:54 ---> f432b8129397 19:10:54 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:10:54 ---> Running in c8ec2f4cffc1 19:10:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:10:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:10:57 (1/14) Installing libintl (0.21-r2) 19:10:57 (2/14) Installing eudev-libs (3.2.11-r0) 19:10:57 (3/14) Installing libjpeg-turbo (2.1.3-r1) 19:10:57 (4/14) Installing v4l-utils-libs (1.22.1-r1) 19:10:57 (5/14) Installing v4l-utils (1.22.1-r1) 19:10:57 (6/14) Installing udev-init-scripts (35-r0) 19:10:57 Executing udev-init-scripts-35-r0.post-install 19:10:57 (7/14) Installing libblkid (2.38-r1) 19:10:57 (8/14) Installing xz-libs (5.2.5-r1) 19:10:57 (9/14) Installing zstd-libs (1.5.2-r1) 19:10:57 (10/14) Installing kmod-libs (29-r2) 19:10:57 (11/14) Installing eudev (3.2.11-r0) 19:10:57 (12/14) Installing eudev-dev (3.2.11-r0) 19:10:57 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 19:10:57 (14/14) Installing v4l-utils-dev (1.22.1-r1) 19:10:57 Executing busybox-1.35.0-r17.trigger 19:10:57 Executing eudev-3.2.11-r0.trigger 19:10:57 OK: 228 MiB in 65 packages 19:10:58 Removing intermediate container c8ec2f4cffc1 19:10:58 ---> e45dcd2c18bf 19:10:58 Step 8/13 : WORKDIR /device-usb-camera 19:10:58 ---> Running in acf2d29b5054 19:10:58 Removing intermediate container acf2d29b5054 19:10:58 ---> 977f0eade963 19:10:58 Step 9/13 : COPY go.mod vendor* ./ 19:10:59 ---> 3b432078ca85 19:10:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:59 ---> Running in 593d99e1adf0 19:11:55 Removing intermediate container 593d99e1adf0 19:11:55 ---> e94236375686 19:11:55 Step 11/13 : COPY . . 19:11:55 ---> 591be2fda02b 19:11:55 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:11:55 ---> Running in b1a4f05d6e1e 19:11:55  % Total % Received % Xferd Average Speed Time Time Time Current 19:11:55 Dload Upload Total Spent Left Speed 19:11:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14566 0 --:--:-- --:--:-- --:--:-- 14750 19:11:55 Removing intermediate container b1a4f05d6e1e 19:11:55 ---> 89b6feedfa8c 19:11:55 Step 13/13 : RUN ${MAKE} 19:11:55 ---> Running in 13e390986eba 19:11:55 noop 19:11:55 Removing intermediate container 13e390986eba 19:11:55 ---> 61f13e5b267e 19:11:55 Successfully built 61f13e5b267e 19:11:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:55 + docker inspect -f . ci-base-image-arm64 19:11:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:56 prd-ubuntu20.04-docker-arm64-4c-16g-120360 does not seem to be running inside a container 19:11:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@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-arm64 cat 19:11:57 $ docker top e69538f96b3fd08b2ab186880bc852621f3a7c1fab15eb5b37cf187668e8ffbc -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:58 + go version 19:11:58 go version go1.18.7 linux/arm64 [Pipeline] } 19:11:58 $ docker stop --time=1 e69538f96b3fd08b2ab186880bc852621f3a7c1fab15eb5b37cf187668e8ffbc 19:11:59 $ docker rm -f e69538f96b3fd08b2ab186880bc852621f3a7c1fab15eb5b37cf187668e8ffbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:00 + docker inspect -f . ci-base-image-arm64 19:12:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:00 prd-ubuntu20.04-docker-arm64-4c-16g-120360 does not seem to be running inside a container 19:12:00 $ 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/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@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-arm64 cat 19:12:01 $ docker top bd06e1b87645bc884470b9690b04d256de9ca4c47f73c22516b0d8e1b0b97332 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:02 + git config --global --add safe.directory /w/workspace/device-usb-camera/20 [Pipeline] fileExists [Pipeline] sh 19:12:02 + make test 19:12:02 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 19:12:04 ? github.com/edgexfoundry/device-usb-camera [no test files] 19:13:41 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 19:13:41 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 1.9% of statements 19:13:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:13:41 CGO_ENABLED=1 go vet ./... 19:13:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:13:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:13:56 ./bin/test-attribution-txt.sh [Pipeline] echo 19:13:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:13:56 $ docker stop --time=1 bd06e1b87645bc884470b9690b04d256de9ca4c47f73c22516b0d8e1b0b97332 19:13:58 $ docker rm -f bd06e1b87645bc884470b9690b04d256de9ca4c47f73c22516b0d8e1b0b97332 [Pipeline] // withDockerContainer [Pipeline] sh 19:13:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:13:59 Warning: overwriting stash ‘coverage-report’ 19:13:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:13:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:14:00 + ls -al . 19:14:00 total 196 19:14:00 drwxrwxr-x 9 jenkins jenkins 4096 Dec 1 19:12 . 19:14:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:09 .. 19:14:00 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 19:10 .git 19:14:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 19:10 .github 19:14:00 -rw-rw-r-- 1 jenkins jenkins 414 Dec 1 19:10 .gitignore 19:14:00 -rw-rw-r-- 1 jenkins jenkins 42 Dec 1 19:10 .golangci.yml 19:14:00 -rw-rw-r-- 1 jenkins jenkins 77 Dec 1 19:10 .hadolint.yml 19:14:00 -rw-rw-r-- 1 jenkins jenkins 9702 Dec 1 19:10 Attribution.txt 19:14:00 -rw-rw-r-- 1 jenkins jenkins 1206 Dec 1 19:10 CHANGELOG.md 19:14:00 -rw-rw-r-- 1 jenkins jenkins 2378 Dec 1 19:10 Dockerfile 19:14:00 -rw-rw-r-- 1 jenkins jenkins 678 Dec 1 19:10 GOVERNANCE.md 19:14:00 -rw-rw-r-- 1 jenkins jenkins 659 Dec 1 19:10 Jenkinsfile 19:14:00 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 1 19:10 LICENSE 19:14:00 -rw-rw-r-- 1 jenkins jenkins 2554 Dec 1 19:10 Makefile 19:14:00 -rw-rw-r-- 1 jenkins jenkins 622 Dec 1 19:10 OWNERS.md 19:14:00 -rw-rw-r-- 1 jenkins jenkins 5934 Dec 1 19:10 README.md 19:14:00 -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 19:07 VERSION 19:14:00 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 19:10 bin 19:14:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 19:10 cmd 19:14:00 -rw-r--r-- 1 jenkins jenkins 30072 Dec 1 19:13 coverage.out 19:14:00 -rwxrwxr-x 1 jenkins jenkins 140 Dec 1 19:10 docker-entrypoint.sh 19:14:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:10 docs 19:14:00 -rw-rw-r-- 1 jenkins jenkins 3573 Dec 1 19:10 go.mod 19:14:00 -rw-rw-r-- 1 jenkins jenkins 45026 Dec 1 19:10 go.sum 19:14:00 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 19:10 internal 19:14:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:10 snap 19:14:00 -rw-rw-r-- 1 jenkins jenkins 231 Dec 1 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:00 + 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=6646047704d5a30646aea705af87dfd2f6995235 --label arch=arm64 --label version=0.0.0 . 19:14:00 Sending build context to Docker daemon 1.14MB 19:14:00 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 19:14:00 Step 2/35 : FROM ${BASE} AS builder 19:14:00 ---> 61f13e5b267e 19:14:00 Step 3/35 : ARG ADD_BUILD_TAGS="" 19:14:01 ---> Running in 8c40cb29729d 19:14:01 Removing intermediate container 8c40cb29729d 19:14:01 ---> 816e53cc5d1f 19:14:01 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:14:01 ---> Running in ca66143c1486 19:14:01 Removing intermediate container ca66143c1486 19:14:01 ---> 9b4084ceb161 19:14:01 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 19:14:02 ---> Running in 947743874d76 19:14:02 Removing intermediate container 947743874d76 19:14:02 ---> ef67788252bb 19:14:02 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:14:02 ---> Running in ae677aab09fe 19:14:02 Removing intermediate container ae677aab09fe 19:14:02 ---> 893d70c2876a 19:14:02 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:14:02 ---> Running in 43a4a138f6af 19:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:14:04 OK: 228 MiB in 65 packages 19:14:05 Removing intermediate container 43a4a138f6af 19:14:05 ---> bcf05cecafad 19:14:05 Step 8/35 : WORKDIR /device-usb-camera 19:14:05 ---> Running in 9099f7aefd92 19:14:05 Removing intermediate container 9099f7aefd92 19:14:05 ---> 5ace2aa370d8 19:14:05 Step 9/35 : COPY go.mod vendor* ./ 19:14:06 ---> 46700ff0b294 19:14:06 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:06 ---> Running in d1a7e050b985 19:14:08 Removing intermediate container d1a7e050b985 19:14:08 ---> 04ad69ac06d9 19:14:08 Step 11/35 : COPY . . 19:14:09 ---> 0bba6db786bf 19:14:09 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:14:09 ---> Running in ec04e3a60acb 19:14:10  % Total % Received % Xferd Average Speed Time Time Time Current 19:14:10 Dload Upload Total Spent Left Speed 19:14:10 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6401 0 --:--:-- --:--:-- --:--:-- 6436 19:14:11 Removing intermediate container ec04e3a60acb 19:14:11 ---> e63859e929e1 19:14:11 Step 13/35 : RUN ${MAKE} 19:14:11 ---> Running in a1ecb9942d9c 19:14:14 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 19:16:51 Removing intermediate container a1ecb9942d9c 19:16:51 ---> 93ea7e84f11f 19:16:51 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 19:16:51 v0.18.4: Pulling from aler9/rtsp-simple-server 19:16:51 eab2503cf8f4: Pulling fs layer 19:16:51 97cd0a44c592: Pulling fs layer 19:16:51 97cd0a44c592: Verifying Checksum 19:16:51 97cd0a44c592: Download complete 19:16:51 eab2503cf8f4: Verifying Checksum 19:16:51 eab2503cf8f4: Download complete 19:16:51 eab2503cf8f4: Pull complete 19:16:51 97cd0a44c592: Pull complete 19:16:51 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 19:16:51 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 19:16:51 ---> 7f763cca56b3 19:16:51 Step 15/35 : FROM alpine:3.16 19:16:51 3.16: Pulling from library/alpine 19:16:51 6875df1f5354: Pulling fs layer 19:16:51 6875df1f5354: Download complete 19:16:51 6875df1f5354: Pull complete 19:16:51 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 19:16:51 Status: Downloaded newer image for alpine:3.16 19:16:51 ---> 2b4661558fb8 19:16:51 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:16:51 ---> Running in 94f10896a256 19:16:51 Removing intermediate container 94f10896a256 19:16:51 ---> 971bd28776e6 19:16:51 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 19:16:51 ---> Running in dc4a18b7b26f 19:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:16:51 (1/82) Installing dumb-init (1.2.5-r1) 19:16:51 (2/82) Installing sdl2 (2.0.22-r0) 19:16:51 (3/82) Installing libxau (1.0.9-r0) 19:16:51 (4/82) Installing libxdmcp (1.1.3-r0) 19:16:51 (5/82) Installing libxcb (1.15-r0) 19:16:51 (6/82) Installing libx11 (1.8-r0) 19:16:51 (7/82) Installing aom-libs (3.3.0-r0) 19:16:51 (8/82) Installing alsa-lib (1.2.7.2-r0) 19:16:51 (9/82) Installing expat (2.5.0-r0) 19:16:51 (10/82) Installing brotli-libs (1.0.9-r6) 19:16:51 (11/82) Installing libbz2 (1.0.8-r1) 19:16:51 (12/82) Installing libpng (1.6.37-r1) 19:16:51 (13/82) Installing freetype (2.12.1-r0) 19:16:51 (14/82) Installing fontconfig (2.14.0-r0) 19:16:51 (15/82) Installing fribidi (1.0.12-r0) 19:16:51 (16/82) Installing libffi (3.4.2-r1) 19:16:51 (17/82) Installing libintl (0.21-r2) 19:16:51 (18/82) Installing libblkid (2.38-r1) 19:16:51 (19/82) Installing libmount (2.38-r1) 19:16:51 (20/82) Installing pcre (8.45-r2) 19:16:51 (21/82) Installing glib (2.72.1-r0) 19:16:51 (22/82) Installing graphite2 (1.3.14-r1) 19:16:51 (23/82) Installing harfbuzz (4.3.0-r0) 19:16:51 (24/82) Installing libass (0.16.0-r0) 19:16:51 (25/82) Installing libdav1d (1.0.0-r0) 19:16:51 (26/82) Installing libdrm (2.4.110-r0) 19:16:51 (27/82) Installing gmp (6.2.1-r2) 19:16:51 (28/82) Installing nettle (3.7.3-r0) 19:16:51 (29/82) Installing p11-kit (0.24.1-r0) 19:16:51 (30/82) Installing libtasn1 (4.18.0-r0) 19:16:51 (31/82) Installing libunistring (1.0-r0) 19:16:51 (32/82) Installing gnutls (3.7.7-r0) 19:16:51 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 19:16:51 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 19:16:51 (35/82) Installing lame (3.100-r0) 19:16:51 (36/82) Installing opus (1.3.1-r1) 19:16:51 (37/82) Installing libasyncns (0.8-r1) 19:16:51 (38/82) Installing dbus-libs (1.14.4-r0) 19:16:51 (39/82) Installing libltdl (2.4.7-r0) 19:16:51 (40/82) Installing orc (0.4.32-r0) 19:16:51 (41/82) Installing libgcc (11.2.1_git20220219-r2) 19:16:51 (42/82) Installing libogg (1.3.5-r1) 19:16:51 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 19:16:51 (44/82) Installing flac (1.3.4-r0) 19:16:51 (45/82) Installing libvorbis (1.3.7-r0) 19:16:51 (46/82) Installing libsndfile (1.1.0-r0) 19:16:51 (47/82) Installing libgomp (11.2.1_git20220219-r2) 19:16:51 (48/82) Installing soxr (0.1.3-r2) 19:16:51 (49/82) Installing speexdsp (1.2.0-r0) 19:16:51 (50/82) Installing tdb-libs (1.4.6-r0) 19:16:51 (51/82) Installing libpulse (15.0-r2) 19:16:51 (52/82) Installing cjson (1.7.15-r3) 19:16:51 (53/82) Installing mbedtls (2.28.1-r0) 19:16:51 (54/82) Installing librist (0.2.6-r1) 19:16:51 (55/82) Installing libsrt (1.4.4-r0) 19:16:51 (56/82) Installing libssh (0.9.6-r1) 19:16:51 (57/82) Installing libtheora (1.1.1-r16) 19:16:51 (58/82) Installing libjpeg-turbo (2.1.3-r1) 19:16:51 (59/82) Installing v4l-utils-libs (1.22.1-r1) 19:16:51 (60/82) Installing libxext (1.3.4-r0) 19:16:51 (61/82) Installing libxfixes (6.0.0-r0) 19:16:51 (62/82) Installing wayland-libs-client (1.20.0-r0) 19:16:51 (63/82) Installing libva (2.14.0-r0) 19:16:51 (64/82) Installing libvdpau (1.5-r0) 19:16:51 (65/82) Installing vidstab (1.1.0-r1) 19:16:51 (66/82) Installing libvpx (1.11.0-r1) 19:16:51 (67/82) Installing libwebp (1.2.3-r0) 19:16:51 (68/82) Installing x264-libs (0.163_git20210613-r0) 19:16:51 (69/82) Installing numactl (2.0.14-r0) 19:16:51 (70/82) Installing x265-libs (3.5-r3) 19:16:51 (71/82) Installing xvidcore (1.3.7-r1) 19:16:51 (72/82) Installing ffmpeg-libs (5.0.1-r1) 19:16:51 (73/82) Installing ffmpeg (5.0.1-r1) 19:16:51 (74/82) Installing udev-init-scripts (35-r0) 19:16:51 Executing udev-init-scripts-35-r0.post-install 19:16:51 (75/82) Installing eudev-libs (3.2.11-r0) 19:16:51 (76/82) Installing xz-libs (5.2.5-r1) 19:16:51 (77/82) Installing zstd-libs (1.5.2-r1) 19:16:51 (78/82) Installing kmod-libs (29-r2) 19:16:51 (79/82) Installing eudev (3.2.11-r0) 19:16:51 (80/82) Installing libsodium (1.0.18-r0) 19:16:51 (81/82) Installing libzmq (4.3.4-r0) 19:16:51 (82/82) Installing zeromq (4.3.4-r0) 19:16:51 Executing busybox-1.35.0-r17.trigger 19:16:51 Executing eudev-3.2.11-r0.trigger 19:16:51 OK: 78 MiB in 96 packages 19:16:53 Removing intermediate container dc4a18b7b26f 19:16:53 ---> c41ed420a69c 19:16:53 Step 18/35 : WORKDIR / 19:16:53 ---> Running in f1c8276a0b5a 19:16:53 Removing intermediate container f1c8276a0b5a 19:16:53 ---> 6a5d342b464a 19:16:53 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 19:16:55 ---> 176b95cb6d89 19:16:55 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 19:16:55 ---> c6f968569492 19:16:55 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 19:16:56 ---> cf65045a3fb2 19:16:56 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 19:16:56 ---> 650f531623d9 19:16:56 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 19:16:56 ---> 84d7ae241c84 19:16:56 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 19:16:57 ---> 03d241c19197 19:16:57 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 19:16:58 ---> 68b750371cd0 19:16:58 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 19:16:58 ---> Running in 1cdfe6c1f5f9 19:17:00 Removing intermediate container 1cdfe6c1f5f9 19:17:00 ---> 7995c35c7b7a 19:17:00 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 19:17:00 ---> Running in d875a292e904 19:17:02 Removing intermediate container d875a292e904 19:17:02 ---> 9e815ec8375a 19:17:02 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 19:17:02 ---> Running in 4b29e6cd8f77 19:17:04 Removing intermediate container 4b29e6cd8f77 19:17:04 ---> d2fe8294d91a 19:17:04 Step 29/35 : EXPOSE 59983 19:17:04 ---> Running in b94b58205a07 19:17:04 Removing intermediate container b94b58205a07 19:17:04 ---> 84b945277785 19:17:04 Step 30/35 : EXPOSE 8554 19:17:04 ---> Running in 68c4138c5a50 19:17:04 Removing intermediate container 68c4138c5a50 19:17:04 ---> 0b000db176c6 19:17:04 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 19:17:05 ---> Running in adb7531f7bb6 19:17:05 Removing intermediate container adb7531f7bb6 19:17:05 ---> 54b434caab18 19:17:05 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 19:17:05 ---> Running in c40f9bc9a212 19:17:05 Removing intermediate container c40f9bc9a212 19:17:05 ---> 4f17874e2ed4 19:17:05 Step 33/35 : LABEL arch=arm64 19:17:05 ---> Running in 92fe064e675b 19:17:06 Removing intermediate container 92fe064e675b 19:17:06 ---> 5b0840ee844a 19:17:06 Step 34/35 : LABEL git_sha=6646047704d5a30646aea705af87dfd2f6995235 19:17:06 ---> Running in a4a800da850f 19:17:06 Removing intermediate container a4a800da850f 19:17:06 ---> 0ff526efbefb 19:17:06 Step 35/35 : LABEL version=0.0.0 19:17:06 ---> Running in 2ef35409bf87 19:17:06 Removing intermediate container 2ef35409bf87 19:17:06 ---> 4e4c438b3bcc 19:17:06 [Warning] One or more build-args [ARCH] were not consumed 19:17:06 Successfully built 4e4c438b3bcc 19:17:06 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 19:17:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:07 19:17:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:07 arm64: Pulling from edgex-lftools-log-publisher 19:17:07 8998bd30e6a1: Pulling fs layer 19:17:07 04944245beec: Pulling fs layer 19:17:07 699f458cf7ca: Pulling fs layer 19:17:07 765212b225bb: Pulling fs layer 19:17:07 f23df028b6ca: Pulling fs layer 19:17:07 765212b225bb: Waiting 19:17:07 d65c8cfc05b1: Pulling fs layer 19:17:07 f23df028b6ca: Waiting 19:17:07 d65c8cfc05b1: Waiting 19:17:07 2437ff75d9bd: Pulling fs layer 19:17:07 2437ff75d9bd: Waiting 19:17:07 04944245beec: Verifying Checksum 19:17:07 04944245beec: Download complete 19:17:07 765212b225bb: Download complete 19:17:07 f23df028b6ca: Verifying Checksum 19:17:07 f23df028b6ca: Download complete 19:17:07 d65c8cfc05b1: Verifying Checksum 19:17:07 d65c8cfc05b1: Download complete 19:17:07 699f458cf7ca: Verifying Checksum 19:17:07 699f458cf7ca: Download complete 19:17:08 8998bd30e6a1: Verifying Checksum 19:17:08 8998bd30e6a1: Download complete 19:17:10 2437ff75d9bd: Verifying Checksum 19:17:10 2437ff75d9bd: Download complete 19:17:12 8998bd30e6a1: Pull complete 19:17:12 04944245beec: Pull complete 19:17:14 699f458cf7ca: Pull complete 19:17:14 765212b225bb: Pull complete 19:17:14 f23df028b6ca: Pull complete 19:17:14 d65c8cfc05b1: Pull complete 19:17:29 2437ff75d9bd: Pull complete 19:17:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:17:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:30 prd-ubuntu20.04-docker-arm64-4c-16g-120360 does not seem to be running inside a container 19:17:30 $ 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/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@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:arm64 cat 19:17:32 $ docker top 36cfa76f534bf368e3449dc4da145418b4bede6a1da603bc5e4d74ae159d6c0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:33 ---> job-cost.sh 19:17:33 lf-activate-venv: SKIPPING 19:17:33 INFO: No Stack... 19:17:33 INFO: Retrieving Pricing Info for: v3-standard-4 19:17:34 INFO: Archiving Costs [Pipeline] sh 19:17:35 + cut -d, -f6 19:17:35 + cat /w/workspace/device-usb-camera/20/archives/cost.csv [Pipeline] lock 19:17:35 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-20-stack-cost] 19:17:35 Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-20-stack-cost] did not exist. Created. 19:17:35 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:17:36 /w/workspace/device-usb-camera/20@tmp/durable-bcb96487/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:17:36 + echo total: 0.10999999940395355 [Pipeline] stash 19:17:36 Warning: overwriting stash ‘stack-cost’ 19:17:36 Stashed 1 file(s) [Pipeline] } 19:17:36 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-20-stack-cost] [Pipeline] // lock [Pipeline] } 19:17:36 $ docker stop --time=1 36cfa76f534bf368e3449dc4da145418b4bede6a1da603bc5e4d74ae159d6c0a 19:17:37 $ docker rm -f 36cfa76f534bf368e3449dc4da145418b4bede6a1da603bc5e4d74ae159d6c0a [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 19:17:38 provisioning config files... 19:17:38 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config17335135309791041949tmp [Pipeline] { [Pipeline] sh 19:17:38 + set +x 19:17:38 + curl -s https://codecov.io/bash 19:17:38 + bash -s -- 19:17:38 19:17:38 _____ _ 19:17:38 / ____| | | 19:17:38 | | ___ __| | ___ ___ _____ __ 19:17:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:17:38 | |___| (_) | (_| | __/ (_| (_) \ V / 19:17:38 \_____\___/ \__,_|\___|\___\___/ \_/ 19:17:38 Bash-1.0.6 19:17:38 19:17:38 19:17:38 ==> git version 2.25.1 found 19:17:38 ==> 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 19:17:38 Release-Date: 2020-01-08 19:17:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:17:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:17:38 ==> Jenkins CI detected. 19:17:38 current dir:  /w/workspace/foundry_device-usb-camera_PR-115 19:17:38 project root: . 19:17:38 --> token set from env 19:17:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:17:38 ==> Running gcov in . (disable via -X gcov) 19:17:38 ==> Python coveragepy not found 19:17:38 ==> Searching for coverage reports in: 19:17:38 + . 19:17:38 -> Found 1 reports 19:17:38 ==> Detecting git/mercurial file structure 19:17:38 ==> Reading reports 19:17:38 + ./coverage.out bytes=30072 19:17:38 ==> Appending adjustments 19:17:38 https://docs.codecov.io/docs/fixing-reports 19:17:38 + Found adjustments 19:17:38 ==> Gzipping contents 19:17:38 8.0K /tmp/codecov.V1hrf2.gz 19:17:38 ==> Uploading reports 19:17:38 url: https://codecov.io 19:17:38 query: branch=PR-115&commit=e62afa714770c6ffcb2250312a0f5e94202a0d05&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= 19:17:38 -> Pinging Codecov 19:17:38 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=e62afa714770c6ffcb2250312a0f5e94202a0d05&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= 19:17:39 -> Uploading to 19:17:39 https://storage.googleapis.com/codecov/v4/raw/2022-12-01/73D8F5FF140700D3E01443B452E23636/e62afa714770c6ffcb2250312a0f5e94202a0d05/75c78dac-5d17-412d-b49a-7d8dd0b299d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221201T191738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f43408bdc10f3eca93911a6a68aae3414a53f0545438a876633d0cef90e11782 19:17:39 % Total % Received % Xferd Average Speed Time Time Time Current 19:17:39 Dload Upload Total Spent Left Speed 19:17:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4258 0 0 100 4258 0 19266 --:--:-- --:--:-- --:--:-- 19180 100 4258 0 0 100 4258 0 18274 --:--:-- --:--:-- --:--:-- 18196 19:17:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/e62afa714770c6ffcb2250312a0f5e94202a0d05 [Pipeline] } 19:17:39 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 19:17:40 + [ -d /w/workspace/foundry_device-usb-camera_PR-115/archives ] 19:17:40 + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives 19:17:40 total 16 19:17:40 drwxr-xr-x 3 root root 4096 Dec 1 19:10 . 19:17:40 drwxrwxr-x 11 jenkins jenkins 4096 Dec 1 19:10 .. 19:17:40 drwxr-xr-x 2 root root 4096 Dec 1 19:10 cost 19:17:40 -rw-r--r-- 1 root root 90 Dec 1 19:10 cost.csv 19:17:40 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-115/archives 19:17:40 + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives 19:17:40 total 16 19:17:40 drwxr-xr-x 3 jenkins jenkins 4096 Dec 1 19:10 . 19:17:40 drwxrwxr-x 11 jenkins jenkins 4096 Dec 1 19:10 .. 19:17:40 drwxr-xr-x 2 jenkins jenkins 4096 Dec 1 19:10 cost 19:17:40 -rw-r--r-- 1 jenkins jenkins 90 Dec 1 19:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:17:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:17:41 ---> package-listing.sh 19:17:41 ++ facter osfamily 19:17:41 ++ tr '[:upper:]' '[:lower:]' 19:17:41 + OS_FAMILY=debian 19:17:41 + workspace=/w/workspace/foundry_device-usb-camera_PR-115 19:17:41 + START_PACKAGES=/tmp/packages_start.txt 19:17:41 + END_PACKAGES=/tmp/packages_end.txt 19:17:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:17:41 + PACKAGES=/tmp/packages_start.txt 19:17:41 + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' 19:17:41 + PACKAGES=/tmp/packages_end.txt 19:17:41 + case "${OS_FAMILY}" in 19:17:41 + dpkg -l 19:17:41 + grep '^ii' 19:17:41 + '[' -f /tmp/packages_start.txt ']' 19:17:41 + '[' -f /tmp/packages_end.txt ']' 19:17:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:17:41 + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' 19:17:41 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-115/archives/ 19:17:41 + 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 19:17:41 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 19:17:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:42 prd-ubuntu20.04-docker-8c-8g-120359 does not seem to be running inside a container 19:17:42 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:17:42 $ docker top 38511c8484d2299d814711e738aa2fbc00286cccde17557917606fb843c154b8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:17:43 + touch /tmp/pre-build-complete [Pipeline] sh 19:17:43 + mkdir -p /var/log/sysstat [Pipeline] sh 19:17:43 + ls /var/log/sa-host 19:17:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:17:43 provisioning config files... 19:17:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config5104612852825243851tmp [Pipeline] { [Pipeline] echo 19:17:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:17:44 ---> create-netrc.sh [Pipeline] } 19:17:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:17:44 ---> python-tools-install.sh [Pipeline] echo 19:17:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:17:44 ---> sudo-logs.sh 19:17:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:17:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:17:45 ---> job-cost.sh 19:17:45 lf-activate-venv: SKIPPING 19:17:45 DEBUG: total: 0.2199999988079071 19:17:45 INFO: Retrieving Stack Cost... 19:17:45 INFO: Retrieving Pricing Info for: v3-standard-8 19:17:45 INFO: Archiving Costs [Pipeline] echo 19:17:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:17:46 ---> logs-deploy.sh 19:17:46 lf-activate-venv: SKIPPING 19:17:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-115/20 19:17:46 INFO: archiving workspace using pattern(s): 19:17:47 Archives upload complete. 19:17:47 INFO: archiving logs to Nexus 19:17:48 ---> uname -a: 19:17:48 Linux prd-ubuntu20-04-docker-8c-8g-120359 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:17:48 19:17:48 19:17:48 ---> lscpu: 19:17:48 Architecture: x86_64 19:17:48 CPU op-mode(s): 32-bit, 64-bit 19:17:48 Byte Order: Little Endian 19:17:48 Address sizes: 40 bits physical, 48 bits virtual 19:17:48 CPU(s): 8 19:17:48 On-line CPU(s) list: 0-7 19:17:48 Thread(s) per core: 1 19:17:48 Core(s) per socket: 1 19:17:48 Socket(s): 8 19:17:48 NUMA node(s): 1 19:17:48 Vendor ID: AuthenticAMD 19:17:48 CPU family: 23 19:17:48 Model: 49 19:17:48 Model name: AMD EPYC-Rome Processor 19:17:48 Stepping: 0 19:17:48 CPU MHz: 2799.988 19:17:48 BogoMIPS: 5599.97 19:17:48 Virtualization: AMD-V 19:17:48 Hypervisor vendor: KVM 19:17:48 Virtualization type: full 19:17:48 L1d cache: 256 KiB 19:17:48 L1i cache: 256 KiB 19:17:48 L2 cache: 4 MiB 19:17:48 L3 cache: 128 MiB 19:17:48 NUMA node0 CPU(s): 0-7 19:17:48 Vulnerability Itlb multihit: Not affected 19:17:48 Vulnerability L1tf: Not affected 19:17:48 Vulnerability Mds: Not affected 19:17:48 Vulnerability Meltdown: Not affected 19:17:48 Vulnerability Mmio stale data: Not affected 19:17:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:17:48 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:17:48 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:17:48 Vulnerability Srbds: Not affected 19:17:48 Vulnerability Tsx async abort: Not affected 19:17:48 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 19:17:48 19:17:48 19:17:48 ---> nproc: 19:17:48 8 19:17:48 19:17:48 19:17:48 ---> df -h: 19:17:48 Filesystem Size Used Avail Use% Mounted on 19:17:48 overlay 155G 12G 144G 8% / 19:17:48 tmpfs 64M 0 64M 0% /dev 19:17:48 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:17:48 shm 64M 0 64M 0% /dev/shm 19:17:48 /dev/vda1 155G 12G 144G 8% /facter-os 19:17:48 19:17:48 19:17:48 ---> sar -b -r -n DEV: 19:17:48 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-120359) 12/01/22 _x86_64_ (8 CPU) 19:17:48 19:17:48 19:06:58 LINUX RESTART (8 CPU) 19:17:48 19:17:48 19:07:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:17:48 19:08:02 312.51 53.67 258.84 0.00 5518.28 200167.31 0.00 19:17:48 19:09:01 182.39 0.83 181.56 0.00 17.08 74632.27 0.00 19:17:48 19:10:01 208.83 0.28 208.55 0.00 22.80 32323.95 0.00 19:17:48 19:11:01 33.74 0.03 33.71 0.00 5.07 16723.61 0.00 19:17:48 19:12:01 1.68 0.00 1.68 0.00 0.00 19.08 0.00 19:17:48 19:13:01 56.67 11.58 45.09 0.00 5176.60 8776.00 0.00 19:17:48 19:14:01 4.13 0.02 4.12 0.00 0.13 98.25 0.00 19:17:48 19:15:01 0.90 0.00 0.90 0.00 0.00 9.60 0.00 19:17:48 19:16:01 1.17 0.00 1.17 0.00 0.00 13.60 0.00 19:17:48 19:17:01 1.28 0.02 1.27 0.00 0.13 15.73 0.00 19:17:48 Average: 80.16 6.65 73.50 0.00 1075.74 33206.56 0.00 19:17:48 19:17:48 19:07:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:17:48 19:08:02 29423948 31587140 740184 2.25 64276 2395728 2075404 6.12 996756 2133856 510812 19:17:48 19:09:01 28003764 31297944 994272 3.02 140588 3355756 2280472 6.72 1479268 2941216 145288 19:17:48 19:10:01 27758024 31527256 764408 2.32 147876 3808236 2103388 6.20 1264588 3384384 226492 19:17:48 19:11:01 27534540 31577532 712196 2.17 155484 4034208 1774816 5.23 1233356 3597592 176 19:17:48 19:12:01 27534592 31577720 711724 2.16 155524 4034208 1774816 5.23 1233352 3597596 16 19:17:48 19:13:01 27006528 31559880 720220 2.19 188656 4488876 1837964 5.42 1552720 3770308 152 19:17:48 19:14:01 27011648 31560124 720156 2.19 187228 4485628 1798296 5.30 1551264 3767100 8 19:17:48 19:15:01 27021200 31569716 710512 2.16 187252 4485628 1798296 5.30 1542328 3767096 132 19:17:48 19:16:01 27022440 31570976 709412 2.16 187276 4485632 1798296 5.30 1542132 3767108 12 19:17:48 19:17:01 27022416 31570960 709360 2.16 187328 4485620 1798296 5.30 1542348 3767112 8 19:17:48 Average: 27533910 31539925 749244 2.28 160149 4005952 1904004 5.61 1393811 3449337 88310 19:17:48 19:17:48 19:07:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:17:48 19:08:02 ens3 663.94 468.92 6412.55 116.27 0.00 0.00 0.00 0.00 19:17:48 19:08:02 docker0 1.25 1.35 0.17 7.93 0.00 0.00 0.00 0.00 19:17:48 19:08:02 lo 7.53 7.53 0.72 0.72 0.00 0.00 0.00 0.00 19:17:48 19:09:01 ens3 292.75 195.56 2550.60 30.15 0.00 0.00 0.00 0.00 19:17:48 19:09:01 docker0 174.27 261.37 13.82 2518.82 0.00 0.00 0.00 0.00 19:17:48 19:09:01 veth57dc364 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 19:17:48 19:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:10:01 ens3 180.55 110.81 3381.87 21.30 0.00 0.00 0.00 0.00 19:17:48 19:10:01 docker0 14.45 35.19 1.10 642.42 0.00 0.00 0.00 0.00 19:17:48 19:10:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 19:17:48 19:11:01 ens3 13.85 8.90 14.60 5.68 0.00 0.00 0.00 0.00 19:17:48 19:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:11:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 19:17:48 19:12:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 19:17:48 19:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:17:48 19:13:01 ens3 146.61 87.85 2744.37 6.27 0.00 0.00 0.00 0.00 19:17:48 19:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:13:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 19:17:48 19:14:01 ens3 0.25 0.17 0.02 0.01 0.00 0.00 0.00 0.00 19:17:48 19:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:17:48 19:15:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:16:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 19:17:48 19:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:17:48 19:17:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 19:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:17:48 Average: ens3 129.54 87.06 1508.57 17.95 0.00 0.00 0.00 0.00 19:17:48 Average: docker0 18.73 29.40 1.49 313.19 0.00 0.00 0.00 0.00 19:17:48 Average: lo 1.16 1.16 0.11 0.11 0.00 0.00 0.00 0.00 19:17:48 19:17:48 19:17:48 ---> sar -P ALL: 19:17:48 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-120359) 12/01/22 _x86_64_ (8 CPU) 19:17:48 19:17:48 19:06:58 LINUX RESTART (8 CPU) 19:17:48 19:17:48 19:07:01 CPU %user %nice %system %iowait %steal %idle 19:17:48 19:08:02 all 7.66 0.00 2.59 3.05 0.05 86.65 19:17:48 19:08:02 0 8.49 0.00 2.50 0.47 0.05 88.49 19:17:48 19:08:02 1 8.73 0.00 3.34 4.28 0.05 83.60 19:17:48 19:08:02 2 10.30 0.00 3.01 0.79 0.05 85.85 19:17:48 19:08:02 3 8.87 0.00 2.48 5.92 0.05 82.67 19:17:48 19:08:02 4 5.77 0.00 2.71 9.35 0.05 82.12 19:17:48 19:08:02 5 7.16 0.00 1.99 0.47 0.03 90.35 19:17:48 19:08:02 6 5.60 0.00 1.66 1.86 0.03 90.85 19:17:48 19:08:02 7 6.35 0.00 3.05 1.31 0.05 89.24 19:17:48 19:09:01 all 14.61 0.00 4.24 4.38 0.05 76.72 19:17:48 19:09:01 0 14.91 0.00 4.60 1.40 0.05 79.04 19:17:48 19:09:01 1 14.13 0.00 4.03 0.43 0.03 81.37 19:17:48 19:09:01 2 15.61 0.00 4.83 0.62 0.03 78.91 19:17:48 19:09:01 3 15.99 0.00 4.48 1.46 0.05 78.02 19:17:48 19:09:01 4 15.20 0.00 3.67 11.33 0.05 69.75 19:17:48 19:09:01 5 13.82 0.00 3.10 0.07 0.03 82.98 19:17:48 19:09:01 6 13.40 0.00 4.69 19.51 0.05 62.35 19:17:48 19:09:01 7 13.80 0.00 4.51 0.34 0.07 81.28 19:17:48 19:10:01 all 34.40 0.00 6.51 2.04 0.08 56.98 19:17:48 19:10:01 0 35.81 0.00 7.05 0.32 0.07 56.76 19:17:48 19:10:01 1 34.59 0.00 7.32 8.89 0.08 49.12 19:17:48 19:10:01 2 33.72 0.00 6.03 0.17 0.07 60.01 19:17:48 19:10:01 3 34.45 0.00 6.21 0.24 0.08 59.02 19:17:48 19:10:01 4 33.16 0.00 5.71 0.41 0.07 60.65 19:17:48 19:10:01 5 33.85 0.00 6.57 0.89 0.08 58.60 19:17:48 19:10:01 6 34.73 0.00 6.11 3.49 0.07 55.60 19:17:48 19:10:01 7 34.85 0.00 7.11 1.89 0.12 56.03 19:17:48 19:11:01 all 2.18 0.00 1.05 0.98 0.01 95.78 19:17:48 19:11:01 0 2.39 0.00 1.15 0.13 0.02 96.31 19:17:48 19:11:01 1 2.29 0.00 1.36 5.27 0.02 91.06 19:17:48 19:11:01 2 2.24 0.00 0.95 0.85 0.00 95.96 19:17:48 19:11:01 3 2.39 0.00 1.15 0.38 0.02 96.05 19:17:48 19:11:01 4 2.36 0.00 0.75 0.00 0.02 96.87 19:17:48 19:11:01 5 1.79 0.00 1.45 0.00 0.00 96.76 19:17:48 19:11:01 6 1.82 0.00 0.62 0.50 0.02 97.04 19:17:48 19:11:01 7 2.14 0.00 0.97 0.69 0.02 96.19 19:17:48 19:12:01 all 0.02 0.00 0.01 0.01 0.00 99.96 19:17:48 19:12:01 0 0.03 0.00 0.02 0.02 0.00 99.93 19:17:48 19:12:01 1 0.03 0.00 0.02 0.00 0.00 99.95 19:17:48 19:12:01 2 0.05 0.00 0.03 0.00 0.02 99.90 19:17:48 19:12:01 3 0.00 0.00 0.00 0.02 0.00 99.98 19:17:48 19:12:01 4 0.00 0.00 0.00 0.00 0.00 100.00 19:17:48 19:12:01 5 0.00 0.00 0.02 0.02 0.00 99.97 19:17:48 19:12:01 6 0.02 0.00 0.00 0.00 0.00 99.98 19:17:48 19:12:01 7 0.02 0.00 0.00 0.00 0.02 99.97 19:17:48 19:13:01 all 2.09 0.00 1.47 0.79 0.03 95.62 19:17:48 19:13:01 0 1.57 0.00 1.33 1.67 0.03 95.40 19:17:48 19:13:01 1 1.10 0.00 0.75 0.30 0.03 97.81 19:17:48 19:13:01 2 2.86 0.00 1.04 0.25 0.02 95.84 19:17:48 19:13:01 3 2.93 0.00 0.92 0.97 0.05 95.13 19:17:48 19:13:01 4 1.72 0.00 2.22 1.10 0.02 94.94 19:17:48 19:13:01 5 2.65 0.00 2.32 0.07 0.02 94.94 19:17:48 19:13:01 6 2.43 0.00 1.37 1.02 0.02 95.17 19:17:48 19:13:01 7 1.46 0.00 1.78 0.96 0.03 95.77 19:17:48 19:14:01 all 0.08 0.00 0.06 0.05 0.00 99.81 19:17:48 19:14:01 0 0.05 0.00 0.07 0.00 0.00 99.88 19:17:48 19:14:01 1 0.18 0.00 0.07 0.00 0.00 99.75 19:17:48 19:14:01 2 0.15 0.00 0.07 0.23 0.02 99.53 19:17:48 19:14:01 3 0.10 0.00 0.07 0.13 0.02 99.68 19:17:48 19:14:01 4 0.03 0.00 0.03 0.02 0.00 99.92 19:17:48 19:14:01 5 0.03 0.00 0.07 0.00 0.00 99.90 19:17:48 19:14:01 6 0.07 0.00 0.05 0.00 0.00 99.88 19:17:48 19:14:01 7 0.03 0.00 0.03 0.00 0.00 99.93 19:17:48 19:15:01 all 0.21 0.00 0.01 0.02 0.00 99.76 19:17:48 19:15:01 0 0.05 0.00 0.02 0.00 0.00 99.93 19:17:48 19:15:01 1 0.02 0.00 0.00 0.00 0.00 99.98 19:17:48 19:15:01 2 0.08 0.00 0.03 0.08 0.00 99.80 19:17:48 19:15:01 3 0.03 0.00 0.02 0.05 0.00 99.90 19:17:48 19:15:01 4 0.02 0.00 0.00 0.00 0.00 99.98 19:17:48 19:15:01 5 0.00 0.00 0.00 0.00 0.00 100.00 19:17:48 19:15:01 6 0.00 0.00 0.00 0.00 0.00 100.00 19:17:48 19:15:01 7 1.45 0.00 0.00 0.00 0.02 98.53 19:17:48 19:16:01 all 0.26 0.00 0.01 0.01 0.00 99.72 19:17:48 19:16:01 0 0.02 0.00 0.02 0.00 0.00 99.97 19:17:48 19:16:01 1 0.00 0.00 0.00 0.00 0.02 99.98 19:17:48 19:16:01 2 0.03 0.00 0.03 0.02 0.02 99.90 19:17:48 19:16:01 3 0.02 0.00 0.00 0.00 0.00 99.98 19:17:48 19:16:01 4 0.00 0.00 0.00 0.03 0.00 99.97 19:17:48 19:16:01 5 0.02 0.00 0.02 0.00 0.00 99.97 19:17:48 19:16:01 6 0.00 0.00 0.00 0.00 0.00 100.00 19:17:48 19:16:01 7 1.99 0.00 0.00 0.00 0.00 98.01 19:17:48 19:17:01 all 0.12 0.00 0.01 0.00 0.01 99.86 19:17:48 19:17:01 0 0.12 0.00 0.02 0.00 0.02 99.85 19:17:48 19:17:01 1 0.03 0.00 0.02 0.00 0.00 99.95 19:17:48 19:17:01 2 0.05 0.00 0.03 0.03 0.02 99.87 19:17:48 19:17:01 3 0.02 0.00 0.00 0.00 0.02 99.97 19:17:48 19:17:01 4 0.00 0.00 0.00 0.00 0.00 100.00 19:17:48 19:17:01 5 0.02 0.00 0.02 0.00 0.00 99.97 19:17:48 19:17:01 6 0.03 0.00 0.00 0.00 0.00 99.97 19:17:48 19:17:01 7 0.68 0.00 0.03 0.00 0.00 99.29 19:17:48 Average: all 6.11 0.00 1.58 1.12 0.02 91.17 19:17:48 Average: 0 6.30 0.00 1.67 0.40 0.02 91.61 19:17:48 Average: 1 6.06 0.00 1.68 1.91 0.02 90.33 19:17:48 Average: 2 6.45 0.00 1.59 0.30 0.02 91.63 19:17:48 Average: 3 6.43 0.00 1.52 0.91 0.03 91.10 19:17:48 Average: 4 5.77 0.00 1.50 2.20 0.02 90.52 19:17:48 Average: 5 5.88 0.00 1.55 0.15 0.02 92.41 19:17:48 Average: 6 5.76 0.00 1.43 2.59 0.02 90.20 19:17:48 Average: 7 6.21 0.00 1.73 0.52 0.03 91.52 19:17:48 19:17:48 19:17:48