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 229f6108503d02c491bcbdd5214869bf9baebc67 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-ssh7612190467337407354.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-ssh16389620561673694721.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-ssh62969219145590746.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-ssh11238338371162901338.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-ssh13220142195662141046.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-120581 in /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-115 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 229f6108503d02c491bcbdd5214869bf9baebc67 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 229f6108503d02c491bcbdd5214869bf9baebc67 # timeout=10 Merge succeeded, producing 78df60aa57321e99753e12842ec204cb4e8a5c52 Checking out Revision 78df60aa57321e99753e12842ec204cb4e8a5c52 (PR-115) > 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 78df60aa57321e99753e12842ec204cb4e8a5c52 # timeout=10 Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk c9134f5b1ced18b888251c5aec08bc35ea565d6f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:15:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:15:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:15:05 ========================================================= 18:15:05 EdgeX Global Pipelines Version Info 18:15:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:15:05 ------------------- 18:15:05 stable info: 18:15:05 ------------------- 18:15:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:15:05 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:15:05 Message: update stable to v1.0.244 18:15:06 ------------------- 18:15:06 experimental info: 18:15:06 ------------------- 18:15:06 Commited By: **** collab-it+edgex@linuxfoundation.org 18:15:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:15:06 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:15:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo 18:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo 18:15:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo 18:15:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78df60aa57321e99753e12842ec204cb4e8a5c52 [Pipeline] echo 18:15:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78df60a [Pipeline] echo 18:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:15:07 provisioning config files... 18:15:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config12034071043255711907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:07 ---> docker-login.sh 18:15:07 nexus3.edgexfoundry.org:10001 18:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:07 Configure a credential helper to remove this warning. See 18:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:07 18:15:07 Login Succeeded 18:15:07 nexus3.edgexfoundry.org:10002 18:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:07 Configure a credential helper to remove this warning. See 18:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:07 18:15:07 Login Succeeded 18:15:07 nexus3.edgexfoundry.org:10003 18:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:07 Configure a credential helper to remove this warning. See 18:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:07 18:15:07 Login Succeeded 18:15:07 nexus3.edgexfoundry.org:10004 18:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:08 Configure a credential helper to remove this warning. See 18:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:08 18:15:08 Login Succeeded 18:15:08 docker.io 18:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:08 Configure a credential helper to remove this warning. See 18:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:08 18:15:08 Login Succeeded 18:15:08 ---> docker-login.sh ends [Pipeline] } 18:15:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:15:08 + git rev-list -1 --merges 78df60aa57321e99753e12842ec204cb4e8a5c52~1..78df60aa57321e99753e12842ec204cb4e8a5c52 [Pipeline] echo 18:15:08 -----------> git rev-list -1 --merges 78df60aa57321e99753e12842ec204cb4e8a5c52~1..78df60aa57321e99753e12842ec204cb4e8a5c52 78df60aa57321e99753e12842ec204cb4e8a5c52 18:15:08 78df60aa57321e99753e12842ec204cb4e8a5c52 [false] [Pipeline] sh 18:15:09 + git log --format=format:%s -1 78df60aa57321e99753e12842ec204cb4e8a5c52 [Pipeline] echo 18:15:09 ========================================================= 18:15:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:15:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:15:09 + git log --format=format:%s -1 78df60aa57321e99753e12842ec204cb4e8a5c52 [Pipeline] echo 18:15:09 [semverPrep] GIT_COMMIT: 78df60aa57321e99753e12842ec204cb4e8a5c52, Commit Message: Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD [Pipeline] echo 18:15:09 [semverPrep] This is not a build commit. [Pipeline] sh 18:15:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:15:09 + grep -v github /etc/ssh/ssh_known_hosts 18:15:09 + [ -e /tmp/ssh_known_hosts ] 18:15:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:15:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:15:09 + sudo tee -a /etc/ssh/ssh_known_hosts 18:15:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:15:10 18:15:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:15:10 0.1.4: Pulling from edgex-devops/py-git-semver 18:15:10 b85a868b505f: Pulling fs layer 18:15:10 e2be974225ed: Pulling fs layer 18:15:10 339a4e72a1f5: Pulling fs layer 18:15:10 988bab9f4d93: Pulling fs layer 18:15:10 1469e6f7b9e6: Pulling fs layer 18:15:10 eaf3925da568: Pulling fs layer 18:15:10 bab4dde63d76: Pulling fs layer 18:15:10 bde34c3a00c8: Pulling fs layer 18:15:10 b352a97aabf1: Pulling fs layer 18:15:10 4872d77fe225: Pulling fs layer 18:15:10 5851b861e8e6: Pulling fs layer 18:15:10 988bab9f4d93: Waiting 18:15:10 1469e6f7b9e6: Waiting 18:15:10 eaf3925da568: Waiting 18:15:10 bab4dde63d76: Waiting 18:15:10 bde34c3a00c8: Waiting 18:15:10 b352a97aabf1: Waiting 18:15:10 4872d77fe225: Waiting 18:15:10 5851b861e8e6: Waiting 18:15:10 e2be974225ed: Download complete 18:15:10 988bab9f4d93: Verifying Checksum 18:15:10 988bab9f4d93: Download complete 18:15:10 1469e6f7b9e6: Verifying Checksum 18:15:10 1469e6f7b9e6: Download complete 18:15:10 eaf3925da568: Verifying Checksum 18:15:10 eaf3925da568: Download complete 18:15:10 339a4e72a1f5: Verifying Checksum 18:15:10 339a4e72a1f5: Download complete 18:15:10 bde34c3a00c8: Verifying Checksum 18:15:10 bde34c3a00c8: Download complete 18:15:10 b352a97aabf1: Verifying Checksum 18:15:10 b352a97aabf1: Download complete 18:15:10 4872d77fe225: Verifying Checksum 18:15:10 4872d77fe225: Download complete 18:15:10 5851b861e8e6: Download complete 18:15:10 b85a868b505f: Verifying Checksum 18:15:10 b85a868b505f: Download complete 18:15:11 bab4dde63d76: Verifying Checksum 18:15:12 b85a868b505f: Pull complete 18:15:12 e2be974225ed: Pull complete 18:15:13 339a4e72a1f5: Pull complete 18:15:13 988bab9f4d93: Pull complete 18:15:13 1469e6f7b9e6: Pull complete 18:15:13 eaf3925da568: Pull complete 18:15:15 bab4dde63d76: Pull complete 18:15:15 bde34c3a00c8: Pull complete 18:15:15 b352a97aabf1: Pull complete 18:15:15 4872d77fe225: Pull complete 18:15:15 5851b861e8e6: Pull complete 18:15:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:15:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:15:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:15 prd-ubuntu20.04-docker-8c-8g-120581 does not seem to be running inside a container 18:15:15 $ 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 18:15:17 $ docker top 4741999a9fd2311eabb6f86c44ccdca2c136f9ffb6d7188a7d60d162746722ac -eo pid,comm 18:15:17 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). 18:15:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:15:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:15:17 [ssh-agent] Looking for ssh-agent implementation... 18:15:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:17 $ docker exec 4741999a9fd2311eabb6f86c44ccdca2c136f9ffb6d7188a7d60d162746722ac ssh-agent 18:15:17 SSH_AUTH_SOCK=/tmp/ssh-yQ8BDIzoRn5P/agent.31 18:15:17 SSH_AGENT_PID=37 18:15:17 Running ssh-add (command line suppressed) 18:15:17 Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_13172202345721602075.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_13172202345721602075.key) 18:15:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:18 + git tag --points-at HEAD [Pipeline] } 18:15:18 $ docker exec --env ******** --env ******** 4741999a9fd2311eabb6f86c44ccdca2c136f9ffb6d7188a7d60d162746722ac ssh-agent -k 18:15:18 unset SSH_AUTH_SOCK; 18:15:18 unset SSH_AGENT_PID; 18:15:18 echo Agent pid 37 killed; 18:15:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:15:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:15:18 [ssh-agent] Looking for ssh-agent implementation... 18:15:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:18 $ docker exec 4741999a9fd2311eabb6f86c44ccdca2c136f9ffb6d7188a7d60d162746722ac ssh-agent 18:15:18 SSH_AUTH_SOCK=/tmp/ssh-FoH1zJClIQUr/agent.69 18:15:18 SSH_AGENT_PID=75 18:15:18 Running ssh-add (command line suppressed) 18:15:18 Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_12993372678046469835.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_12993372678046469835.key) 18:15:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:19 + git semver init 18:15:19 2022-12-05 18:15:19,215 [run_init] DEBUG init version:0.0.0 force:False 18:15:19 2022-12-05 18:15:19,216 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-115/.semver 18:15:19 2022-12-05 18:15:19,216 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-115/.semver 18:15:19 2022-12-05 18:15:19,216 [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) 18:15:20 2022-12-05 18:15:20,012 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-115/.git/info/exclude 18:15:20 2022-12-05 18:15:20,012 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 with force:False 18:15:20 2022-12-05 18:15:20,012 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 18:15:20 2022-12-05 18:15:20,016 [execute] INFO git cat-file --batch-check 18:15:20 2022-12-05 18:15:20,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) 18:15:20 2022-12-05 18:15:20,023 [execute] INFO git cat-file --batch 18:15:20 2022-12-05 18:15:20,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) 18:15:20 2022-12-05 18:15:20,029 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 18:15:20 0.0.0 [Pipeline] } 18:15:20 $ docker exec --env ******** --env ******** 4741999a9fd2311eabb6f86c44ccdca2c136f9ffb6d7188a7d60d162746722ac ssh-agent -k 18:15:20 unset SSH_AUTH_SOCK; 18:15:20 unset SSH_AGENT_PID; 18:15:20 echo Agent pid 75 killed; 18:15:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:15:20 + git semver [Pipeline] } 18:15:20 $ docker stop --time=1 4741999a9fd2311eabb6f86c44ccdca2c136f9ffb6d7188a7d60d162746722ac 18:15:22 $ docker rm -f 4741999a9fd2311eabb6f86c44ccdca2c136f9ffb6d7188a7d60d162746722ac [Pipeline] // withDockerContainer [Pipeline] sh 18:15:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:15:22 Stashed 1 file(s) [Pipeline] echo 18:15:22 [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 18:15:22 provisioning config files... 18:15:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config10488137688979017965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:23 ---> docker-login.sh 18:15:23 nexus3.edgexfoundry.org:10001 18:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:23 Configure a credential helper to remove this warning. See 18:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:23 18:15:23 Login Succeeded 18:15:23 nexus3.edgexfoundry.org:10002 18:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:23 Configure a credential helper to remove this warning. See 18:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:23 18:15:23 Login Succeeded 18:15:23 nexus3.edgexfoundry.org:10003 18:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:23 Configure a credential helper to remove this warning. See 18:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:23 18:15:23 Login Succeeded 18:15:23 nexus3.edgexfoundry.org:10004 18:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:23 Configure a credential helper to remove this warning. See 18:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:23 18:15:23 Login Succeeded 18:15:23 docker.io 18:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:23 Configure a credential helper to remove this warning. See 18:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:23 18:15:23 Login Succeeded 18:15:23 ---> docker-login.sh ends [Pipeline] } 18:15:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:15:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:24 ========================================================= 18:15:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:15:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:24 + 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 . 18:15:24 Sending build context to Docker daemon 1.673MB 18:15:24 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:15:24 Step 2/13 : FROM ${BASE} AS builder 18:15:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:15:24 213ec9aee27d: Pulling fs layer 18:15:24 4583459ba037: Pulling fs layer 18:15:24 93c1e223e6f2: Pulling fs layer 18:15:24 53926ce57604: Pulling fs layer 18:15:24 21b2b0c7a3f4: Pulling fs layer 18:15:24 22ff95d597cd: Pulling fs layer 18:15:24 12d6caf4c0d1: Pulling fs layer 18:15:24 96b7cbca73a9: Pulling fs layer 18:15:24 a7acece74701: Pulling fs layer 18:15:24 53926ce57604: Waiting 18:15:24 21b2b0c7a3f4: Waiting 18:15:24 22ff95d597cd: Waiting 18:15:24 12d6caf4c0d1: Waiting 18:15:24 96b7cbca73a9: Waiting 18:15:24 a7acece74701: Waiting 18:15:24 93c1e223e6f2: Verifying Checksum 18:15:24 93c1e223e6f2: Download complete 18:15:24 4583459ba037: Download complete 18:15:24 21b2b0c7a3f4: Verifying Checksum 18:15:24 21b2b0c7a3f4: Download complete 18:15:24 22ff95d597cd: Verifying Checksum 18:15:24 22ff95d597cd: Download complete 18:15:24 213ec9aee27d: Verifying Checksum 18:15:24 213ec9aee27d: Download complete 18:15:24 12d6caf4c0d1: Verifying Checksum 18:15:24 12d6caf4c0d1: Download complete 18:15:24 213ec9aee27d: Pull complete 18:15:24 4583459ba037: Pull complete 18:15:24 93c1e223e6f2: Pull complete 18:15:25 a7acece74701: Verifying Checksum 18:15:25 a7acece74701: Download complete 18:15:25 53926ce57604: Verifying Checksum 18:15:25 53926ce57604: Download complete 18:15:25 96b7cbca73a9: Verifying Checksum 18:15:25 96b7cbca73a9: Download complete 18:15:29 53926ce57604: Pull complete 18:15:29 21b2b0c7a3f4: Pull complete 18:15:29 22ff95d597cd: Pull complete 18:15:29 12d6caf4c0d1: Pull complete 18:15:31 96b7cbca73a9: Pull complete 18:15:32 a7acece74701: Pull complete 18:15:32 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:15:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:15:32 ---> db6d94c90886 18:15:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:15:34 ---> Running in d097b17381b7 18:15:34 Removing intermediate container d097b17381b7 18:15:34 ---> b1d603f6d0ed 18:15:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:15:34 ---> Running in dce16c9cdf20 18:15:34 Removing intermediate container dce16c9cdf20 18:15:34 ---> 6ba813fffe32 18:15:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:15:34 ---> Running in 9fcf2a197cea 18:15:34 Removing intermediate container 9fcf2a197cea 18:15:34 ---> 0a49019b3e38 18:15:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:15:34 ---> Running in 3de2e304b9c9 18:15:34 Removing intermediate container 3de2e304b9c9 18:15:34 ---> 12aca3e53cd6 18:15:34 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:35 ---> Running in f45a7ac57a0e 18:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:15:35 (1/80) Installing mesa (21.3.8-r2) 18:15:35 (2/80) Installing libxau (1.0.9-r0) 18:15:35 (3/80) Installing libxdmcp (1.1.3-r0) 18:15:35 (4/80) Installing libxcb (1.15-r0) 18:15:35 (5/80) Installing libx11 (1.8-r0) 18:15:35 (6/80) Installing libxext (1.3.4-r0) 18:15:35 (7/80) Installing libxfixes (6.0.0-r0) 18:15:35 (8/80) Installing libxxf86vm (1.1.4-r2) 18:15:35 (9/80) Installing libpciaccess (0.16-r0) 18:15:35 (10/80) Installing libdrm (2.4.110-r0) 18:15:35 (11/80) Installing mesa-glapi (21.3.8-r2) 18:15:35 (12/80) Installing libxshmfence (1.3-r1) 18:15:35 (13/80) Installing mesa-gl (21.3.8-r2) 18:15:35 (14/80) Installing icu-data-full (71.1-r2) 18:15:35 (15/80) Installing libice (1.0.10-r0) 18:15:35 (16/80) Installing libuuid (2.38-r1) 18:15:35 (17/80) Installing libsm (1.2.3-r0) 18:15:35 (18/80) Installing libxt (1.2.1-r0) 18:15:35 (19/80) Installing libxmu (1.1.3-r0) 18:15:35 (20/80) Installing xset (1.2.4-r0) 18:15:35 (21/80) Installing xprop (1.2.5-r0) 18:15:35 (22/80) Installing xdg-utils (1.1.3-r3) 18:15:35 (23/80) Installing dbus-libs (1.14.4-r0) 18:15:35 (24/80) Installing libffi (3.4.2-r1) 18:15:35 (25/80) Installing libintl (0.21-r2) 18:15:35 (26/80) Installing libblkid (2.38-r1) 18:15:35 (27/80) Installing libmount (2.38-r1) 18:15:35 (28/80) Installing pcre (8.45-r2) 18:15:35 (29/80) Installing glib (2.72.1-r0) 18:15:35 (30/80) Installing icu-libs (71.1-r2) 18:15:36 (31/80) Installing libpcre2-16 (10.40-r0) 18:15:36 (32/80) Installing zstd-libs (1.5.2-r1) 18:15:36 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 18:15:36 (34/80) Installing hicolor-icon-theme (0.17-r1) 18:15:36 (35/80) Installing wayland-libs-server (1.20.0-r0) 18:15:36 (36/80) Installing mesa-gbm (21.3.8-r2) 18:15:36 (37/80) Installing wayland-libs-client (1.20.0-r0) 18:15:36 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 18:15:36 (39/80) Installing libxcomposite (0.4.5-r0) 18:15:36 (40/80) Installing libbz2 (1.0.8-r1) 18:15:36 (41/80) Installing libpng (1.6.37-r1) 18:15:36 (42/80) Installing freetype (2.12.1-r0) 18:15:36 (43/80) Installing fontconfig (2.14.0-r0) 18:15:36 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 18:15:36 (45/80) Installing wayland-libs-egl (1.20.0-r0) 18:15:36 (46/80) Installing xkeyboard-config (2.35.1-r0) 18:15:36 (47/80) Installing xz-libs (5.2.5-r1) 18:15:36 (48/80) Installing libxml2 (2.9.14-r2) 18:15:36 (49/80) Installing libxkbcommon (1.4.1-r0) 18:15:36 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 18:15:36 (51/80) Installing mesa-egl (21.3.8-r2) 18:15:36 (52/80) Installing avahi-libs (0.8-r6) 18:15:36 (53/80) Installing nettle (3.7.3-r0) 18:15:36 (54/80) Installing p11-kit (0.24.1-r0) 18:15:36 (55/80) Installing libtasn1 (4.18.0-r0) 18:15:36 (56/80) Installing libunistring (1.0-r0) 18:15:36 (57/80) Installing gnutls (3.7.7-r0) 18:15:36 (58/80) Installing cups-libs (2.4.2-r0) 18:15:36 (59/80) Installing graphite2 (1.3.14-r1) 18:15:36 (60/80) Installing harfbuzz (4.3.0-r0) 18:15:36 (61/80) Installing libevdev (1.12.1-r0) 18:15:36 (62/80) Installing mtdev (1.1.6-r0) 18:15:36 (63/80) Installing eudev-libs (3.2.11-r0) 18:15:36 (64/80) Installing libinput-libs (1.20.1-r0) 18:15:36 (65/80) Installing libjpeg-turbo (2.1.3-r1) 18:15:36 (66/80) Installing xcb-util-wm (0.4.1-r1) 18:15:36 (67/80) Installing xcb-util (0.4.0-r3) 18:15:36 (68/80) Installing xcb-util-image (0.4.0-r1) 18:15:36 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 18:15:36 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 18:15:36 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 18:15:36 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 18:15:36 (73/80) Installing v4l-utils-libs (1.22.1-r1) 18:15:36 (74/80) Installing v4l-utils (1.22.1-r1) 18:15:36 (75/80) Installing udev-init-scripts (35-r0) 18:15:36 Executing udev-init-scripts-35-r0.post-install 18:15:36 (76/80) Installing kmod-libs (29-r2) 18:15:36 (77/80) Installing eudev (3.2.11-r0) 18:15:36 (78/80) Installing eudev-dev (3.2.11-r0) 18:15:36 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:15:36 (80/80) Installing v4l-utils-dev (1.22.1-r1) 18:15:36 Executing busybox-1.35.0-r17.trigger 18:15:36 Executing eudev-3.2.11-r0.trigger 18:15:36 OK: 330 MiB in 131 packages 18:15:37 Still waiting to schedule task 18:15:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:15:38 Removing intermediate container f45a7ac57a0e 18:15:38 ---> 56f8318f6ee8 18:15:38 Step 8/13 : WORKDIR /device-usb-camera 18:15:38 ---> Running in b5f52c76a695 18:15:39 Removing intermediate container b5f52c76a695 18:15:39 ---> 0c8c34c47fbd 18:15:39 Step 9/13 : COPY go.mod vendor* ./ 18:15:39 ---> e5e89d16efef 18:15:39 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:39 ---> Running in 7d91b2a88a45 18:16:05 Removing intermediate container 7d91b2a88a45 18:16:05 ---> 98f7dfbe4288 18:16:05 Step 11/13 : COPY . . 18:16:05 ---> 781f05f76e49 18:16:05 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:16:05 ---> Running in 2b88652990af 18:16:05  % Total % Received % Xferd Average Speed Time Time Time Current 18:16:05 Dload Upload Total Spent Left Speed 18:16:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6904 0 --:--:-- --:--:-- --:--:-- 6941 18:16:05 Removing intermediate container 2b88652990af 18:16:05 ---> 562166d0bab0 18:16:05 Step 13/13 : RUN ${MAKE} 18:16:05 ---> Running in 7d6251239386 18:16:05 noop 18:16:05 Removing intermediate container 7d6251239386 18:16:05 ---> b21261f2959c 18:16:05 Successfully built b21261f2959c 18:16:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:05 + docker inspect -f . ci-base-image-x86_64 18:16:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:06 prd-ubuntu20.04-docker-8c-8g-120581 does not seem to be running inside a container 18:16:06 $ 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 18:16:06 $ docker top 3c69e410525c5058f17c6b242472b2129c175ce97a62d611c8843bc75af13ec5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:06 + go version 18:16:06 go version go1.18.7 linux/amd64 [Pipeline] } 18:16:06 $ docker stop --time=1 3c69e410525c5058f17c6b242472b2129c175ce97a62d611c8843bc75af13ec5 18:16:08 $ docker rm -f 3c69e410525c5058f17c6b242472b2129c175ce97a62d611c8843bc75af13ec5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:08 + docker inspect -f . ci-base-image-x86_64 18:16:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:08 prd-ubuntu20.04-docker-8c-8g-120581 does not seem to be running inside a container 18:16:08 $ 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 18:16:08 $ docker top ff508cdd38803c0e92f2edc3979c4f7252f451999caf8d37549cd5a8e740db89 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:09 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] fileExists [Pipeline] sh 18:16:09 + make test 18:16:09 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:16:09 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:16:19 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:16:20 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.025s coverage: 1.9% of statements 18:16:26 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." 18:16:26 CGO_ENABLED=1 go vet ./... 18:16:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:16:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:16:30 ./bin/test-attribution-txt.sh [Pipeline] echo 18:16:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:16:30 $ docker stop --time=1 ff508cdd38803c0e92f2edc3979c4f7252f451999caf8d37549cd5a8e740db89 18:16:32 $ docker rm -f ff508cdd38803c0e92f2edc3979c4f7252f451999caf8d37549cd5a8e740db89 [Pipeline] // withDockerContainer [Pipeline] sh 18:16:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:16:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:16:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:16:33 + ls -al . 18:16:33 total 200 18:16:33 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 18:16 . 18:16:33 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:14 .. 18:16:33 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 18:16 .git 18:16:33 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:15 .github 18:16:33 -rw-rw-r-- 1 jenkins jenkins 414 Dec 5 18:15 .gitignore 18:16:33 -rw-rw-r-- 1 jenkins jenkins 42 Dec 5 18:15 .golangci.yml 18:16:33 -rw-rw-r-- 1 jenkins jenkins 77 Dec 5 18:15 .hadolint.yml 18:16:33 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 18:15 .semver 18:16:33 -rw-rw-r-- 1 jenkins jenkins 9702 Dec 5 18:15 Attribution.txt 18:16:33 -rw-rw-r-- 1 jenkins jenkins 1206 Dec 5 18:15 CHANGELOG.md 18:16:33 -rw-rw-r-- 1 jenkins jenkins 2378 Dec 5 18:15 Dockerfile 18:16:33 -rw-rw-r-- 1 jenkins jenkins 678 Dec 5 18:15 GOVERNANCE.md 18:16:33 -rw-rw-r-- 1 jenkins jenkins 659 Dec 5 18:15 Jenkinsfile 18:16:33 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 5 18:15 LICENSE 18:16:33 -rw-rw-r-- 1 jenkins jenkins 2554 Dec 5 18:15 Makefile 18:16:33 -rw-rw-r-- 1 jenkins jenkins 622 Dec 5 18:15 OWNERS.md 18:16:33 -rw-rw-r-- 1 jenkins jenkins 5934 Dec 5 18:15 README.md 18:16:33 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 18:15 VERSION 18:16:33 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 18:15 bin 18:16:33 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:15 cmd 18:16:33 -rw-r--r-- 1 jenkins jenkins 30072 Dec 5 18:16 coverage.out 18:16:33 -rwxrwxr-x 1 jenkins jenkins 140 Dec 5 18:15 docker-entrypoint.sh 18:16:33 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:15 docs 18:16:33 -rw-rw-r-- 1 jenkins jenkins 3573 Dec 5 18:15 go.mod 18:16:33 -rw-rw-r-- 1 jenkins jenkins 45026 Dec 5 18:15 go.sum 18:16:33 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:15 internal 18:16:33 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:15 snap 18:16:33 -rw-rw-r-- 1 jenkins jenkins 231 Dec 5 18:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:33 + 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=78df60aa57321e99753e12842ec204cb4e8a5c52 --label arch=amd64 --label version=0.0.0 . 18:16:33 Sending build context to Docker daemon 1.704MB 18:16:33 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 18:16:33 Step 2/35 : FROM ${BASE} AS builder 18:16:33 ---> b21261f2959c 18:16:33 Step 3/35 : ARG ADD_BUILD_TAGS="" 18:16:33 ---> Running in 59059fc87370 18:16:33 Removing intermediate container 59059fc87370 18:16:33 ---> 5bdbfd00ebb8 18:16:33 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:16:33 ---> Running in 5f059d565250 18:16:33 Removing intermediate container 5f059d565250 18:16:33 ---> 9ce002ac4187 18:16:33 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:16:33 ---> Running in 67c504d6f9da 18:16:34 Removing intermediate container 67c504d6f9da 18:16:34 ---> d82965c181dc 18:16:34 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:16:34 ---> Running in 425d0d911111 18:16:34 Removing intermediate container 425d0d911111 18:16:34 ---> 829e750bd915 18:16:34 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:16:34 ---> Running in 7260a4c264e9 18:16:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:16:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:16:34 OK: 330 MiB in 131 packages 18:16:35 Removing intermediate container 7260a4c264e9 18:16:35 ---> 21330f35b996 18:16:35 Step 8/35 : WORKDIR /device-usb-camera 18:16:35 ---> Running in cd6e3bb6e615 18:16:35 Removing intermediate container cd6e3bb6e615 18:16:35 ---> fa8b2cedf058 18:16:35 Step 9/35 : COPY go.mod vendor* ./ 18:16:35 ---> 3d24ce8d00bb 18:16:35 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:16:35 ---> Running in 978eb80e906d 18:16:36 Removing intermediate container 978eb80e906d 18:16:36 ---> 49ea927e88bd 18:16:36 Step 11/35 : COPY . . 18:16:36 ---> a470bc96cb82 18:16:36 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:16:36 ---> Running in 9ed4c008cbd4 18:16:36  % Total % Received % Xferd Average Speed Time Time Time Current 18:16:36 Dload Upload  Total Spent Left Speed 18:16:36 0  0 0 0  0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 49225 0 --:--:-- --:--:-- --:--:-- 50571 18:16:36 Removing intermediate container 9ed4c008cbd4 18:16:36 ---> f1edf7304d0f 18:16:36 Step 13/35 : RUN ${MAKE} 18:16:37 ---> Running in 0ca1957ec4b4 18:16:37 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 18:16:59 Removing intermediate container 0ca1957ec4b4 18:16:59 ---> f8d258501f47 18:16:59 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:16:59 v0.18.4: Pulling from aler9/rtsp-simple-server 18:16:59 af6660deedbd: Pulling fs layer 18:16:59 97cd0a44c592: Pulling fs layer 18:16:59 97cd0a44c592: Verifying Checksum 18:16:59 97cd0a44c592: Download complete 18:16:59 af6660deedbd: Verifying Checksum 18:16:59 af6660deedbd: Download complete 18:16:59 af6660deedbd: Pull complete 18:16:59 97cd0a44c592: Pull complete 18:16:59 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:16:59 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:16:59 ---> fea57e182299 18:16:59 Step 15/35 : FROM alpine:3.16 18:16:59 3.16: Pulling from library/alpine 18:16:59 ca7dd9ec2225: Pulling fs layer 18:16:59 ca7dd9ec2225: Verifying Checksum 18:16:59 ca7dd9ec2225: Download complete 18:16:59 ca7dd9ec2225: Pull complete 18:16:59 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:16:59 Status: Downloaded newer image for alpine:3.16 18:16:59 ---> bfe296a52501 18:16:59 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:16:59 ---> Running in 478d425d31fc 18:16:59 Removing intermediate container 478d425d31fc 18:16:59 ---> 9987864a9c2e 18:16:59 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:16:59 ---> Running in f75c20a5921e 18:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:17:00 (1/83) Installing dumb-init (1.2.5-r1) 18:17:00 (2/83) Installing sdl2 (2.0.22-r0) 18:17:00 (3/83) Installing libxau (1.0.9-r0) 18:17:00 (4/83) Installing libxdmcp (1.1.3-r0) 18:17:00 (5/83) Installing libxcb (1.15-r0) 18:17:00 (6/83) Installing libx11 (1.8-r0) 18:17:00 (7/83) Installing aom-libs (3.3.0-r0) 18:17:00 (8/83) Installing alsa-lib (1.2.7.2-r0) 18:17:00 (9/83) Installing expat (2.5.0-r0) 18:17:00 (10/83) Installing brotli-libs (1.0.9-r6) 18:17:00 (11/83) Installing libbz2 (1.0.8-r1) 18:17:00 (12/83) Installing libpng (1.6.37-r1) 18:17:00 (13/83) Installing freetype (2.12.1-r0) 18:17:00 (14/83) Installing fontconfig (2.14.0-r0) 18:17:00 (15/83) Installing fribidi (1.0.12-r0) 18:17:00 (16/83) Installing libffi (3.4.2-r1) 18:17:00 (17/83) Installing libintl (0.21-r2) 18:17:00 (18/83) Installing libblkid (2.38-r1) 18:17:00 (19/83) Installing libmount (2.38-r1) 18:17:00 (20/83) Installing pcre (8.45-r2) 18:17:00 (21/83) Installing glib (2.72.1-r0) 18:17:00 (22/83) Installing graphite2 (1.3.14-r1) 18:17:00 (23/83) Installing harfbuzz (4.3.0-r0) 18:17:00 (24/83) Installing libass (0.16.0-r0) 18:17:00 (25/83) Installing libdav1d (1.0.0-r0) 18:17:00 (26/83) Installing libpciaccess (0.16-r0) 18:17:00 (27/83) Installing libdrm (2.4.110-r0) 18:17:00 (28/83) Installing gmp (6.2.1-r2) 18:17:00 (29/83) Installing nettle (3.7.3-r0) 18:17:00 (30/83) Installing p11-kit (0.24.1-r0) 18:17:00 (31/83) Installing libtasn1 (4.18.0-r0) 18:17:00 (32/83) Installing libunistring (1.0-r0) 18:17:00 (33/83) Installing gnutls (3.7.7-r0) 18:17:00 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 18:17:00 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 18:17:00 (36/83) Installing lame (3.100-r0) 18:17:00 (37/83) Installing opus (1.3.1-r1) 18:17:00 (38/83) Installing libasyncns (0.8-r1) 18:17:00 (39/83) Installing dbus-libs (1.14.4-r0) 18:17:00 (40/83) Installing libltdl (2.4.7-r0) 18:17:00 (41/83) Installing orc (0.4.32-r0) 18:17:00 (42/83) Installing libgcc (11.2.1_git20220219-r2) 18:17:00 (43/83) Installing libogg (1.3.5-r1) 18:17:00 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 18:17:00 (45/83) Installing flac (1.3.4-r0) 18:17:00 (46/83) Installing libvorbis (1.3.7-r0) 18:17:00 (47/83) Installing libsndfile (1.1.0-r0) 18:17:00 (48/83) Installing libgomp (11.2.1_git20220219-r2) 18:17:01 (49/83) Installing soxr (0.1.3-r2) 18:17:01 (50/83) Installing speexdsp (1.2.0-r0) 18:17:01 (51/83) Installing tdb-libs (1.4.6-r0) 18:17:01 (52/83) Installing libpulse (15.0-r2) 18:17:01 (53/83) Installing cjson (1.7.15-r3) 18:17:01 (54/83) Installing mbedtls (2.28.1-r0) 18:17:01 (55/83) Installing librist (0.2.6-r1) 18:17:01 (56/83) Installing libsrt (1.4.4-r0) 18:17:01 (57/83) Installing libssh (0.9.6-r1) 18:17:01 (58/83) Installing libtheora (1.1.1-r16) 18:17:01 (59/83) Installing libjpeg-turbo (2.1.3-r1) 18:17:01 (60/83) Installing v4l-utils-libs (1.22.1-r1) 18:17:01 (61/83) Installing libxext (1.3.4-r0) 18:17:01 (62/83) Installing libxfixes (6.0.0-r0) 18:17:01 (63/83) Installing wayland-libs-client (1.20.0-r0) 18:17:01 (64/83) Installing libva (2.14.0-r0) 18:17:01 (65/83) Installing libvdpau (1.5-r0) 18:17:01 (66/83) Installing vidstab (1.1.0-r1) 18:17:01 (67/83) Installing libvpx (1.11.0-r1) 18:17:01 (68/83) Installing libwebp (1.2.3-r0) 18:17:01 (69/83) Installing x264-libs (0.163_git20210613-r0) 18:17:01 (70/83) Installing numactl (2.0.14-r0) 18:17:01 (71/83) Installing x265-libs (3.5-r3) 18:17:01 (72/83) Installing xvidcore (1.3.7-r1) 18:17:01 (73/83) Installing ffmpeg-libs (5.0.1-r1) 18:17:01 (74/83) Installing ffmpeg (5.0.1-r1) 18:17:01 (75/83) Installing udev-init-scripts (35-r0) 18:17:01 Executing udev-init-scripts-35-r0.post-install 18:17:01 (76/83) Installing eudev-libs (3.2.11-r0) 18:17:01 (77/83) Installing xz-libs (5.2.5-r1) 18:17:01 (78/83) Installing zstd-libs (1.5.2-r1) 18:17:01 (79/83) Installing kmod-libs (29-r2) 18:17:01 (80/83) Installing eudev (3.2.11-r0) 18:17:01 (81/83) Installing libsodium (1.0.18-r0) 18:17:01 (82/83) Installing libzmq (4.3.4-r0) 18:17:01 (83/83) Installing zeromq (4.3.4-r0) 18:17:01 Executing busybox-1.35.0-r17.trigger 18:17:01 Executing eudev-3.2.11-r0.trigger 18:17:01 OK: 101 MiB in 97 packages 18:17:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-120582 in /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] { [Pipeline] ws 18:17:03 Running in /w/workspace/device-usb-camera/24 [Pipeline] { [Pipeline] checkout 18:17:03 Selected Git installation does not exist. Using Default 18:17:03 The recommended git tool is: NONE 18:17:03 Removing intermediate container f75c20a5921e 18:17:03 ---> 2ec1229a7ed7 18:17:03 Step 18/35 : WORKDIR / 18:17:03 ---> Running in 84872751f296 18:17:03 Removing intermediate container 84872751f296 18:17:03 ---> 8da8c3c7889e 18:17:03 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:17:04 ---> 0057e97a86a0 18:17:04 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:17:04 ---> 34c1564cfdc6 18:17:04 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:17:04 ---> 72ce302d916c 18:17:04 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:17:04 ---> 860a927aa512 18:17:04 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:17:04 ---> 0b7c8fb7e6ef 18:17:04 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:17:04 ---> e0ef907359cc 18:17:04 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:17:05 ---> 318d1c460f8c 18:17:05 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:17:05 ---> Running in cb497840f291 18:17:06 Removing intermediate container cb497840f291 18:17:06 ---> 02df889d9e93 18:17:06 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:17:06 ---> Running in 03c1c0080f32 18:17:06 Removing intermediate container 03c1c0080f32 18:17:06 ---> 3d5e79a4ec2b 18:17:06 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:17:06 ---> Running in 1643260f5636 18:17:07 Removing intermediate container 1643260f5636 18:17:07 ---> e601ccb50f2a 18:17:07 Step 29/35 : EXPOSE 59983 18:17:07 ---> Running in 8494f3f7c823 18:17:07 Removing intermediate container 8494f3f7c823 18:17:07 ---> 99e8cfd84c75 18:17:07 Step 30/35 : EXPOSE 8554 18:17:07 ---> Running in 7fe1703a69a3 18:17:07 Removing intermediate container 7fe1703a69a3 18:17:07 ---> e062b4529f2f 18:17:07 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:17:07 ---> Running in ea492d0d130c 18:17:07 Removing intermediate container ea492d0d130c 18:17:07 ---> 07647f10b51b 18:17:07 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:17:07 ---> Running in 1b511e693f45 18:17:07 Removing intermediate container 1b511e693f45 18:17:07 ---> 5513b6372e66 18:17:07 Step 33/35 : LABEL arch=amd64 18:17:07 ---> Running in c43691ac38ea 18:17:07 Removing intermediate container c43691ac38ea 18:17:07 ---> b8226580e579 18:17:07 Step 34/35 : LABEL git_sha=78df60aa57321e99753e12842ec204cb4e8a5c52 18:17:07 ---> Running in 205e4fa13d90 18:17:08 using credential edgex-jenkins-ssh 18:17:08 Cloning the remote Git repository 18:17:08 Removing intermediate container 205e4fa13d90 18:17:08 ---> 11f8969ea628 18:17:08 Step 35/35 : LABEL version=0.0.0 18:17:08 ---> Running in d80ba44d00f5 18:17:08 Removing intermediate container d80ba44d00f5 18:17:08 ---> ec9a1579fdec 18:17:08 [Warning] One or more build-args [ARCH] were not consumed 18:17:08 Successfully built ec9a1579fdec 18:17:08 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 18:17:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:08 18:17:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:08 latest: Pulling from edgex-lftools-log-publisher 18:17:08 5eb5b503b376: Pulling fs layer 18:17:08 5c69ac0246d0: Pulling fs layer 18:17:08 ec43610c2a17: Pulling fs layer 18:17:08 3a2ae6a8a46f: Pulling fs layer 18:17:08 33b1e0a273af: Pulling fs layer 18:17:08 5d3b04190fa2: Pulling fs layer 18:17:08 2f39f015ded8: Pulling fs layer 18:17:08 33b1e0a273af: Waiting 18:17:08 5d3b04190fa2: Waiting 18:17:08 2f39f015ded8: Waiting 18:17:08 3a2ae6a8a46f: Waiting 18:17:08 5c69ac0246d0: Verifying Checksum 18:17:08 5c69ac0246d0: Download complete 18:17:08 3a2ae6a8a46f: Verifying Checksum 18:17:08 3a2ae6a8a46f: Download complete 18:17:09 33b1e0a273af: Verifying Checksum 18:17:09 33b1e0a273af: Download complete 18:17:09 5d3b04190fa2: Download complete 18:17:09 ec43610c2a17: Download complete 18:17:09 5eb5b503b376: Verifying Checksum 18:17:09 5eb5b503b376: Download complete 18:17:08 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:17:08 > git init /w/workspace/device-usb-camera/24 # timeout=10 18:17:08 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:17:08 > git --version # timeout=10 18:17:08 > git --version # 'git version 2.25.1' 18:17:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:08 Verifying host key using known hosts file 18:17:08 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:17:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:09 2f39f015ded8: Download complete 18:17:10 5eb5b503b376: Pull complete 18:17:10 5c69ac0246d0: Pull complete 18:17:09 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:17:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:17:10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:17:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:10 Verifying host key using known hosts file 18:17:10 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. 18:17:10 > 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 18:17:10 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 229f6108503d02c491bcbdd5214869bf9baebc67 18:17:11 ec43610c2a17: Pull complete 18:17:11 3a2ae6a8a46f: Pull complete 18:17:11 Merge succeeded, producing 1457738afe3e9fcd82f64b4f010c8ed4ee5ecade 18:17:11 Checking out Revision 1457738afe3e9fcd82f64b4f010c8ed4ee5ecade (PR-115) 18:17:11 33b1e0a273af: Pull complete 18:17:11 5d3b04190fa2: Pull complete 18:17:10 > git config core.sparsecheckout # timeout=10 18:17:10 > git checkout -f 229f6108503d02c491bcbdd5214869bf9baebc67 # timeout=10 18:17:10 > git remote # timeout=10 18:17:10 > git config --get remote.origin.url # timeout=10 18:17:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:11 Verifying host key using known hosts file 18:17:11 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. 18:17:11 > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 18:17:11 > git rev-parse HEAD^{commit} # timeout=10 18:17:11 > git config core.sparsecheckout # timeout=10 18:17:11 > git checkout -f 1457738afe3e9fcd82f64b4f010c8ed4ee5ecade # timeout=10 18:17:14 Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" 18:17:14 First time build. Skipping changelog. 18:17:14 > git rev-list --no-walk c9134f5b1ced18b888251c5aec08bc35ea565d6f # timeout=10 18:17:14 18:17:14 GitHub has been notified of this commit’s build result 18:17:14 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:17:15 % Total % Received % Xferd Average Speed Time Time Time Current 18:17:15 Dload Upload Total Spent Left Speed 18:17:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 18:17:15 2f39f015ded8: Pull complete 18:17:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:17:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:15 prd-ubuntu20.04-docker-8c-8g-120581 does not seem to be running inside a container 18:17:15 $ 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 18:17:17 $ docker top e3ac86b37ab3acf91f376c7019fff49f9f5ab44d026beb2a200e2c98946bba79 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 18:17:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:17:17 ---> job-cost.sh 18:17:17 lf-activate-venv: SKIPPING 18:17:17 INFO: No Stack... 18:17:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:17:18 + sudo tee /etc/docker/daemon.new 18:17:18 { 18:17:18 "registry-mirrors": [ 18:17:18 "https://nexus3.edgexfoundry.org:10001" 18:17:18 ], 18:17:18 "bip": "10.250.0.254/24", 18:17:18 "hosts": [ 18:17:18 "tcp://0.0.0.0:5555", 18:17:18 "unix:///var/run/docker.sock" 18:17:18 ], 18:17:18 "mtu": 1458, 18:17:18 "selinux-enabled": true, 18:17:18 "seccomp-profile": "/etc/docker/seccomp.json" 18:17:18 } [Pipeline] sh 18:17:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:17:18 INFO: Archiving Costs [Pipeline] sh 18:17:18 + sudo service docker restart 18:17:19 + cat /w/workspace/foundry_device-usb-camera_PR-115/archives/cost.csv 18:17:19 + cut -d, -f6 [Pipeline] lock 18:17:19 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-24-stack-cost] 18:17:19 Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-24-stack-cost] did not exist. Created. 18:17:19 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:17:19 + echo total: 0.2199999988079071 [Pipeline] stash 18:17:19 Stashed 1 file(s) [Pipeline] } 18:17:19 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-24-stack-cost] [Pipeline] // lock [Pipeline] } 18:17:19 $ docker stop --time=1 e3ac86b37ab3acf91f376c7019fff49f9f5ab44d026beb2a200e2c98946bba79 18:17:20 $ docker rm -f e3ac86b37ab3acf91f376c7019fff49f9f5ab44d026beb2a200e2c98946bba79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:37 provisioning config files... 18:17:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/24@tmp/config11273194913279603501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:37 ---> docker-login.sh 18:17:37 nexus3.edgexfoundry.org:10001 18:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:38 Configure a credential helper to remove this warning. See 18:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:38 18:17:38 Login Succeeded 18:17:38 nexus3.edgexfoundry.org:10002 18:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:38 Configure a credential helper to remove this warning. See 18:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:38 18:17:38 Login Succeeded 18:17:38 nexus3.edgexfoundry.org:10003 18:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:38 Configure a credential helper to remove this warning. See 18:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:38 18:17:38 Login Succeeded 18:17:38 nexus3.edgexfoundry.org:10004 18:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:39 Configure a credential helper to remove this warning. See 18:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:39 18:17:39 Login Succeeded 18:17:39 docker.io 18:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:39 Configure a credential helper to remove this warning. See 18:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:39 18:17:39 Login Succeeded 18:17:39 ---> docker-login.sh ends [Pipeline] } 18:17:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:17:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:39 ========================================================= 18:17:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:17:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:40 + 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 . 18:17:40 Sending build context to Docker daemon 1.114MB 18:17:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:17:40 Step 2/13 : FROM ${BASE} AS builder 18:17:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:17:40 9b18e9b68314: Pulling fs layer 18:17:40 35d82f9e3411: Pulling fs layer 18:17:40 e16973657156: Pulling fs layer 18:17:40 fc693d55d65f: Pulling fs layer 18:17:40 7e9fc2657dce: Pulling fs layer 18:17:40 dda99020689f: Pulling fs layer 18:17:40 db1c61fa0a46: Pulling fs layer 18:17:40 891c053d2c06: Pulling fs layer 18:17:40 7e9fc2657dce: Waiting 18:17:40 dda99020689f: Waiting 18:17:40 db1c61fa0a46: Waiting 18:17:40 891c053d2c06: Waiting 18:17:40 fc693d55d65f: Waiting 18:17:40 e16973657156: Verifying Checksum 18:17:40 e16973657156: Download complete 18:17:40 35d82f9e3411: Verifying Checksum 18:17:40 35d82f9e3411: Download complete 18:17:40 7e9fc2657dce: Verifying Checksum 18:17:40 7e9fc2657dce: Download complete 18:17:40 dda99020689f: Verifying Checksum 18:17:40 dda99020689f: Download complete 18:17:40 9b18e9b68314: Verifying Checksum 18:17:40 9b18e9b68314: Download complete 18:17:42 9b18e9b68314: Pull complete 18:17:42 891c053d2c06: Verifying Checksum 18:17:42 891c053d2c06: Download complete 18:17:43 35d82f9e3411: Pull complete 18:17:43 e16973657156: Pull complete 18:17:43 db1c61fa0a46: Verifying Checksum 18:17:43 db1c61fa0a46: Download complete 18:17:44 fc693d55d65f: Verifying Checksum 18:17:44 fc693d55d65f: Download complete 18:17:57 fc693d55d65f: Pull complete 18:17:57 7e9fc2657dce: Pull complete 18:17:57 dda99020689f: Pull complete 18:18:02 db1c61fa0a46: Pull complete 18:18:04 891c053d2c06: Pull complete 18:18:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:18:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:18:04 ---> f96f9c87975a 18:18:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:18:06 ---> Running in 9ed19235cc8d 18:18:06 Removing intermediate container 9ed19235cc8d 18:18:06 ---> 2df0a73a9baf 18:18:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:18:06 ---> Running in 3d5057ba6aac 18:18:06 Removing intermediate container 3d5057ba6aac 18:18:06 ---> 568c48deb9e7 18:18:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:18:06 ---> Running in 6c911da9162c 18:18:07 Removing intermediate container 6c911da9162c 18:18:07 ---> f9e42d1ea9d9 18:18:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:18:07 ---> Running in 77e592084ab5 18:18:07 Removing intermediate container 77e592084ab5 18:18:07 ---> e54a3fbdf96d 18:18:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:07 ---> Running in 1aa99e50250f 18:18:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:18:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:18:09 (1/14) Installing libintl (0.21-r2) 18:18:09 (2/14) Installing eudev-libs (3.2.11-r0) 18:18:09 (3/14) Installing libjpeg-turbo (2.1.3-r1) 18:18:10 (4/14) Installing v4l-utils-libs (1.22.1-r1) 18:18:10 (5/14) Installing v4l-utils (1.22.1-r1) 18:18:10 (6/14) Installing udev-init-scripts (35-r0) 18:18:10 Executing udev-init-scripts-35-r0.post-install 18:18:10 (7/14) Installing libblkid (2.38-r1) 18:18:10 (8/14) Installing xz-libs (5.2.5-r1) 18:18:10 (9/14) Installing zstd-libs (1.5.2-r1) 18:18:10 (10/14) Installing kmod-libs (29-r2) 18:18:10 (11/14) Installing eudev (3.2.11-r0) 18:18:10 (12/14) Installing eudev-dev (3.2.11-r0) 18:18:10 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:18:10 (14/14) Installing v4l-utils-dev (1.22.1-r1) 18:18:10 Executing busybox-1.35.0-r17.trigger 18:18:10 Executing eudev-3.2.11-r0.trigger 18:18:10 OK: 228 MiB in 65 packages 18:18:11 Removing intermediate container 1aa99e50250f 18:18:11 ---> 1d71b1242ce2 18:18:11 Step 8/13 : WORKDIR /device-usb-camera 18:18:11 ---> Running in 85dcaf39f829 18:18:11 Removing intermediate container 85dcaf39f829 18:18:11 ---> 7102bae72d6f 18:18:11 Step 9/13 : COPY go.mod vendor* ./ 18:18:12 ---> 65eea0ed03f6 18:18:12 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:12 ---> Running in 3457464409b5 18:19:08 Removing intermediate container 3457464409b5 18:19:08 ---> 7660168b3e4a 18:19:08 Step 11/13 : COPY . . 18:19:08 ---> b57f5a787726 18:19:08 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:19:08 ---> Running in 38044aac2297 18:19:08  % Total % Received % Xferd Average Speed Time Time Time Current 18:19:08 Dload Upload Total Spent Left Speed 18:19:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14039 0 --:--:-- --:--:-- --:--:-- 13973 18:19:08 Removing intermediate container 38044aac2297 18:19:08 ---> 07a4bf9e5a60 18:19:08 Step 13/13 : RUN ${MAKE} 18:19:08 ---> Running in 3f7825c1c58e 18:19:08 noop 18:19:08 Removing intermediate container 3f7825c1c58e 18:19:08 ---> bf49c35c744d 18:19:08 Successfully built bf49c35c744d 18:19:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:09 + docker inspect -f . ci-base-image-arm64 18:19:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:09 prd-ubuntu20.04-docker-arm64-4c-16g-120582 does not seem to be running inside a container 18:19:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/24 -v /w/workspace/device-usb-camera/24:/w/workspace/device-usb-camera/24:rw,z -v /w/workspace/device-usb-camera/24@tmp:/w/workspace/device-usb-camera/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:19:10 $ docker top 23a40fbce110640e080f8755e8ee0de7d76377faf0c064905f51dbab2ac830a6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:11 + go version 18:19:11 go version go1.18.7 linux/arm64 [Pipeline] } 18:19:11 $ docker stop --time=1 23a40fbce110640e080f8755e8ee0de7d76377faf0c064905f51dbab2ac830a6 18:19:12 $ docker rm -f 23a40fbce110640e080f8755e8ee0de7d76377faf0c064905f51dbab2ac830a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:13 + docker inspect -f . ci-base-image-arm64 18:19:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:13 prd-ubuntu20.04-docker-arm64-4c-16g-120582 does not seem to be running inside a container 18:19:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/24 -v /w/workspace/device-usb-camera/24:/w/workspace/device-usb-camera/24:rw,z -v /w/workspace/device-usb-camera/24@tmp:/w/workspace/device-usb-camera/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:19:16 $ docker top cf63cb19f2373b6c2b0277c705e583998c03a746e974723f3043ede072d1c074 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:16 + git config --global --add safe.directory /w/workspace/device-usb-camera/24 [Pipeline] fileExists [Pipeline] sh 18:19:17 + make test 18:19:17 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:19:19 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:20:55 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:20:55 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 1.9% of statements 18:20:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:20:55 CGO_ENABLED=1 go vet ./... 18:21:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:21:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:21:08 ./bin/test-attribution-txt.sh [Pipeline] echo 18:21:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:21:08 $ docker stop --time=1 cf63cb19f2373b6c2b0277c705e583998c03a746e974723f3043ede072d1c074 18:21:10 $ docker rm -f cf63cb19f2373b6c2b0277c705e583998c03a746e974723f3043ede072d1c074 [Pipeline] // withDockerContainer [Pipeline] sh 18:21:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:21:10 Warning: overwriting stash ‘coverage-report’ 18:21:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:21:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:21:12 + ls -al . 18:21:12 total 196 18:21:12 drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 18:19 . 18:21:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:17 .. 18:21:12 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 18:17 .git 18:21:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:17 .github 18:21:12 -rw-rw-r-- 1 jenkins jenkins 414 Dec 5 18:17 .gitignore 18:21:12 -rw-rw-r-- 1 jenkins jenkins 42 Dec 5 18:17 .golangci.yml 18:21:12 -rw-rw-r-- 1 jenkins jenkins 77 Dec 5 18:17 .hadolint.yml 18:21:12 -rw-rw-r-- 1 jenkins jenkins 9702 Dec 5 18:17 Attribution.txt 18:21:12 -rw-rw-r-- 1 jenkins jenkins 1206 Dec 5 18:17 CHANGELOG.md 18:21:12 -rw-rw-r-- 1 jenkins jenkins 2378 Dec 5 18:17 Dockerfile 18:21:12 -rw-rw-r-- 1 jenkins jenkins 678 Dec 5 18:17 GOVERNANCE.md 18:21:12 -rw-rw-r-- 1 jenkins jenkins 659 Dec 5 18:17 Jenkinsfile 18:21:12 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 5 18:17 LICENSE 18:21:12 -rw-rw-r-- 1 jenkins jenkins 2554 Dec 5 18:17 Makefile 18:21:12 -rw-rw-r-- 1 jenkins jenkins 622 Dec 5 18:17 OWNERS.md 18:21:12 -rw-rw-r-- 1 jenkins jenkins 5934 Dec 5 18:17 README.md 18:21:12 -rw-rw-r-- 1 jenkins jenkins 5 Dec 5 18:15 VERSION 18:21:12 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 18:17 bin 18:21:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:17 cmd 18:21:12 -rw-r--r-- 1 jenkins jenkins 30072 Dec 5 18:20 coverage.out 18:21:12 -rwxrwxr-x 1 jenkins jenkins 140 Dec 5 18:17 docker-entrypoint.sh 18:21:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:17 docs 18:21:12 -rw-rw-r-- 1 jenkins jenkins 3573 Dec 5 18:17 go.mod 18:21:12 -rw-rw-r-- 1 jenkins jenkins 45026 Dec 5 18:17 go.sum 18:21:12 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 18:17 internal 18:21:12 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 18:17 snap 18:21:12 -rw-rw-r-- 1 jenkins jenkins 231 Dec 5 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:12 + 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=1457738afe3e9fcd82f64b4f010c8ed4ee5ecade --label arch=arm64 --label version=0.0.0 . 18:21:12 Sending build context to Docker daemon 1.145MB 18:21:12 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 18:21:12 Step 2/35 : FROM ${BASE} AS builder 18:21:12 ---> bf49c35c744d 18:21:12 Step 3/35 : ARG ADD_BUILD_TAGS="" 18:21:13 ---> Running in a96271d55cc5 18:21:13 Removing intermediate container a96271d55cc5 18:21:13 ---> dabd4192c96b 18:21:13 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:13 ---> Running in 099f3bd5d712 18:21:13 Removing intermediate container 099f3bd5d712 18:21:13 ---> 91a46e668429 18:21:13 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:21:13 ---> Running in 6b982576f353 18:21:13 Removing intermediate container 6b982576f353 18:21:13 ---> a8345ab60480 18:21:13 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:21:13 ---> Running in cd6bf8e692c0 18:21:14 Removing intermediate container cd6bf8e692c0 18:21:14 ---> 4476131fedf3 18:21:14 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:14 ---> Running in 507fb2f5d251 18:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:21:16 OK: 228 MiB in 65 packages 18:21:17 Removing intermediate container 507fb2f5d251 18:21:17 ---> 0d7c5a6686bd 18:21:17 Step 8/35 : WORKDIR /device-usb-camera 18:21:17 ---> Running in 5abb011604f3 18:21:17 Removing intermediate container 5abb011604f3 18:21:17 ---> b50c9077c2ed 18:21:17 Step 9/35 : COPY go.mod vendor* ./ 18:21:19 ---> 60eb300a259d 18:21:19 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:19 ---> Running in 10b1c34fbac2 18:21:21 Removing intermediate container 10b1c34fbac2 18:21:21 ---> 1578abdd0075 18:21:21 Step 11/35 : COPY . . 18:21:22 ---> 15a80b40ff98 18:21:22 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:21:22 ---> Running in 51854e744248 18:21:23  % Total % Received % Xferd Average Speed Time Time Time Current 18:21:23 Dload Upload Total Spent Left Speed 18:21:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4924 0 --:--:-- --:--:-- --:--:-- 4916 18:21:23 Removing intermediate container 51854e744248 18:21:23 ---> c65a8ec4f51e 18:21:23 Step 13/35 : RUN ${MAKE} 18:21:23 ---> Running in 39cda9964aae 18:21:24 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 18:23:46 Removing intermediate container 39cda9964aae 18:23:46 ---> 37723fe58e18 18:23:46 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:23:46 v0.18.4: Pulling from aler9/rtsp-simple-server 18:23:46 eab2503cf8f4: Pulling fs layer 18:23:46 97cd0a44c592: Pulling fs layer 18:23:46 97cd0a44c592: Verifying Checksum 18:23:46 97cd0a44c592: Download complete 18:23:46 eab2503cf8f4: Verifying Checksum 18:23:46 eab2503cf8f4: Download complete 18:23:46 eab2503cf8f4: Pull complete 18:23:46 97cd0a44c592: Pull complete 18:23:46 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:23:46 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:23:46 ---> 7f763cca56b3 18:23:46 Step 15/35 : FROM alpine:3.16 18:23:46 3.16: Pulling from library/alpine 18:23:46 6875df1f5354: Pulling fs layer 18:23:46 6875df1f5354: Verifying Checksum 18:23:46 6875df1f5354: Download complete 18:23:46 6875df1f5354: Pull complete 18:23:46 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:23:46 Status: Downloaded newer image for alpine:3.16 18:23:46 ---> 2b4661558fb8 18:23:46 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:23:46 ---> Running in bd0370ec992c 18:23:46 Removing intermediate container bd0370ec992c 18:23:46 ---> 0722a0d745a7 18:23:46 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:23:46 ---> Running in 8e71015d65d7 18:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:23:46 (1/82) Installing dumb-init (1.2.5-r1) 18:23:46 (2/82) Installing sdl2 (2.0.22-r0) 18:23:46 (3/82) Installing libxau (1.0.9-r0) 18:23:46 (4/82) Installing libxdmcp (1.1.3-r0) 18:23:46 (5/82) Installing libxcb (1.15-r0) 18:23:46 (6/82) Installing libx11 (1.8-r0) 18:23:46 (7/82) Installing aom-libs (3.3.0-r0) 18:23:46 (8/82) Installing alsa-lib (1.2.7.2-r0) 18:23:46 (9/82) Installing expat (2.5.0-r0) 18:23:46 (10/82) Installing brotli-libs (1.0.9-r6) 18:23:46 (11/82) Installing libbz2 (1.0.8-r1) 18:23:46 (12/82) Installing libpng (1.6.37-r1) 18:23:46 (13/82) Installing freetype (2.12.1-r0) 18:23:46 (14/82) Installing fontconfig (2.14.0-r0) 18:23:46 (15/82) Installing fribidi (1.0.12-r0) 18:23:46 (16/82) Installing libffi (3.4.2-r1) 18:23:46 (17/82) Installing libintl (0.21-r2) 18:23:46 (18/82) Installing libblkid (2.38-r1) 18:23:46 (19/82) Installing libmount (2.38-r1) 18:23:46 (20/82) Installing pcre (8.45-r2) 18:23:46 (21/82) Installing glib (2.72.1-r0) 18:23:46 (22/82) Installing graphite2 (1.3.14-r1) 18:23:46 (23/82) Installing harfbuzz (4.3.0-r0) 18:23:46 (24/82) Installing libass (0.16.0-r0) 18:23:46 (25/82) Installing libdav1d (1.0.0-r0) 18:23:46 (26/82) Installing libdrm (2.4.110-r0) 18:23:46 (27/82) Installing gmp (6.2.1-r2) 18:23:46 (28/82) Installing nettle (3.7.3-r0) 18:23:46 (29/82) Installing p11-kit (0.24.1-r0) 18:23:46 (30/82) Installing libtasn1 (4.18.0-r0) 18:23:46 (31/82) Installing libunistring (1.0-r0) 18:23:46 (32/82) Installing gnutls (3.7.7-r0) 18:23:46 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 18:23:46 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 18:23:46 (35/82) Installing lame (3.100-r0) 18:23:46 (36/82) Installing opus (1.3.1-r1) 18:23:46 (37/82) Installing libasyncns (0.8-r1) 18:23:46 (38/82) Installing dbus-libs (1.14.4-r0) 18:23:46 (39/82) Installing libltdl (2.4.7-r0) 18:23:46 (40/82) Installing orc (0.4.32-r0) 18:23:46 (41/82) Installing libgcc (11.2.1_git20220219-r2) 18:23:46 (42/82) Installing libogg (1.3.5-r1) 18:23:46 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 18:23:46 (44/82) Installing flac (1.3.4-r0) 18:23:46 (45/82) Installing libvorbis (1.3.7-r0) 18:23:46 (46/82) Installing libsndfile (1.1.0-r0) 18:23:46 (47/82) Installing libgomp (11.2.1_git20220219-r2) 18:23:46 (48/82) Installing soxr (0.1.3-r2) 18:23:46 (49/82) Installing speexdsp (1.2.0-r0) 18:23:46 (50/82) Installing tdb-libs (1.4.6-r0) 18:23:46 (51/82) Installing libpulse (15.0-r2) 18:23:46 (52/82) Installing cjson (1.7.15-r3) 18:23:46 (53/82) Installing mbedtls (2.28.1-r0) 18:23:46 (54/82) Installing librist (0.2.6-r1) 18:23:46 (55/82) Installing libsrt (1.4.4-r0) 18:23:46 (56/82) Installing libssh (0.9.6-r1) 18:23:46 (57/82) Installing libtheora (1.1.1-r16) 18:23:46 (58/82) Installing libjpeg-turbo (2.1.3-r1) 18:23:46 (59/82) Installing v4l-utils-libs (1.22.1-r1) 18:23:46 (60/82) Installing libxext (1.3.4-r0) 18:23:46 (61/82) Installing libxfixes (6.0.0-r0) 18:23:46 (62/82) Installing wayland-libs-client (1.20.0-r0) 18:23:46 (63/82) Installing libva (2.14.0-r0) 18:23:46 (64/82) Installing libvdpau (1.5-r0) 18:23:46 (65/82) Installing vidstab (1.1.0-r1) 18:23:46 (66/82) Installing libvpx (1.11.0-r1) 18:23:46 (67/82) Installing libwebp (1.2.3-r0) 18:23:46 (68/82) Installing x264-libs (0.163_git20210613-r0) 18:23:46 (69/82) Installing numactl (2.0.14-r0) 18:23:46 (70/82) Installing x265-libs (3.5-r3) 18:23:46 (71/82) Installing xvidcore (1.3.7-r1) 18:23:46 (72/82) Installing ffmpeg-libs (5.0.1-r1) 18:23:46 (73/82) Installing ffmpeg (5.0.1-r1) 18:23:46 (74/82) Installing udev-init-scripts (35-r0) 18:23:46 Executing udev-init-scripts-35-r0.post-install 18:23:46 (75/82) Installing eudev-libs (3.2.11-r0) 18:23:46 (76/82) Installing xz-libs (5.2.5-r1) 18:23:46 (77/82) Installing zstd-libs (1.5.2-r1) 18:23:46 (78/82) Installing kmod-libs (29-r2) 18:23:46 (79/82) Installing eudev (3.2.11-r0) 18:23:46 (80/82) Installing libsodium (1.0.18-r0) 18:23:46 (81/82) Installing libzmq (4.3.4-r0) 18:23:46 (82/82) Installing zeromq (4.3.4-r0) 18:23:46 Executing busybox-1.35.0-r17.trigger 18:23:46 Executing eudev-3.2.11-r0.trigger 18:23:46 OK: 78 MiB in 96 packages 18:23:49 Removing intermediate container 8e71015d65d7 18:23:49 ---> 1d070f45165b 18:23:49 Step 18/35 : WORKDIR / 18:23:49 ---> Running in 4e60d877b777 18:23:49 Removing intermediate container 4e60d877b777 18:23:49 ---> 0fa326094092 18:23:49 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:23:51 ---> 114569f65267 18:23:51 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:23:51 ---> 8055c29d8864 18:23:51 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:23:52 ---> 890fdabf3eda 18:23:52 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:23:52 ---> 929a11c6ba99 18:23:52 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:23:53 ---> fcd2fc69216c 18:23:53 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:23:53 ---> b36d8e0a46e7 18:23:53 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:23:55 ---> c96eb19e916f 18:23:55 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:23:55 ---> Running in 63b0aeab8470 18:23:56 Removing intermediate container 63b0aeab8470 18:23:56 ---> 865b88b8d3b3 18:23:56 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:23:56 ---> Running in ef126b8bb48b 18:23:57 Removing intermediate container ef126b8bb48b 18:23:57 ---> 193eda3e0443 18:23:57 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:23:57 ---> Running in 8fb7d85f76e4 18:23:59 Removing intermediate container 8fb7d85f76e4 18:23:59 ---> 88e4a8585cbb 18:23:59 Step 29/35 : EXPOSE 59983 18:23:59 ---> Running in 6f48cd6c23cf 18:23:59 Removing intermediate container 6f48cd6c23cf 18:23:59 ---> e3c12b13419d 18:23:59 Step 30/35 : EXPOSE 8554 18:23:59 ---> Running in dde1f7787619 18:24:00 Removing intermediate container dde1f7787619 18:24:00 ---> 6e8c0f2b804a 18:24:00 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:24:00 ---> Running in 336d0fda1ced 18:24:00 Removing intermediate container 336d0fda1ced 18:24:00 ---> 98c712dcac10 18:24:00 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:24:00 ---> Running in f207565d9734 18:24:00 Removing intermediate container f207565d9734 18:24:00 ---> bba6604f4c8f 18:24:00 Step 33/35 : LABEL arch=arm64 18:24:00 ---> Running in d8d6b9ccf556 18:24:01 Removing intermediate container d8d6b9ccf556 18:24:01 ---> 5385e8292e4d 18:24:01 Step 34/35 : LABEL git_sha=1457738afe3e9fcd82f64b4f010c8ed4ee5ecade 18:24:01 ---> Running in 84585100092c 18:24:01 Removing intermediate container 84585100092c 18:24:01 ---> e0ce61b28e16 18:24:01 Step 35/35 : LABEL version=0.0.0 18:24:01 ---> Running in 8014d15152ea 18:24:02 Removing intermediate container 8014d15152ea 18:24:02 ---> 6bbd63c741b8 18:24:02 [Warning] One or more build-args [ARCH] were not consumed 18:24:02 Successfully built 6bbd63c741b8 18:24:02 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 18:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:02 18:24:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:02 arm64: Pulling from edgex-lftools-log-publisher 18:24:02 8998bd30e6a1: Pulling fs layer 18:24:02 04944245beec: Pulling fs layer 18:24:02 699f458cf7ca: Pulling fs layer 18:24:02 765212b225bb: Pulling fs layer 18:24:02 f23df028b6ca: Pulling fs layer 18:24:02 d65c8cfc05b1: Pulling fs layer 18:24:02 2437ff75d9bd: Pulling fs layer 18:24:02 765212b225bb: Waiting 18:24:02 f23df028b6ca: Waiting 18:24:02 d65c8cfc05b1: Waiting 18:24:02 2437ff75d9bd: Waiting 18:24:03 04944245beec: Verifying Checksum 18:24:03 04944245beec: Download complete 18:24:03 765212b225bb: Download complete 18:24:03 f23df028b6ca: Verifying Checksum 18:24:03 f23df028b6ca: Download complete 18:24:03 d65c8cfc05b1: Verifying Checksum 18:24:03 d65c8cfc05b1: Download complete 18:24:03 699f458cf7ca: Verifying Checksum 18:24:03 699f458cf7ca: Download complete 18:24:03 8998bd30e6a1: Verifying Checksum 18:24:03 8998bd30e6a1: Download complete 18:24:05 2437ff75d9bd: Verifying Checksum 18:24:05 2437ff75d9bd: Download complete 18:24:07 8998bd30e6a1: Pull complete 18:24:07 04944245beec: Pull complete 18:24:08 699f458cf7ca: Pull complete 18:24:09 765212b225bb: Pull complete 18:24:09 f23df028b6ca: Pull complete 18:24:09 d65c8cfc05b1: Pull complete 18:24:24 2437ff75d9bd: Pull complete 18:24:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:24:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:25 prd-ubuntu20.04-docker-arm64-4c-16g-120582 does not seem to be running inside a container 18:24:25 $ 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/24 -v /w/workspace/device-usb-camera/24:/w/workspace/device-usb-camera/24:rw,z -v /w/workspace/device-usb-camera/24@tmp:/w/workspace/device-usb-camera/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:24:27 $ docker top 281991e6bbe8e45c5a0512e13c9c6cdd24eccf9ffd377af9bb3d9782eb7f12ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:28 ---> job-cost.sh 18:24:28 lf-activate-venv: SKIPPING 18:24:28 INFO: No Stack... 18:24:28 INFO: Retrieving Pricing Info for: v3-standard-4 18:24:29 INFO: Archiving Costs [Pipeline] sh 18:24:29 + + cat /w/workspace/device-usb-camera/24/archives/cost.csv 18:24:29 cut -d, -f6 [Pipeline] lock 18:24:29 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-24-stack-cost] 18:24:29 Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-24-stack-cost] did not exist. Created. 18:24:29 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:24:30 /w/workspace/device-usb-camera/24@tmp/durable-cb4ab8a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:24:30 + echo total: 0.10999999940395355 [Pipeline] stash 18:24:30 Warning: overwriting stash ‘stack-cost’ 18:24:30 Stashed 1 file(s) [Pipeline] } 18:24:30 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-24-stack-cost] [Pipeline] // lock [Pipeline] } 18:24:30 $ docker stop --time=1 281991e6bbe8e45c5a0512e13c9c6cdd24eccf9ffd377af9bb3d9782eb7f12ff 18:24:32 $ docker rm -f 281991e6bbe8e45c5a0512e13c9c6cdd24eccf9ffd377af9bb3d9782eb7f12ff [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 18:24:32 provisioning config files... 18:24:32 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config5224719995323361593tmp [Pipeline] { [Pipeline] sh 18:24:33 + set +x 18:24:33 + curl -s https://codecov.io/bash 18:24:33 + bash -s -- 18:24:33 18:24:33 _____ _ 18:24:33 / ____| | | 18:24:33 | | ___ __| | ___ ___ _____ __ 18:24:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:24:33 | |___| (_) | (_| | __/ (_| (_) \ V / 18:24:33 \_____\___/ \__,_|\___|\___\___/ \_/ 18:24:33 Bash-1.0.6 18:24:33 18:24:33 18:24:33 ==> git version 2.25.1 found 18:24:33 ==> 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 18:24:33 Release-Date: 2020-01-08 18:24:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:24:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:24:33 ==> Jenkins CI detected. 18:24:33 current dir:  /w/workspace/foundry_device-usb-camera_PR-115 18:24:33 project root: . 18:24:33 --> token set from env 18:24:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:24:33 ==> Running gcov in . (disable via -X gcov) 18:24:33 ==> Python coveragepy not found 18:24:33 ==> Searching for coverage reports in: 18:24:33 + . 18:24:33 -> Found 1 reports 18:24:33 ==> Detecting git/mercurial file structure 18:24:33 ==> Reading reports 18:24:33 + ./coverage.out bytes=30072 18:24:33 ==> Appending adjustments 18:24:33 https://docs.codecov.io/docs/fixing-reports 18:24:33 + Found adjustments 18:24:33 ==> Gzipping contents 18:24:33 8.0K /tmp/codecov.3lBoQD.gz 18:24:33 ==> Uploading reports 18:24:33 url: https://codecov.io 18:24:33 query: branch=PR-115&commit=78df60aa57321e99753e12842ec204cb4e8a5c52&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= 18:24:33 -> Pinging Codecov 18:24:33 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=78df60aa57321e99753e12842ec204cb4e8a5c52&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= 18:24:33 -> Uploading to 18:24:33 https://storage.googleapis.com/codecov/v4/raw/2022-12-05/73D8F5FF140700D3E01443B452E23636/78df60aa57321e99753e12842ec204cb4e8a5c52/e2a7d87c-084b-45e8-9eb9-53d6c355c721.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221205T182433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d05d5b200c9948819538b8ada894ec99d76fa4a06e36c47394cb98360e4fa1e3 18:24:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:24:33 Dload Upload Total Spent Left Speed 18:24:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4258 0 0 100 4258 0 17595 --:--:-- --:--:-- --:--:-- 17595 18:24:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/78df60aa57321e99753e12842ec204cb4e8a5c52 [Pipeline] } 18:24:33 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 18:24:34 + [ -d /w/workspace/foundry_device-usb-camera_PR-115/archives ] 18:24:34 + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives 18:24:34 total 16 18:24:34 drwxr-xr-x 3 root root 4096 Dec 5 18:17 . 18:24:34 drwxrwxr-x 11 jenkins jenkins 4096 Dec 5 18:17 .. 18:24:34 drwxr-xr-x 2 root root 4096 Dec 5 18:17 cost 18:24:34 -rw-r--r-- 1 root root 90 Dec 5 18:17 cost.csv 18:24:34 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-115/archives 18:24:34 + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives 18:24:34 total 16 18:24:34 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 18:17 . 18:24:34 drwxrwxr-x 11 jenkins jenkins 4096 Dec 5 18:17 .. 18:24:34 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 18:17 cost 18:24:34 -rw-r--r-- 1 jenkins jenkins 90 Dec 5 18:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:24:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:24:35 ---> package-listing.sh 18:24:35 ++ facter osfamily 18:24:35 ++ tr '[:upper:]' '[:lower:]' 18:24:35 + OS_FAMILY=debian 18:24:35 + workspace=/w/workspace/foundry_device-usb-camera_PR-115 18:24:35 + START_PACKAGES=/tmp/packages_start.txt 18:24:35 + END_PACKAGES=/tmp/packages_end.txt 18:24:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:24:35 + PACKAGES=/tmp/packages_start.txt 18:24:35 + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' 18:24:35 + PACKAGES=/tmp/packages_end.txt 18:24:35 + case "${OS_FAMILY}" in 18:24:35 + dpkg -l 18:24:35 + grep '^ii' 18:24:35 + '[' -f /tmp/packages_start.txt ']' 18:24:35 + '[' -f /tmp/packages_end.txt ']' 18:24:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:24:35 + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' 18:24:35 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-115/archives/ 18:24:35 + 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 18:24:35 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 18:24:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:36 prd-ubuntu20.04-docker-8c-8g-120581 does not seem to be running inside a container 18:24:36 $ 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 18:24:37 $ docker top 95539233a381daa8dcf2b0227422e7e12fdde83dd89bb0f6479a7110d69ff409 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:37 + touch /tmp/pre-build-complete [Pipeline] sh 18:24:37 + mkdir -p /var/log/sysstat [Pipeline] sh 18:24:37 + ls /var/log/sa-host 18:24:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:38 provisioning config files... 18:24:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config1914859741345717113tmp [Pipeline] { [Pipeline] echo 18:24:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:24:38 ---> create-netrc.sh [Pipeline] } 18:24:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:24:38 ---> python-tools-install.sh [Pipeline] echo 18:24:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:24:39 ---> sudo-logs.sh 18:24:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:24:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:24:39 ---> job-cost.sh 18:24:39 lf-activate-venv: SKIPPING 18:24:39 DEBUG: total: 0.2199999988079071 18:24:39 INFO: Retrieving Stack Cost... 18:24:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:24:40 INFO: Archiving Costs [Pipeline] echo 18:24:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:24:40 ---> logs-deploy.sh 18:24:40 lf-activate-venv: SKIPPING 18:24:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-115/24 18:24:40 INFO: archiving workspace using pattern(s): 18:24:41 Archives upload complete. 18:24:41 INFO: archiving logs to Nexus 18:24:42 ---> uname -a: 18:24:42 Linux prd-ubuntu20-04-docker-8c-8g-120581 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:24:42 18:24:42 18:24:42 ---> lscpu: 18:24:42 Architecture: x86_64 18:24:42 CPU op-mode(s): 32-bit, 64-bit 18:24:42 Byte Order: Little Endian 18:24:42 Address sizes: 40 bits physical, 48 bits virtual 18:24:42 CPU(s): 8 18:24:42 On-line CPU(s) list: 0-7 18:24:42 Thread(s) per core: 1 18:24:42 Core(s) per socket: 1 18:24:42 Socket(s): 8 18:24:42 NUMA node(s): 1 18:24:42 Vendor ID: AuthenticAMD 18:24:42 CPU family: 23 18:24:42 Model: 49 18:24:42 Model name: AMD EPYC-Rome Processor 18:24:42 Stepping: 0 18:24:42 CPU MHz: 2799.976 18:24:42 BogoMIPS: 5599.95 18:24:42 Virtualization: AMD-V 18:24:42 Hypervisor vendor: KVM 18:24:42 Virtualization type: full 18:24:42 L1d cache: 256 KiB 18:24:42 L1i cache: 256 KiB 18:24:42 L2 cache: 4 MiB 18:24:42 L3 cache: 128 MiB 18:24:42 NUMA node0 CPU(s): 0-7 18:24:42 Vulnerability Itlb multihit: Not affected 18:24:42 Vulnerability L1tf: Not affected 18:24:42 Vulnerability Mds: Not affected 18:24:42 Vulnerability Meltdown: Not affected 18:24:42 Vulnerability Mmio stale data: Not affected 18:24:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:24:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:24:42 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:24:42 Vulnerability Srbds: Not affected 18:24:42 Vulnerability Tsx async abort: Not affected 18:24:42 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 18:24:42 18:24:42 18:24:42 ---> nproc: 18:24:42 8 18:24:42 18:24:42 18:24:42 ---> df -h: 18:24:42 Filesystem Size Used Avail Use% Mounted on 18:24:42 overlay 155G 12G 144G 8% / 18:24:42 tmpfs 64M 0 64M 0% /dev 18:24:42 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:24:42 shm 64M 0 64M 0% /dev/shm 18:24:42 /dev/vda1 155G 12G 144G 8% /facter-os 18:24:42 18:24:42 18:24:42 ---> sar -b -r -n DEV: 18:24:42 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-120581) 12/05/22 _x86_64_ (8 CPU) 18:24:42 18:24:42 18:14:27 LINUX RESTART (8 CPU) 18:24:42 18:24:42 18:15:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:24:42 18:16:01 376.81 21.57 355.24 0.00 7009.72 128289.36 0.00 18:24:42 18:17:01 175.59 0.42 175.17 0.00 11.86 65758.91 0.00 18:24:42 18:18:01 142.21 1.67 140.54 0.00 44.13 65907.82 0.00 18:24:42 18:19:01 3.53 0.00 3.53 0.00 0.00 16275.77 0.00 18:24:42 18:20:01 1.25 0.02 1.23 0.00 2.40 13.46 0.00 18:24:42 18:21:01 1.60 0.00 1.60 0.00 0.00 17.33 0.00 18:24:42 18:22:01 0.93 0.00 0.93 0.00 0.00 10.40 0.00 18:24:42 18:23:01 1.07 0.00 1.07 0.00 0.00 12.53 0.00 18:24:42 18:24:01 1.08 0.00 1.08 0.00 0.00 11.60 0.00 18:24:42 Average: 77.68 2.59 75.09 0.00 773.99 30520.89 0.00 18:24:42 18:24:42 18:15:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:24:42 18:16:01 27405212 31536440 754700 2.30 159688 4122816 1913632 5.64 1445060 3519792 93912 18:24:42 18:17:01 27559560 31501404 784956 2.39 178892 3942932 1982084 5.84 1547748 3283748 45976 18:24:42 18:18:01 26995872 31543816 739660 2.25 187432 4486772 1775164 5.23 1575292 3768280 168 18:24:42 18:19:01 26996264 31544276 739044 2.25 187488 4486776 1775164 5.23 1574996 3768280 232 18:24:42 18:20:01 27001640 31550924 733460 2.23 187504 4486852 1775164 5.23 1566776 3769508 48 18:24:42 18:21:01 27001916 31551204 733168 2.23 187524 4486844 1775164 5.23 1566388 3769508 4 18:24:42 18:22:01 27010956 31560208 724068 2.20 187532 4486856 1759032 5.18 1557920 3769512 156 18:24:42 18:23:01 27011392 31560656 723744 2.20 187560 4486860 1759032 5.18 1558020 3769516 216 18:24:42 18:24:01 27011644 31560956 723460 2.20 187580 4486860 1759032 5.18 1558052 3769516 172 18:24:42 Average: 27110495 31545543 739584 2.25 183467 4385952 1808163 5.33 1550028 3687518 15654 18:24:42 18:24:42 18:15:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:24:42 18:16:01 lo 7.32 7.32 0.70 0.70 0.00 0.00 0.00 0.00 18:24:42 18:16:01 ens3 666.42 442.59 11152.73 93.00 0.00 0.00 0.00 0.00 18:24:42 18:16:01 docker0 166.63 235.30 13.69 2528.75 0.00 0.00 0.00 0.00 18:24:42 18:17:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 18:24:42 18:17:01 ens3 99.60 56.99 632.70 20.29 0.00 0.00 0.00 0.00 18:24:42 18:17:01 veth57605b7 8.68 20.56 0.83 333.48 0.00 0.00 0.00 0.03 18:24:42 18:17:01 docker0 11.06 24.86 0.88 374.27 0.00 0.00 0.00 0.00 18:24:42 18:18:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 18:24:42 18:18:01 ens3 131.74 84.44 2802.21 20.73 0.00 0.00 0.00 0.00 18:24:42 18:18:01 docker0 3.43 11.10 0.24 268.34 0.00 0.00 0.00 0.00 18:24:42 18:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:24:42 18:19:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 18:24:42 18:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:20:01 ens3 0.15 0.10 0.08 0.06 0.00 0.00 0.00 0.00 18:24:42 18:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:24:42 18:21:01 ens3 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 18:24:42 18:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:22:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:24:42 18:23:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 18:24:42 18:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:24:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 18:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:24:42 Average: lo 1.22 1.22 0.11 0.11 0.00 0.00 0.00 0.00 18:24:42 Average: ens3 98.78 64.25 1603.44 14.76 0.00 0.00 0.00 0.00 18:24:42 Average: docker0 19.86 29.77 1.62 348.40 0.00 0.00 0.00 0.00 18:24:42 18:24:42 18:24:42 ---> sar -P ALL: 18:24:42 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-120581) 12/05/22 _x86_64_ (8 CPU) 18:24:42 18:24:42 18:14:27 LINUX RESTART (8 CPU) 18:24:42 18:24:42 18:15:02 CPU %user %nice %system %iowait %steal %idle 18:24:42 18:16:01 all 12.49 0.00 6.31 3.18 0.07 77.96 18:24:42 18:16:01 0 12.59 0.00 6.75 1.15 0.07 79.45 18:24:42 18:16:01 1 12.60 0.00 5.37 0.52 0.07 81.44 18:24:42 18:16:01 2 14.70 0.00 6.49 4.17 0.05 74.60 18:24:42 18:16:01 3 12.76 0.00 6.12 0.96 0.07 80.08 18:24:42 18:16:01 4 12.23 0.00 6.73 6.31 0.07 74.65 18:24:42 18:16:01 5 11.54 0.00 5.07 0.60 0.05 82.74 18:24:42 18:16:01 6 10.14 0.00 6.07 2.29 0.05 81.45 18:24:42 18:16:01 7 13.34 0.00 7.85 9.47 0.12 69.22 18:24:42 18:17:01 all 39.82 0.00 7.63 1.13 0.10 51.32 18:24:42 18:17:01 0 39.32 0.00 7.80 0.59 0.08 52.20 18:24:42 18:17:01 1 40.13 0.00 7.82 2.28 0.12 49.65 18:24:42 18:17:01 2 40.64 0.00 7.46 0.30 0.10 51.50 18:24:42 18:17:01 3 40.37 0.00 7.34 0.27 0.10 51.92 18:24:42 18:17:01 4 38.21 0.00 8.11 1.03 0.08 52.56 18:24:42 18:17:01 5 38.86 0.00 7.84 0.79 0.10 52.40 18:24:42 18:17:01 6 39.44 0.00 7.24 2.08 0.08 51.16 18:24:42 18:17:01 7 41.58 0.00 7.45 1.69 0.08 49.20 18:24:42 18:18:01 all 3.87 0.00 1.94 0.86 0.02 93.31 18:24:42 18:18:01 0 3.54 0.00 1.69 0.62 0.03 94.11 18:24:42 18:18:01 1 3.85 0.00 2.39 0.92 0.03 92.80 18:24:42 18:18:01 2 4.32 0.00 1.82 0.37 0.02 93.47 18:24:42 18:18:01 3 3.15 0.00 2.08 0.08 0.02 94.66 18:24:42 18:18:01 4 3.77 0.00 1.73 0.22 0.02 94.27 18:24:42 18:18:01 5 3.15 0.00 1.73 2.11 0.02 92.99 18:24:42 18:18:01 6 4.86 0.00 1.98 0.33 0.02 92.82 18:24:42 18:18:01 7 4.29 0.00 2.07 2.22 0.03 91.38 18:24:42 18:19:01 all 0.03 0.00 0.01 0.01 0.01 99.95 18:24:42 18:19:01 0 0.03 0.00 0.02 0.00 0.00 99.95 18:24:42 18:19:01 1 0.02 0.00 0.02 0.00 0.00 99.97 18:24:42 18:19:01 2 0.03 0.00 0.02 0.03 0.02 99.90 18:24:42 18:19:01 3 0.02 0.00 0.02 0.00 0.00 99.97 18:24:42 18:19:01 4 0.00 0.00 0.02 0.00 0.02 99.97 18:24:42 18:19:01 5 0.02 0.00 0.02 0.00 0.00 99.97 18:24:42 18:19:01 6 0.07 0.00 0.02 0.00 0.02 99.90 18:24:42 18:19:01 7 0.02 0.00 0.00 0.03 0.00 99.95 18:24:42 18:20:01 all 0.03 0.00 0.01 0.01 0.01 99.94 18:24:42 18:20:01 0 0.03 0.00 0.02 0.02 0.02 99.92 18:24:42 18:20:01 1 0.00 0.00 0.03 0.00 0.00 99.97 18:24:42 18:20:01 2 0.05 0.00 0.02 0.02 0.03 99.88 18:24:42 18:20:01 3 0.03 0.00 0.00 0.00 0.00 99.97 18:24:42 18:20:01 4 0.02 0.00 0.00 0.00 0.00 99.98 18:24:42 18:20:01 5 0.02 0.00 0.03 0.00 0.00 99.95 18:24:42 18:20:01 6 0.05 0.00 0.00 0.00 0.00 99.95 18:24:42 18:20:01 7 0.03 0.00 0.02 0.02 0.00 99.93 18:24:42 18:21:01 all 0.01 0.00 0.01 0.00 0.01 99.96 18:24:42 18:21:01 0 0.00 0.00 0.02 0.00 0.00 99.98 18:24:42 18:21:01 1 0.03 0.00 0.02 0.00 0.02 99.93 18:24:42 18:21:01 2 0.05 0.00 0.02 0.00 0.00 99.93 18:24:42 18:21:01 3 0.00 0.00 0.02 0.00 0.00 99.98 18:24:42 18:21:01 4 0.00 0.00 0.02 0.00 0.00 99.98 18:24:42 18:21:01 5 0.00 0.00 0.00 0.00 0.00 100.00 18:24:42 18:21:01 6 0.03 0.00 0.03 0.00 0.02 99.92 18:24:42 18:21:01 7 0.00 0.00 0.00 0.02 0.02 99.97 18:24:42 18:22:01 all 0.02 0.00 0.01 0.00 0.00 99.96 18:24:42 18:22:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:24:42 18:22:01 1 0.00 0.00 0.02 0.00 0.00 99.98 18:24:42 18:22:01 2 0.00 0.00 0.02 0.02 0.02 99.95 18:24:42 18:22:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:24:42 18:22:01 4 0.02 0.00 0.00 0.00 0.00 99.98 18:24:42 18:22:01 5 0.03 0.00 0.03 0.00 0.00 99.93 18:24:42 18:22:01 6 0.02 0.00 0.03 0.00 0.02 99.93 18:24:42 18:22:01 7 0.05 0.00 0.00 0.00 0.00 99.95 18:24:42 18:23:01 all 0.02 0.00 0.01 0.00 0.01 99.96 18:24:42 18:23:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:24:42 18:23:01 1 0.00 0.00 0.02 0.00 0.00 99.98 18:24:42 18:23:01 2 0.07 0.00 0.00 0.02 0.02 99.90 18:24:42 18:23:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:24:42 18:23:01 4 0.00 0.00 0.00 0.00 0.00 100.00 18:24:42 18:23:01 5 0.02 0.00 0.02 0.00 0.02 99.95 18:24:42 18:23:01 6 0.05 0.00 0.02 0.00 0.02 99.92 18:24:42 18:23:01 7 0.00 0.00 0.00 0.02 0.00 99.98 18:24:42 18:24:01 all 0.02 0.00 0.01 0.00 0.01 99.96 18:24:42 18:24:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:24:42 18:24:01 1 0.02 0.00 0.02 0.00 0.02 99.95 18:24:42 18:24:01 2 0.02 0.00 0.02 0.02 0.00 99.95 18:24:42 18:24:01 3 0.00 0.00 0.00 0.00 0.02 99.98 18:24:42 18:24:01 4 0.00 0.00 0.00 0.00 0.00 100.00 18:24:42 18:24:01 5 0.02 0.00 0.02 0.00 0.00 99.97 18:24:42 18:24:01 6 0.07 0.00 0.03 0.00 0.02 99.88 18:24:42 18:24:01 7 0.02 0.00 0.00 0.02 0.00 99.97 18:24:42 Average: all 6.19 0.00 1.75 0.57 0.02 91.47 18:24:42 Average: 0 6.11 0.00 1.79 0.26 0.02 91.82 18:24:42 Average: 1 6.21 0.00 1.72 0.41 0.03 91.63 18:24:42 Average: 2 6.59 0.00 1.74 0.54 0.03 91.10 18:24:42 Average: 3 6.19 0.00 1.71 0.14 0.02 91.93 18:24:42 Average: 4 5.95 0.00 1.81 0.82 0.02 91.40 18:24:42 Average: 5 5.89 0.00 1.62 0.39 0.02 92.08 18:24:42 Average: 6 6.01 0.00 1.69 0.51 0.03 91.76 18:24:42 Average: 7 6.52 0.00 1.90 1.47 0.03 90.08 18:24:42 18:24:42 18:24:42