Pull request #192 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 levski at e8fb29a406733d8a67a84efb83b3b606e8871d28 rather than 1d4b2b829d8ae9ea20aa014b9d15ff55c577a0af Obtained Jenkinsfile from e8fb29a406733d8a67a84efb83b3b606e8871d28 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-ssh11319874189028105178.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh212818030534593154.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-192/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-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13444808262277446021.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh2414079253984838389.key > 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-192/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-192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10738548149440981252.key > 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, goVersion:1.18] ========================================================= [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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5014 in /w/workspace/foundry_device-usb-camera_PR-192 [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-192 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 Merging remotes/origin/levski commit e8fb29a406733d8a67a84efb83b3b606e8871d28 into PR head commit 1d4b2b829d8ae9ea20aa014b9d15ff55c577a0af Merge succeeded, producing f3f7cdc5112151c643f4e518b249f97a1f4d4d2a Checking out Revision f3f7cdc5112151c643f4e518b249f97a1f4d4d2a (PR-192) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d4b2b829d8ae9ea20aa014b9d15ff55c577a0af # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e8fb29a406733d8a67a84efb83b3b606e8871d28 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3f7cdc5112151c643f4e518b249f97a1f4d4d2a # timeout=10 Commit message: "Merge commit 'e8fb29a406733d8a67a84efb83b3b606e8871d28' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:49:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:49:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:49:47 ========================================================= 00:49:47 EdgeX Global Pipelines Version Info 00:49:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9dab81cc734060b605ea70e4e05f3dd6114ceba9 # timeout=10 00:49:48 ------------------- 00:49:48 stable info: 00:49:48 ------------------- 00:49:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:49:48 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:49:48 Message: update stable to v1.0.245 00:49:48 ------------------- 00:49:48 experimental info: 00:49:48 ------------------- 00:49:48 Commited By: **** collab-it+edgex@linuxfoundation.org 00:49:48 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 00:49:48 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-192 [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-192 [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-192 [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3f7cdc5112151c643f4e518b249f97a1f4d4d2a [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3f7cdc [Pipeline] echo 00:49:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:49 provisioning config files... 00:49:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-192@tmp/config8129715190042768592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:49 ---> docker-login.sh 00:49:49 nexus3.edgexfoundry.org:10001 00:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:50 Configure a credential helper to remove this warning. See 00:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:50 00:49:50 Login Succeeded 00:49:50 nexus3.edgexfoundry.org:10002 00:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:50 Configure a credential helper to remove this warning. See 00:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:50 00:49:50 Login Succeeded 00:49:50 nexus3.edgexfoundry.org:10003 00:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:50 Configure a credential helper to remove this warning. See 00:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:50 00:49:50 Login Succeeded 00:49:50 nexus3.edgexfoundry.org:10004 00:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:50 Configure a credential helper to remove this warning. See 00:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:50 00:49:50 Login Succeeded 00:49:50 docker.io 00:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:50 Configure a credential helper to remove this warning. See 00:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:50 00:49:50 Login Succeeded 00:49:50 ---> docker-login.sh ends [Pipeline] } 00:49:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:49:51 + git rev-list -1 --merges f3f7cdc5112151c643f4e518b249f97a1f4d4d2a~1..f3f7cdc5112151c643f4e518b249f97a1f4d4d2a [Pipeline] echo 00:49:51 -----------> git rev-list -1 --merges f3f7cdc5112151c643f4e518b249f97a1f4d4d2a~1..f3f7cdc5112151c643f4e518b249f97a1f4d4d2a f3f7cdc5112151c643f4e518b249f97a1f4d4d2a 00:49:51 f3f7cdc5112151c643f4e518b249f97a1f4d4d2a [false] [Pipeline] sh 00:49:51 + git log --format=format:%s -1 f3f7cdc5112151c643f4e518b249f97a1f4d4d2a [Pipeline] echo 00:49:51 ========================================================= 00:49:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:49:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:49:51 + git log --format=format:%s -1 f3f7cdc5112151c643f4e518b249f97a1f4d4d2a [Pipeline] echo 00:49:51 [semverPrep] GIT_COMMIT: f3f7cdc5112151c643f4e518b249f97a1f4d4d2a, Commit Message: Merge commit 'e8fb29a406733d8a67a84efb83b3b606e8871d28' into HEAD [Pipeline] echo 00:49:51 [semverPrep] This is not a build commit. [Pipeline] sh 00:49:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:49:52 + grep -v github /etc/ssh/ssh_known_hosts 00:49:52 + [ -e /tmp/ssh_known_hosts ] 00:49:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:49:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:49:52 + sudo tee -a /etc/ssh/ssh_known_hosts 00:49:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:52 00:49:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:52 0.1.4: Pulling from edgex-devops/py-git-semver 00:49:52 b85a868b505f: Pulling fs layer 00:49:52 e2be974225ed: Pulling fs layer 00:49:52 339a4e72a1f5: Pulling fs layer 00:49:52 988bab9f4d93: Pulling fs layer 00:49:52 1469e6f7b9e6: Pulling fs layer 00:49:52 eaf3925da568: Pulling fs layer 00:49:52 bab4dde63d76: Pulling fs layer 00:49:52 bde34c3a00c8: Pulling fs layer 00:49:52 b352a97aabf1: Pulling fs layer 00:49:52 4872d77fe225: Pulling fs layer 00:49:52 5851b861e8e6: Pulling fs layer 00:49:52 bde34c3a00c8: Waiting 00:49:52 4872d77fe225: Waiting 00:49:52 5851b861e8e6: Waiting 00:49:52 988bab9f4d93: Waiting 00:49:52 eaf3925da568: Waiting 00:49:52 bab4dde63d76: Waiting 00:49:52 b352a97aabf1: Waiting 00:49:52 1469e6f7b9e6: Waiting 00:49:52 e2be974225ed: Verifying Checksum 00:49:52 e2be974225ed: Download complete 00:49:52 988bab9f4d93: Download complete 00:49:53 1469e6f7b9e6: Verifying Checksum 00:49:53 1469e6f7b9e6: Download complete 00:49:53 eaf3925da568: Verifying Checksum 00:49:53 eaf3925da568: Download complete 00:49:53 339a4e72a1f5: Verifying Checksum 00:49:53 339a4e72a1f5: Download complete 00:49:53 bde34c3a00c8: Download complete 00:49:53 b352a97aabf1: Verifying Checksum 00:49:53 b352a97aabf1: Download complete 00:49:53 4872d77fe225: Verifying Checksum 00:49:53 4872d77fe225: Download complete 00:49:53 5851b861e8e6: Verifying Checksum 00:49:53 5851b861e8e6: Download complete 00:49:53 b85a868b505f: Verifying Checksum 00:49:53 b85a868b505f: Download complete 00:49:53 bab4dde63d76: Verifying Checksum 00:49:53 bab4dde63d76: Download complete 00:49:54 b85a868b505f: Pull complete 00:49:54 e2be974225ed: Pull complete 00:49:55 339a4e72a1f5: Pull complete 00:49:55 988bab9f4d93: Pull complete 00:49:55 1469e6f7b9e6: Pull complete 00:49:55 eaf3925da568: Pull complete 00:49:57 bab4dde63d76: Pull complete 00:49:57 bde34c3a00c8: Pull complete 00:49:57 b352a97aabf1: Pull complete 00:49:57 4872d77fe225: Pull complete 00:49:57 5851b861e8e6: Pull complete 00:49:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:49:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:57 prd-ubuntu20.04-docker-8c-8g-5014 does not seem to be running inside a container 00:49:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:50:00 $ docker top 1736e15b790111f0ebd161d75d577c165af6120212a6471a4bad834a745a4e5f -eo pid,comm 00:50:00 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). 00:50:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:00 [ssh-agent] Looking for ssh-agent implementation... 00:50:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:00 $ docker exec 1736e15b790111f0ebd161d75d577c165af6120212a6471a4bad834a745a4e5f ssh-agent 00:50:00 SSH_AUTH_SOCK=/tmp/ssh-8b20EwKfFV97/agent.32 00:50:00 SSH_AGENT_PID=39 00:50:00 Running ssh-add (command line suppressed) 00:50:00 Identity added: /w/workspace/foundry_device-usb-camera_PR-192@tmp/private_key_2396207226317133218.key (/w/workspace/foundry_device-usb-camera_PR-192@tmp/private_key_2396207226317133218.key) 00:50:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:01 + git tag --points-at HEAD [Pipeline] } 00:50:01 $ docker exec --env ******** --env ******** 1736e15b790111f0ebd161d75d577c165af6120212a6471a4bad834a745a4e5f ssh-agent -k 00:50:01 unset SSH_AUTH_SOCK; 00:50:01 unset SSH_AGENT_PID; 00:50:01 echo Agent pid 39 killed; 00:50:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:50:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:01 [ssh-agent] Looking for ssh-agent implementation... 00:50:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:01 $ docker exec 1736e15b790111f0ebd161d75d577c165af6120212a6471a4bad834a745a4e5f ssh-agent 00:50:01 SSH_AUTH_SOCK=/tmp/ssh-42q0L2FtMV7y/agent.71 00:50:01 SSH_AGENT_PID=77 00:50:01 Running ssh-add (command line suppressed) 00:50:01 Identity added: /w/workspace/foundry_device-usb-camera_PR-192@tmp/private_key_2416566107042969001.key (/w/workspace/foundry_device-usb-camera_PR-192@tmp/private_key_2416566107042969001.key) 00:50:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:02 + git semver init 00:50:02 2023-03-22 00:50:02,182 [run_init] DEBUG init version:0.0.0 force:False 00:50:02 2023-03-22 00:50:02,183 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-192/.semver 00:50:02 2023-03-22 00:50:02,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-192/.semver 00:50:02 2023-03-22 00:50:02,183 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-192/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-192, universal_newlines=False, shell=None, istream=None) 00:50:03 2023-03-22 00:50:02,947 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-192/.git/info/exclude 00:50:03 2023-03-22 00:50:02,948 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-192/.semver/PR-192 with force:False 00:50:03 2023-03-22 00:50:02,948 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-192/.semver/PR-192 00:50:03 2023-03-22 00:50:02,952 [execute] INFO git cat-file --batch-check 00:50:03 2023-03-22 00:50:02,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-192/.semver, universal_newlines=False, shell=None, istream=) 00:50:03 2023-03-22 00:50:02,960 [execute] INFO git cat-file --batch 00:50:03 2023-03-22 00:50:02,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-192/.semver, universal_newlines=False, shell=None, istream=) 00:50:03 2023-03-22 00:50:02,965 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-192/.semver/PR-192 00:50:03 0.0.0 [Pipeline] } 00:50:03 $ docker exec --env ******** --env ******** 1736e15b790111f0ebd161d75d577c165af6120212a6471a4bad834a745a4e5f ssh-agent -k 00:50:03 unset SSH_AUTH_SOCK; 00:50:03 unset SSH_AGENT_PID; 00:50:03 echo Agent pid 77 killed; 00:50:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:03 + git semver [Pipeline] } 00:50:03 $ docker stop --time=1 1736e15b790111f0ebd161d75d577c165af6120212a6471a4bad834a745a4e5f 00:50:05 $ docker rm -f --volumes 1736e15b790111f0ebd161d75d577c165af6120212a6471a4bad834a745a4e5f [Pipeline] // withDockerContainer [Pipeline] sh 00:50:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:50:05 Stashed 1 file(s) [Pipeline] echo 00:50:05 [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 00:50:05 provisioning config files... 00:50:05 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-192@tmp/config12693592757974659877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:06 ---> docker-login.sh 00:50:06 nexus3.edgexfoundry.org:10001 00:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:06 Configure a credential helper to remove this warning. See 00:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:06 00:50:06 Login Succeeded 00:50:06 nexus3.edgexfoundry.org:10002 00:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:06 Configure a credential helper to remove this warning. See 00:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:06 00:50:06 Login Succeeded 00:50:06 nexus3.edgexfoundry.org:10003 00:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:06 Configure a credential helper to remove this warning. See 00:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:06 00:50:06 Login Succeeded 00:50:06 nexus3.edgexfoundry.org:10004 00:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:06 Configure a credential helper to remove this warning. See 00:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:06 00:50:06 Login Succeeded 00:50:06 docker.io 00:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:06 Configure a credential helper to remove this warning. See 00:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:06 00:50:06 Login Succeeded 00:50:06 ---> docker-login.sh ends [Pipeline] } 00:50:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:50:06 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:06 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:06 ========================================================= 00:50:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:50:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:07 + 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 . 00:50:07 Sending build context to Docker daemon 1.922MB 00:50:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:50:07 Step 2/13 : FROM ${BASE} AS builder 00:50:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:50:07 213ec9aee27d: Pulling fs layer 00:50:07 4583459ba037: Pulling fs layer 00:50:07 93c1e223e6f2: Pulling fs layer 00:50:07 53926ce57604: Pulling fs layer 00:50:07 21b2b0c7a3f4: Pulling fs layer 00:50:07 22ff95d597cd: Pulling fs layer 00:50:07 12d6caf4c0d1: Pulling fs layer 00:50:07 96b7cbca73a9: Pulling fs layer 00:50:07 a7acece74701: Pulling fs layer 00:50:07 53926ce57604: Waiting 00:50:07 96b7cbca73a9: Waiting 00:50:07 a7acece74701: Waiting 00:50:07 22ff95d597cd: Waiting 00:50:07 12d6caf4c0d1: Waiting 00:50:07 93c1e223e6f2: Verifying Checksum 00:50:07 93c1e223e6f2: Download complete 00:50:07 4583459ba037: Verifying Checksum 00:50:07 4583459ba037: Download complete 00:50:07 21b2b0c7a3f4: Verifying Checksum 00:50:07 21b2b0c7a3f4: Download complete 00:50:07 22ff95d597cd: Download complete 00:50:07 213ec9aee27d: Download complete 00:50:07 12d6caf4c0d1: Verifying Checksum 00:50:07 12d6caf4c0d1: Download complete 00:50:07 213ec9aee27d: Pull complete 00:50:07 4583459ba037: Pull complete 00:50:07 93c1e223e6f2: Pull complete 00:50:07 a7acece74701: Verifying Checksum 00:50:07 a7acece74701: Download complete 00:50:08 53926ce57604: Verifying Checksum 00:50:08 53926ce57604: Download complete 00:50:08 96b7cbca73a9: Verifying Checksum 00:50:08 96b7cbca73a9: Download complete 00:50:12 53926ce57604: Pull complete 00:50:12 21b2b0c7a3f4: Pull complete 00:50:12 22ff95d597cd: Pull complete 00:50:12 12d6caf4c0d1: Pull complete 00:50:13 96b7cbca73a9: Pull complete 00:50:14 a7acece74701: Pull complete 00:50:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:50:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:50:14 ---> db6d94c90886 00:50:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:50:18 ---> Running in 53443ef76bf4 00:50:18 Removing intermediate container 53443ef76bf4 00:50:18 ---> ffcd1d932a0c 00:50:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:50:18 ---> Running in 91ff74724c7f 00:50:18 Removing intermediate container 91ff74724c7f 00:50:18 ---> f475ec7620df 00:50:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:50:18 ---> Running in fc854676adbd 00:50:18 Removing intermediate container fc854676adbd 00:50:18 ---> 8e9ef12fadab 00:50:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:50:18 ---> Running in 283fb42fc824 00:50:18 Removing intermediate container 283fb42fc824 00:50:18 ---> 52175119eee9 00:50:18 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:18 ---> Running in cae27053ed7e 00:50:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:50:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:50:19 (1/80) Installing mesa (21.3.9-r0) 00:50:19 (2/80) Installing libxau (1.0.9-r0) 00:50:19 (3/80) Installing libxdmcp (1.1.3-r0) 00:50:19 (4/80) Installing libxcb (1.15-r0) 00:50:19 (5/80) Installing libx11 (1.8-r0) 00:50:19 (6/80) Installing libxext (1.3.4-r0) 00:50:19 (7/80) Installing libxfixes (6.0.0-r0) 00:50:19 (8/80) Installing libxxf86vm (1.1.4-r2) 00:50:19 (9/80) Installing libpciaccess (0.16-r0) 00:50:19 (10/80) Installing libdrm (2.4.110-r0) 00:50:19 (11/80) Installing mesa-glapi (21.3.9-r0) 00:50:19 (12/80) Installing libxshmfence (1.3-r1) 00:50:19 (13/80) Installing mesa-gl (21.3.9-r0) 00:50:19 (14/80) Installing icu-data-full (71.1-r2) 00:50:19 (15/80) Installing libice (1.0.10-r0) 00:50:19 (16/80) Installing libuuid (2.38-r1) 00:50:19 (17/80) Installing libsm (1.2.3-r0) 00:50:19 (18/80) Installing libxt (1.2.1-r0) 00:50:19 (19/80) Installing libxmu (1.1.3-r0) 00:50:19 (20/80) Installing xset (1.2.4-r0) 00:50:19 (21/80) Installing xprop (1.2.5-r0) 00:50:19 (22/80) Installing xdg-utils (1.1.3-r3) 00:50:19 (23/80) Installing dbus-libs (1.14.4-r0) 00:50:19 (24/80) Installing libffi (3.4.2-r1) 00:50:20 (25/80) Installing libintl (0.21-r2) 00:50:20 (26/80) Installing libblkid (2.38-r1) 00:50:20 (27/80) Installing libmount (2.38-r1) 00:50:20 (28/80) Installing pcre (8.45-r2) 00:50:20 (29/80) Installing glib (2.72.1-r0) 00:50:20 (30/80) Installing icu-libs (71.1-r2) 00:50:20 (31/80) Installing libpcre2-16 (10.40-r0) 00:50:20 (32/80) Installing zstd-libs (1.5.2-r1) 00:50:20 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 00:50:20 (34/80) Installing hicolor-icon-theme (0.17-r1) 00:50:20 (35/80) Installing wayland-libs-server (1.20.0-r0) 00:50:20 (36/80) Installing mesa-gbm (21.3.9-r0) 00:50:20 (37/80) Installing wayland-libs-client (1.20.0-r0) 00:50:20 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 00:50:20 (39/80) Installing libxcomposite (0.4.5-r0) 00:50:20 (40/80) Installing libbz2 (1.0.8-r1) 00:50:20 (41/80) Installing libpng (1.6.37-r1) 00:50:20 (42/80) Installing freetype (2.12.1-r0) 00:50:20 (43/80) Installing fontconfig (2.14.0-r0) 00:50:20 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 00:50:20 (45/80) Installing wayland-libs-egl (1.20.0-r0) 00:50:20 (46/80) Installing xkeyboard-config (2.35.1-r0) 00:50:20 (47/80) Installing xz-libs (5.2.5-r1) 00:50:20 (48/80) Installing libxml2 (2.9.14-r2) 00:50:20 (49/80) Installing libxkbcommon (1.4.1-r0) 00:50:20 Still waiting to schedule task 00:50:20 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:50:20 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 00:50:20 (51/80) Installing mesa-egl (21.3.9-r0) 00:50:20 (52/80) Installing avahi-libs (0.8-r6) 00:50:20 (53/80) Installing nettle (3.7.3-r0) 00:50:20 (54/80) Installing p11-kit (0.24.1-r0) 00:50:20 (55/80) Installing libtasn1 (4.18.0-r1) 00:50:20 (56/80) Installing libunistring (1.0-r0) 00:50:20 (57/80) Installing gnutls (3.7.7-r1) 00:50:20 (58/80) Installing cups-libs (2.4.2-r0) 00:50:20 (59/80) Installing graphite2 (1.3.14-r1) 00:50:20 (60/80) Installing harfbuzz (4.3.0-r0) 00:50:20 (61/80) Installing libevdev (1.12.1-r0) 00:50:20 (62/80) Installing mtdev (1.1.6-r0) 00:50:20 (63/80) Installing eudev-libs (3.2.11-r0) 00:50:21 (64/80) Installing libinput-libs (1.20.1-r0) 00:50:21 (65/80) Installing libjpeg-turbo (2.1.3-r1) 00:50:21 (66/80) Installing xcb-util-wm (0.4.1-r1) 00:50:21 (67/80) Installing xcb-util (0.4.0-r3) 00:50:21 (68/80) Installing xcb-util-image (0.4.0-r1) 00:50:21 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 00:50:21 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 00:50:21 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 00:50:21 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 00:50:21 (73/80) Installing v4l-utils-libs (1.22.1-r1) 00:50:21 (74/80) Installing v4l-utils (1.22.1-r1) 00:50:21 (75/80) Installing udev-init-scripts (35-r0) 00:50:21 Executing udev-init-scripts-35-r0.post-install 00:50:21 (76/80) Installing kmod-libs (29-r2) 00:50:21 (77/80) Installing eudev (3.2.11-r0) 00:50:21 (78/80) Installing eudev-dev (3.2.11-r0) 00:50:21 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 00:50:21 (80/80) Installing v4l-utils-dev (1.22.1-r1) 00:50:21 Executing busybox-1.35.0-r17.trigger 00:50:21 Executing eudev-3.2.11-r0.trigger 00:50:21 OK: 331 MiB in 131 packages 00:50:24 Removing intermediate container cae27053ed7e 00:50:24 ---> 129cab0ee47e 00:50:24 Step 8/13 : WORKDIR /device-usb-camera 00:50:24 ---> Running in a90832e8be54 00:50:24 Removing intermediate container a90832e8be54 00:50:24 ---> b76fbacaa4d8 00:50:24 Step 9/13 : COPY go.mod vendor* ./ 00:50:24 ---> 2b966ec8815f 00:50:24 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:24 ---> Running in c43948c55e93 00:50:56 Removing intermediate container c43948c55e93 00:50:56 ---> d25ac8ff291f 00:50:56 Step 11/13 : COPY . . 00:50:56 ---> 7319f6bd5ac6 00:50:56 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:50:56 ---> Running in afe6c06ad034 00:50:56  % Total % Received % Xferd Average Speed Time Time Time Current 00:50:56  Dload Upload Total Spent Left Speed 00:50:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9530 0 --:--:-- --:--:-- --:--:-- 9567 00:50:56 Removing intermediate container afe6c06ad034 00:50:56 ---> db8d77dcc72f 00:50:56 Step 13/13 : RUN ${MAKE} 00:50:56 ---> Running in a379a8e4a6f7 00:50:56 noop 00:50:56 Removing intermediate container a379a8e4a6f7 00:50:56 ---> 03a595f64d67 00:50:56 Successfully built 03a595f64d67 00:50:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:57 + docker inspect -f . ci-base-image-x86_64 00:50:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:57 prd-ubuntu20.04-docker-8c-8g-5014 does not seem to be running inside a container 00:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@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 ******** -e ******** ci-base-image-x86_64 cat 00:50:57 $ docker top 4c544835ae91e236af8960a6a9db86817a34344c41616046ae73668466cf4381 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:58 + go version 00:50:58 go version go1.18.7 linux/amd64 [Pipeline] } 00:50:58 $ docker stop --time=1 4c544835ae91e236af8960a6a9db86817a34344c41616046ae73668466cf4381 00:50:59 $ docker rm -f --volumes 4c544835ae91e236af8960a6a9db86817a34344c41616046ae73668466cf4381 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:00 + docker inspect -f . ci-base-image-x86_64 00:51:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:00 prd-ubuntu20.04-docker-8c-8g-5014 does not seem to be running inside a container 00:51:00 $ 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-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@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 ******** -e ******** ci-base-image-x86_64 cat 00:51:00 $ docker top 9975fe1b760622eab3f62dcd1dbf25c8d8138bc85cd26b62f4b7dfe17669eca3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:01 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-192 [Pipeline] fileExists [Pipeline] sh 00:51:01 + make test 00:51:01 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 00:51:01 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:51:11 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:51:11 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements 00:51:18 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." 00:51:18 CGO_ENABLED=1 go vet ./... 00:51:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:51:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:51:21 ./bin/test-attribution-txt.sh [Pipeline] echo 00:51:21 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:51:21 $ docker stop --time=1 9975fe1b760622eab3f62dcd1dbf25c8d8138bc85cd26b62f4b7dfe17669eca3 00:51:23 $ docker rm -f --volumes 9975fe1b760622eab3f62dcd1dbf25c8d8138bc85cd26b62f4b7dfe17669eca3 [Pipeline] // withDockerContainer [Pipeline] sh 00:51:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:51:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:51:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:51:25 + ls -al . 00:51:25 total 204 00:51:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 00:51 . 00:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:49 .. 00:51:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 00:51 .git 00:51:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 00:49 .github 00:51:25 -rw-rw-r-- 1 jenkins jenkins 414 Mar 22 00:49 .gitignore 00:51:25 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 00:49 .golangci.yml 00:51:25 -rw-rw-r-- 1 jenkins jenkins 77 Mar 22 00:49 .hadolint.yml 00:51:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 00:50 .semver 00:51:25 -rw-rw-r-- 1 jenkins jenkins 9702 Mar 22 00:49 Attribution.txt 00:51:25 -rw-rw-r-- 1 jenkins jenkins 6441 Mar 22 00:49 CHANGELOG.md 00:51:25 -rw-rw-r-- 1 jenkins jenkins 2378 Mar 22 00:49 Dockerfile 00:51:25 -rw-rw-r-- 1 jenkins jenkins 678 Mar 22 00:49 GOVERNANCE.md 00:51:25 -rw-rw-r-- 1 jenkins jenkins 687 Mar 22 00:49 Jenkinsfile 00:51:25 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 00:49 LICENSE 00:51:25 -rw-rw-r-- 1 jenkins jenkins 2554 Mar 22 00:49 Makefile 00:51:25 -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 00:49 OWNERS.md 00:51:25 -rw-rw-r-- 1 jenkins jenkins 5485 Mar 22 00:49 README.md 00:51:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 00:50 VERSION 00:51:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 00:49 bin 00:51:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 00:49 cmd 00:51:25 -rw-r--r-- 1 jenkins jenkins 30666 Mar 22 00:51 coverage.out 00:51:25 -rwxrwxr-x 1 jenkins jenkins 140 Mar 22 00:49 docker-entrypoint.sh 00:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:49 docs 00:51:25 -rw-rw-r-- 1 jenkins jenkins 3573 Mar 22 00:49 go.mod 00:51:25 -rw-rw-r-- 1 jenkins jenkins 45026 Mar 22 00:49 go.sum 00:51:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 00:49 internal 00:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:49 snap 00:51:25 -rw-rw-r-- 1 jenkins jenkins 231 Mar 22 00:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:25 + 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=f3f7cdc5112151c643f4e518b249f97a1f4d4d2a --label arch=amd64 --label version=0.0.0 . 00:51:25 Sending build context to Docker daemon 1.953MB 00:51:25 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 00:51:25 Step 2/35 : FROM ${BASE} AS builder 00:51:25 ---> 03a595f64d67 00:51:25 Step 3/35 : ARG ADD_BUILD_TAGS="" 00:51:25 ---> Running in 273101536f78 00:51:25 Removing intermediate container 273101536f78 00:51:25 ---> e0b75ff6205c 00:51:25 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:51:25 ---> Running in 702cd94b2246 00:51:25 Removing intermediate container 702cd94b2246 00:51:25 ---> 5d4ddff94e95 00:51:25 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:51:25 ---> Running in daba2cef21ba 00:51:25 Removing intermediate container daba2cef21ba 00:51:25 ---> b5024570f390 00:51:25 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:51:25 ---> Running in 8d2986619e4c 00:51:25 Removing intermediate container 8d2986619e4c 00:51:25 ---> 5ad7df85e26a 00:51:25 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:25 ---> Running in ee7cb5ca70dc 00:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:51:26 OK: 331 MiB in 131 packages 00:51:27 Removing intermediate container ee7cb5ca70dc 00:51:27 ---> bf2ad51cf832 00:51:27 Step 8/35 : WORKDIR /device-usb-camera 00:51:27 ---> Running in ffa7a748ec15 00:51:27 Removing intermediate container ffa7a748ec15 00:51:27 ---> 521f4e8e9acc 00:51:27 Step 9/35 : COPY go.mod vendor* ./ 00:51:27 ---> 2615575d73f1 00:51:27 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:27 ---> Running in 532fba1ab981 00:51:27 Removing intermediate container 532fba1ab981 00:51:27 ---> 256ed3f2d1ee 00:51:27 Step 11/35 : COPY . . 00:51:28 ---> 968e691c72d2 00:51:28 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:51:28 ---> Running in a22cbd11ec37 00:51:28  % Total % Received % Xferd Average Speed Time Time Time Current 00:51:28 Dload Upload Total Spent Left Speed 00:51:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062 100  1062   0    0   4891      0 --:--:-- --:--:-- --:--:-- 4894 00:51:29 Removing intermediate container a22cbd11ec37 00:51:29 ---> 6eb592079eaf 00:51:29 Step 13/35 : RUN ${MAKE} 00:51:29 ---> Running in ca824087a7f7 00:51:29 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.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 00:51:56 Removing intermediate container ca824087a7f7 00:51:56 ---> 43b51e326fd3 00:51:56 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:51:56 v0.21.6: Pulling from aler9/rtsp-simple-server 00:51:56 4acc49c71d14: Pulling fs layer 00:51:56 4acc49c71d14: Verifying Checksum 00:51:56 4acc49c71d14: Download complete 00:51:56 4acc49c71d14: Pull complete 00:51:56 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:51:56 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:51:56 ---> 01a2bd3e5fff 00:51:56 Step 15/35 : FROM alpine:3.16 00:51:56 3.16: Pulling from library/alpine 00:51:56 ef5531b6e74e: Pulling fs layer 00:51:56 ef5531b6e74e: Download complete 00:51:56 ef5531b6e74e: Pull complete 00:51:56 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 00:51:56 Status: Downloaded newer image for alpine:3.16 00:51:56 ---> dfd21b5a31f5 00:51:56 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:51:56 ---> Running in 6897c3bbb2a7 00:51:56 Removing intermediate container 6897c3bbb2a7 00:51:56 ---> 9d42edf59f30 00:51:56 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 00:51:56 ---> Running in 2aef309497b7 00:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:51:56 (1/83) Installing dumb-init (1.2.5-r1) 00:51:56 (2/83) Installing sdl2 (2.0.22-r0) 00:51:56 (3/83) Installing libxau (1.0.9-r0) 00:51:56 (4/83) Installing libxdmcp (1.1.3-r0) 00:51:56 (5/83) Installing libxcb (1.15-r0) 00:51:56 (6/83) Installing libx11 (1.8-r0) 00:51:56 (7/83) Installing aom-libs (3.3.0-r0) 00:51:56 (8/83) Installing alsa-lib (1.2.7.2-r0) 00:51:56 (9/83) Installing expat (2.5.0-r0) 00:51:56 (10/83) Installing brotli-libs (1.0.9-r6) 00:51:56 (11/83) Installing libbz2 (1.0.8-r1) 00:51:56 (12/83) Installing libpng (1.6.37-r1) 00:51:56 (13/83) Installing freetype (2.12.1-r0) 00:51:56 (14/83) Installing fontconfig (2.14.0-r0) 00:51:56 (15/83) Installing fribidi (1.0.12-r0) 00:51:56 (16/83) Installing libffi (3.4.2-r1) 00:51:56 (17/83) Installing libintl (0.21-r2) 00:51:56 (18/83) Installing libblkid (2.38-r1) 00:51:56 (19/83) Installing libmount (2.38-r1) 00:51:56 (20/83) Installing pcre (8.45-r2) 00:51:56 (21/83) Installing glib (2.72.1-r0) 00:51:56 (22/83) Installing graphite2 (1.3.14-r1) 00:51:56 (23/83) Installing harfbuzz (4.3.0-r0) 00:51:56 (24/83) Installing libass (0.16.0-r0) 00:51:56 (25/83) Installing libdav1d (1.0.0-r0) 00:51:56 (26/83) Installing libpciaccess (0.16-r0) 00:51:56 (27/83) Installing libdrm (2.4.110-r0) 00:51:57 (28/83) Installing gmp (6.2.1-r2) 00:51:57 (29/83) Installing nettle (3.7.3-r0) 00:51:57 (30/83) Installing p11-kit (0.24.1-r0) 00:51:57 (31/83) Installing libtasn1 (4.18.0-r1) 00:51:57 (32/83) Installing libunistring (1.0-r0) 00:51:57 (33/83) Installing gnutls (3.7.7-r1) 00:51:57 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 00:51:57 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 00:51:57 (36/83) Installing lame (3.100-r0) 00:51:57 (37/83) Installing opus (1.3.1-r1) 00:51:57 (38/83) Installing libasyncns (0.8-r1) 00:51:57 (39/83) Installing dbus-libs (1.14.4-r0) 00:51:57 (40/83) Installing libltdl (2.4.7-r0) 00:51:57 (41/83) Installing orc (0.4.32-r0) 00:51:57 (42/83) Installing libgcc (11.2.1_git20220219-r2) 00:51:57 (43/83) Installing libogg (1.3.5-r1) 00:51:57 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 00:51:57 (45/83) Installing flac (1.3.4-r0) 00:51:57 (46/83) Installing libvorbis (1.3.7-r0) 00:51:57 (47/83) Installing libsndfile (1.1.0-r0) 00:51:57 (48/83) Installing libgomp (11.2.1_git20220219-r2) 00:51:57 (49/83) Installing soxr (0.1.3-r2) 00:51:57 (50/83) Installing speexdsp (1.2.0-r0) 00:51:57 (51/83) Installing tdb-libs (1.4.6-r0) 00:51:57 (52/83) Installing libpulse (15.0-r2) 00:51:57 (53/83) Installing cjson (1.7.15-r3) 00:51:57 (54/83) Installing mbedtls (2.28.2-r0) 00:51:57 (55/83) Installing librist (0.2.6-r1) 00:51:57 (56/83) Installing libsrt (1.4.4-r0) 00:51:57 (57/83) Installing libssh (0.9.6-r1) 00:51:57 (58/83) Installing libtheora (1.1.1-r16) 00:51:57 (59/83) Installing libjpeg-turbo (2.1.3-r1) 00:51:57 (60/83) Installing v4l-utils-libs (1.22.1-r1) 00:51:57 (61/83) Installing libxext (1.3.4-r0) 00:51:57 (62/83) Installing libxfixes (6.0.0-r0) 00:51:57 (63/83) Installing wayland-libs-client (1.20.0-r0) 00:51:57 (64/83) Installing libva (2.14.0-r0) 00:51:57 (65/83) Installing libvdpau (1.5-r0) 00:51:57 (66/83) Installing vidstab (1.1.0-r1) 00:51:57 (67/83) Installing libvpx (1.11.0-r1) 00:51:57 (68/83) Installing libwebp (1.2.3-r0) 00:51:57 (69/83) Installing x264-libs (0.163_git20210613-r0) 00:51:57 (70/83) Installing numactl (2.0.14-r0) 00:51:57 (71/83) Installing x265-libs (3.5-r3) 00:51:57 (72/83) Installing xvidcore (1.3.7-r1) 00:51:57 (73/83) Installing ffmpeg-libs (5.0.1-r1) 00:51:57 (74/83) Installing ffmpeg (5.0.1-r1) 00:51:57 (75/83) Installing udev-init-scripts (35-r0) 00:51:57 Executing udev-init-scripts-35-r0.post-install 00:51:57 (76/83) Installing eudev-libs (3.2.11-r0) 00:51:57 (77/83) Installing xz-libs (5.2.5-r1) 00:51:57 (78/83) Installing zstd-libs (1.5.2-r1) 00:51:57 (79/83) Installing kmod-libs (29-r2) 00:51:57 (80/83) Installing eudev (3.2.11-r0) 00:51:57 (81/83) Installing libsodium (1.0.18-r0) 00:51:57 (82/83) Installing libzmq (4.3.4-r0) 00:51:57 (83/83) Installing zeromq (4.3.4-r0) 00:51:57 Executing busybox-1.35.0-r17.trigger 00:51:57 Executing eudev-3.2.11-r0.trigger 00:51:57 OK: 101 MiB in 97 packages 00:52:03 Removing intermediate container 2aef309497b7 00:52:03 ---> 9fb3c6bb5da8 00:52:03 Step 18/35 : WORKDIR / 00:52:03 ---> Running in a3eedef876a1 00:52:03 Removing intermediate container a3eedef876a1 00:52:03 ---> 01f3a2d700b1 00:52:03 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 00:52:03 ---> 28c54ae3400d 00:52:03 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 00:52:03 ---> ef63d5f8bd55 00:52:03 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:52:03 ---> 224a7f85ada4 00:52:03 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:52:03 ---> 28c23bfa8ca3 00:52:03 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:52:03 ---> f8a90f8fdc7e 00:52:03 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 00:52:03 ---> 6f1d3a4d4130 00:52:03 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 00:52:04 ---> a1cf4fd4295d 00:52:04 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:52:04 ---> Running in 88591a966739 00:52:05 Removing intermediate container 88591a966739 00:52:05 ---> 5d681e23c741 00:52:05 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:52:05 ---> Running in f86386a493d7 00:52:05 Removing intermediate container f86386a493d7 00:52:05 ---> 69ba05392276 00:52:05 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:52:05 ---> Running in 556ba055240b 00:52:06 Removing intermediate container 556ba055240b 00:52:06 ---> 547c77fc456a 00:52:06 Step 29/35 : EXPOSE 59983 00:52:06 ---> Running in 893131ee1282 00:52:06 Removing intermediate container 893131ee1282 00:52:06 ---> 56979468d6ee 00:52:06 Step 30/35 : EXPOSE 8554 00:52:06 ---> Running in b563591beb9b 00:52:06 Removing intermediate container b563591beb9b 00:52:06 ---> e3d3c66e1121 00:52:06 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:52:06 ---> Running in 37bb38d4033e 00:52:06 Removing intermediate container 37bb38d4033e 00:52:06 ---> efcfe59a948e 00:52:06 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 00:52:06 ---> Running in 030f641cd7d0 00:52:06 Removing intermediate container 030f641cd7d0 00:52:06 ---> bccf475fb4a5 00:52:06 Step 33/35 : LABEL arch=amd64 00:52:06 ---> Running in 86452e36d650 00:52:06 Removing intermediate container 86452e36d650 00:52:06 ---> 754ba6187e12 00:52:06 Step 34/35 : LABEL git_sha=f3f7cdc5112151c643f4e518b249f97a1f4d4d2a 00:52:06 ---> Running in a26e52d17bf6 00:52:06 Removing intermediate container a26e52d17bf6 00:52:06 ---> edb06b3ebccb 00:52:06 Step 35/35 : LABEL version=0.0.0 00:52:06 ---> Running in 893b0334ea07 00:52:07 Removing intermediate container 893b0334ea07 00:52:07 ---> ab810a0a5ba2 00:52:07 [Warning] One or more build-args [ARCH] were not consumed 00:52:07 Successfully built ab810a0a5ba2 00:52:07 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 00:52:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:52:07 00:52:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:52:07 latest: Pulling from edgex-lftools-log-publisher 00:52:07 5eb5b503b376: Pulling fs layer 00:52:07 5c69ac0246d0: Pulling fs layer 00:52:07 ec43610c2a17: Pulling fs layer 00:52:07 3a2ae6a8a46f: Pulling fs layer 00:52:07 33b1e0a273af: Pulling fs layer 00:52:07 5d3b04190fa2: Pulling fs layer 00:52:07 2f39f015ded8: Pulling fs layer 00:52:07 3a2ae6a8a46f: Waiting 00:52:07 33b1e0a273af: Waiting 00:52:07 5d3b04190fa2: Waiting 00:52:07 2f39f015ded8: Waiting 00:52:07 5c69ac0246d0: Download complete 00:52:07 3a2ae6a8a46f: Download complete 00:52:08 33b1e0a273af: Verifying Checksum 00:52:08 33b1e0a273af: Download complete 00:52:08 ec43610c2a17: Verifying Checksum 00:52:08 ec43610c2a17: Download complete 00:52:08 5d3b04190fa2: Verifying Checksum 00:52:08 5d3b04190fa2: Download complete 00:52:08 5eb5b503b376: Verifying Checksum 00:52:08 5eb5b503b376: Download complete 00:52:08 2f39f015ded8: Verifying Checksum 00:52:08 2f39f015ded8: Download complete 00:52:09 5eb5b503b376: Pull complete 00:52:09 5c69ac0246d0: Pull complete 00:52:10 ec43610c2a17: Pull complete 00:52:10 3a2ae6a8a46f: Pull complete 00:52:10 33b1e0a273af: Pull complete 00:52:10 5d3b04190fa2: Pull complete 00:52:14 2f39f015ded8: Pull complete 00:52:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:52:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:52:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:14 prd-ubuntu20.04-docker-8c-8g-5014 does not seem to be running inside a container 00:52:14 $ 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-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:52:19 $ docker top f59c0377eed1fe3939d7575095b62562e890dcdffd7c417dff6a4d97ac74b15e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:20 ---> job-cost.sh 00:52:20 lf-activate-venv: SKIPPING 00:52:20 INFO: No Stack... 00:52:20 INFO: Retrieving Pricing Info for: v3-standard-8 00:52:20 INFO: Archiving Costs [Pipeline] sh 00:52:21 + cat /w/workspace/foundry_device-usb-camera_PR-192/archives/cost.csv 00:52:21 + cut -d, -f6 [Pipeline] lock 00:52:21 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-192-3-stack-cost] 00:52:21 Resource [jenkins-edgexfoundry-device-usb-camera-PR-192-3-stack-cost] did not exist. Created. 00:52:21 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-192-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:52:21 + echo total: 0.2199999988079071 [Pipeline] stash 00:52:21 Stashed 1 file(s) [Pipeline] } 00:52:21 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-192-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:52:21 $ docker stop --time=1 f59c0377eed1fe3939d7575095b62562e890dcdffd7c417dff6a4d97ac74b15e 00:52:22 $ docker rm -f --volumes f59c0377eed1fe3939d7575095b62562e890dcdffd7c417dff6a4d97ac74b15e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:53:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5015 in /w/workspace/foundry_device-usb-camera_PR-192 [Pipeline] { [Pipeline] ws 00:53:18 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 00:53:18 Selected Git installation does not exist. Using Default 00:53:18 The recommended git tool is: NONE 00:53:24 using credential edgex-jenkins-ssh 00:53:24 Cloning the remote Git repository 00:53:24 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:53:24 > git init /w/workspace/device-usb-camera/3 # timeout=10 00:53:24 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:53:24 > git --version # timeout=10 00:53:24 > git --version # 'git version 2.25.1' 00:53:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:53:25 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:53:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:53:27 Merging remotes/origin/levski commit e8fb29a406733d8a67a84efb83b3b606e8871d28 into PR head commit 1d4b2b829d8ae9ea20aa014b9d15ff55c577a0af 00:53:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:53:26 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:53:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 00:53:27 > git config core.sparsecheckout # timeout=10 00:53:27 > git checkout -f 1d4b2b829d8ae9ea20aa014b9d15ff55c577a0af # timeout=10 00:53:27 > git remote # timeout=10 00:53:27 > git config --get remote.origin.url # timeout=10 00:53:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:27 > git merge e8fb29a406733d8a67a84efb83b3b606e8871d28 # timeout=10 00:53:27 Merge succeeded, producing d413eb043596543f3b338d53dec42665af508fe1 00:53:27 Checking out Revision d413eb043596543f3b338d53dec42665af508fe1 (PR-192) 00:53:27 > git rev-parse HEAD^{commit} # timeout=10 00:53:27 > git config core.sparsecheckout # timeout=10 00:53:27 > git checkout -f d413eb043596543f3b338d53dec42665af508fe1 # timeout=10 00:53:31 Commit message: "Merge commit 'e8fb29a406733d8a67a84efb83b3b606e8871d28' into HEAD" 00:53:31 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:31 > git rev-list --no-walk 9dab81cc734060b605ea70e4e05f3dd6114ceba9 # timeout=10 00:53:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:53:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:53:32 Dload Upload Total Spent Left Speed 00:53:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 00:53:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:53:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:53:33 + sudo tee /etc/docker/daemon.new 00:53:33 { 00:53:33 "registry-mirrors": [ 00:53:33 "https://nexus3.edgexfoundry.org:10001" 00:53:33 ], 00:53:33 "bip": "10.250.0.254/24", 00:53:33 "hosts": [ 00:53:33 "tcp://0.0.0.0:5555", 00:53:33 "unix:///var/run/docker.sock" 00:53:33 ], 00:53:33 "mtu": 1458, 00:53:33 "selinux-enabled": true, 00:53:33 "seccomp-profile": "/etc/docker/seccomp.json" 00:53:33 } [Pipeline] sh 00:53:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:53:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:52 provisioning config files... 00:53:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config10770453149810070990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:52 ---> docker-login.sh 00:53:52 nexus3.edgexfoundry.org:10001 00:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:53 Configure a credential helper to remove this warning. See 00:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:53 00:53:53 Login Succeeded 00:53:53 nexus3.edgexfoundry.org:10002 00:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:53 Configure a credential helper to remove this warning. See 00:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:53 00:53:53 Login Succeeded 00:53:53 nexus3.edgexfoundry.org:10003 00:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:54 Configure a credential helper to remove this warning. See 00:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:54 00:53:54 Login Succeeded 00:53:54 nexus3.edgexfoundry.org:10004 00:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:54 Configure a credential helper to remove this warning. See 00:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:54 00:53:54 Login Succeeded 00:53:54 docker.io 00:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:54 Configure a credential helper to remove this warning. See 00:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:54 00:53:54 Login Succeeded 00:53:54 ---> docker-login.sh ends [Pipeline] } 00:53:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:53:55 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:55 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:55 ========================================================= 00:53:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:53:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:55 + 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 . 00:53:55 Sending build context to Docker daemon 1.258MB 00:53:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:53:55 Step 2/13 : FROM ${BASE} AS builder 00:53:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:53:56 9b18e9b68314: Pulling fs layer 00:53:56 35d82f9e3411: Pulling fs layer 00:53:56 e16973657156: Pulling fs layer 00:53:56 fc693d55d65f: Pulling fs layer 00:53:56 7e9fc2657dce: Pulling fs layer 00:53:56 dda99020689f: Pulling fs layer 00:53:56 db1c61fa0a46: Pulling fs layer 00:53:56 891c053d2c06: Pulling fs layer 00:53:56 fc693d55d65f: Waiting 00:53:56 7e9fc2657dce: Waiting 00:53:56 dda99020689f: Waiting 00:53:56 db1c61fa0a46: Waiting 00:53:56 891c053d2c06: Waiting 00:53:56 e16973657156: Verifying Checksum 00:53:56 e16973657156: Download complete 00:53:56 35d82f9e3411: Download complete 00:53:56 7e9fc2657dce: Verifying Checksum 00:53:56 7e9fc2657dce: Download complete 00:53:56 dda99020689f: Download complete 00:53:56 9b18e9b68314: Verifying Checksum 00:53:56 9b18e9b68314: Download complete 00:53:57 9b18e9b68314: Pull complete 00:53:57 891c053d2c06: Verifying Checksum 00:53:57 891c053d2c06: Download complete 00:53:57 35d82f9e3411: Pull complete 00:53:58 e16973657156: Pull complete 00:53:58 db1c61fa0a46: Verifying Checksum 00:53:58 db1c61fa0a46: Download complete 00:53:59 fc693d55d65f: Verifying Checksum 00:53:59 fc693d55d65f: Download complete 00:54:11 fc693d55d65f: Pull complete 00:54:11 7e9fc2657dce: Pull complete 00:54:11 dda99020689f: Pull complete 00:54:17 db1c61fa0a46: Pull complete 00:54:19 891c053d2c06: Pull complete 00:54:19 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:54:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:54:19 ---> f96f9c87975a 00:54:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:54:21 ---> Running in 608b7a19570a 00:54:21 Removing intermediate container 608b7a19570a 00:54:21 ---> d8553ccbabf9 00:54:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:54:21 ---> Running in aef7bf273ad2 00:54:21 Removing intermediate container aef7bf273ad2 00:54:21 ---> 0958eb6b7943 00:54:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:54:21 ---> Running in 08f9e5d2ed1d 00:54:21 Removing intermediate container 08f9e5d2ed1d 00:54:21 ---> 1fe850f9a3ff 00:54:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:54:22 ---> Running in 367fcfaf9dc6 00:54:22 Removing intermediate container 367fcfaf9dc6 00:54:22 ---> 90796ae2a408 00:54:22 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:54:22 ---> Running in d6718b0e63a1 00:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:54:25 (1/14) Installing libintl (0.21-r2) 00:54:25 (2/14) Installing eudev-libs (3.2.11-r0) 00:54:25 (3/14) Installing libjpeg-turbo (2.1.3-r1) 00:54:25 (4/14) Installing v4l-utils-libs (1.22.1-r1) 00:54:25 (5/14) Installing v4l-utils (1.22.1-r1) 00:54:25 (6/14) Installing udev-init-scripts (35-r0) 00:54:25 Executing udev-init-scripts-35-r0.post-install 00:54:25 (7/14) Installing libblkid (2.38-r1) 00:54:25 (8/14) Installing xz-libs (5.2.5-r1) 00:54:25 (9/14) Installing zstd-libs (1.5.2-r1) 00:54:25 (10/14) Installing kmod-libs (29-r2) 00:54:25 (11/14) Installing eudev (3.2.11-r0) 00:54:25 (12/14) Installing eudev-dev (3.2.11-r0) 00:54:25 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 00:54:25 (14/14) Installing v4l-utils-dev (1.22.1-r1) 00:54:25 Executing busybox-1.35.0-r17.trigger 00:54:25 Executing eudev-3.2.11-r0.trigger 00:54:25 OK: 228 MiB in 65 packages 00:54:26 Removing intermediate container d6718b0e63a1 00:54:26 ---> 9b90d54c4b1f 00:54:26 Step 8/13 : WORKDIR /device-usb-camera 00:54:26 ---> Running in ef25d55574db 00:54:26 Removing intermediate container ef25d55574db 00:54:26 ---> 7902ca51f889 00:54:26 Step 9/13 : COPY go.mod vendor* ./ 00:54:27 ---> ad41a332034c 00:54:27 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:27 ---> Running in 13076450fc2c 00:55:24 Removing intermediate container 13076450fc2c 00:55:24 ---> e3065ede8f97 00:55:24 Step 11/13 : COPY . . 00:55:24 ---> 847a246da0f7 00:55:24 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:55:24 ---> Running in 991185d599d5 00:55:24  % Total % Received % Xferd Average Speed Time Time Time Current 00:55:24 Dload Upload Total Spent Left Speed 00:55:24 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11939 0 --:--:-- --:--:-- --:--:-- 12068 00:55:24 Removing intermediate container 991185d599d5 00:55:24 ---> 1cdfceda7e9a 00:55:24 Step 13/13 : RUN ${MAKE} 00:55:24 ---> Running in b533b756210e 00:55:24 noop 00:55:24 Removing intermediate container b533b756210e 00:55:24 ---> 26a1e8d9f07d 00:55:24 Successfully built 26a1e8d9f07d 00:55:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:24 + docker inspect -f . ci-base-image-arm64 00:55:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:24 prd-ubuntu20.04-docker-arm64-4c-16g-5015 does not seem to be running inside a container 00:55:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:55:26 $ docker top dfd09934d9f38d3d175957b91b4a7073d1643a96e8fa7b83d3e15098c0d9312b -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:26 + go version 00:55:26 go version go1.18.7 linux/arm64 [Pipeline] } 00:55:26 $ docker stop --time=1 dfd09934d9f38d3d175957b91b4a7073d1643a96e8fa7b83d3e15098c0d9312b 00:55:28 $ docker rm -f --volumes dfd09934d9f38d3d175957b91b4a7073d1643a96e8fa7b83d3e15098c0d9312b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:29 + docker inspect -f . ci-base-image-arm64 00:55:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:29 prd-ubuntu20.04-docker-arm64-4c-16g-5015 does not seem to be running inside a container 00:55:29 $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:55:32 $ docker top 6879e7551c1b0d184e99ed8c90728d495296661ad3e13c79fd2e208b3deffb06 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:33 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 00:55:33 + make test 00:55:33 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 00:55:35 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:57:11 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:57:11 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.079s coverage: 1.9% of statements 00:57:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:57:11 CGO_ENABLED=1 go vet ./... 00:57:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:57:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:57:33 ./bin/test-attribution-txt.sh [Pipeline] echo 00:57:33 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:57:33 $ docker stop --time=1 6879e7551c1b0d184e99ed8c90728d495296661ad3e13c79fd2e208b3deffb06 00:57:35 $ docker rm -f --volumes 6879e7551c1b0d184e99ed8c90728d495296661ad3e13c79fd2e208b3deffb06 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:36 Warning: overwriting stash ‘coverage-report’ 00:57:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:38 + ls -al . 00:57:38 total 200 00:57:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 00:55 . 00:57:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:53 .. 00:57:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 00:53 .git 00:57:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 00:53 .github 00:57:38 -rw-rw-r-- 1 jenkins jenkins 414 Mar 22 00:53 .gitignore 00:57:38 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 00:53 .golangci.yml 00:57:38 -rw-rw-r-- 1 jenkins jenkins 77 Mar 22 00:53 .hadolint.yml 00:57:38 -rw-rw-r-- 1 jenkins jenkins 9702 Mar 22 00:53 Attribution.txt 00:57:38 -rw-rw-r-- 1 jenkins jenkins 6441 Mar 22 00:53 CHANGELOG.md 00:57:38 -rw-rw-r-- 1 jenkins jenkins 2378 Mar 22 00:53 Dockerfile 00:57:38 -rw-rw-r-- 1 jenkins jenkins 678 Mar 22 00:53 GOVERNANCE.md 00:57:38 -rw-rw-r-- 1 jenkins jenkins 687 Mar 22 00:53 Jenkinsfile 00:57:38 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 00:53 LICENSE 00:57:38 -rw-rw-r-- 1 jenkins jenkins 2554 Mar 22 00:53 Makefile 00:57:38 -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 00:53 OWNERS.md 00:57:38 -rw-rw-r-- 1 jenkins jenkins 5485 Mar 22 00:53 README.md 00:57:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 00:50 VERSION 00:57:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 00:53 bin 00:57:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 00:53 cmd 00:57:38 -rw-r--r-- 1 jenkins jenkins 30666 Mar 22 00:57 coverage.out 00:57:38 -rwxrwxr-x 1 jenkins jenkins 140 Mar 22 00:53 docker-entrypoint.sh 00:57:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:53 docs 00:57:38 -rw-rw-r-- 1 jenkins jenkins 3573 Mar 22 00:53 go.mod 00:57:38 -rw-rw-r-- 1 jenkins jenkins 45026 Mar 22 00:53 go.sum 00:57:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 00:53 internal 00:57:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:53 snap 00:57:38 -rw-rw-r-- 1 jenkins jenkins 231 Mar 22 00:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:38 + 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=d413eb043596543f3b338d53dec42665af508fe1 --label arch=arm64 --label version=0.0.0 . 00:57:38 Sending build context to Docker daemon 1.289MB 00:57:38 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 00:57:38 Step 2/35 : FROM ${BASE} AS builder 00:57:38 ---> 26a1e8d9f07d 00:57:38 Step 3/35 : ARG ADD_BUILD_TAGS="" 00:57:39 ---> Running in 8a61e416a304 00:57:39 Removing intermediate container 8a61e416a304 00:57:39 ---> bf9ef55fbba6 00:57:39 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:39 ---> Running in 8770c5ac50ac 00:57:40 Removing intermediate container 8770c5ac50ac 00:57:40 ---> 206f104e3899 00:57:40 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:57:40 ---> Running in e3830f576fa4 00:57:40 Removing intermediate container e3830f576fa4 00:57:40 ---> 05afea6c3810 00:57:40 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:57:40 ---> Running in 9c4329bc5f7b 00:57:41 Removing intermediate container 9c4329bc5f7b 00:57:41 ---> 757fc3d00656 00:57:41 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:41 ---> Running in e486d1d1ef9f 00:57:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:57:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:57:43 OK: 228 MiB in 65 packages 00:57:44 Removing intermediate container e486d1d1ef9f 00:57:44 ---> d380592d19ce 00:57:44 Step 8/35 : WORKDIR /device-usb-camera 00:57:44 ---> Running in e80f50e90680 00:57:45 Removing intermediate container e80f50e90680 00:57:45 ---> e94450073780 00:57:45 Step 9/35 : COPY go.mod vendor* ./ 00:57:45 ---> 90adab230229 00:57:45 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:45 ---> Running in 0f089c72ca83 00:57:49 Removing intermediate container 0f089c72ca83 00:57:49 ---> 4a458a52b085 00:57:49 Step 11/35 : COPY . . 00:57:50 ---> 1c65124f3f3c 00:57:50 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:57:50 ---> Running in 0e824ebdca78 00:57:54  % Total % Received % Xferd Average Speed Time Time Time Current 00:57:54 Dload Upload Total Spent Left Speed 00:57:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6181 0 --:--:-- --:--:-- --:--:-- 6174 00:57:54 Removing intermediate container 0e824ebdca78 00:57:54 ---> 63011bf03045 00:57:54 Step 13/35 : RUN ${MAKE} 00:57:54 ---> Running in 88b4d6616855 00:57:56 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.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 01:00:33 Removing intermediate container 88b4d6616855 01:00:33 ---> 3a2d3dd72628 01:00:33 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 01:00:33 v0.21.6: Pulling from aler9/rtsp-simple-server 01:00:33 8766b47fe142: Pulling fs layer 01:00:33 8766b47fe142: Verifying Checksum 01:00:33 8766b47fe142: Download complete 01:00:33 8766b47fe142: Pull complete 01:00:33 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 01:00:33 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 01:00:33 ---> 69d40e2cb93c 01:00:33 Step 15/35 : FROM alpine:3.16 01:00:33 3.16: Pulling from library/alpine 01:00:33 3760b48202b3: Pulling fs layer 01:00:33 3760b48202b3: Download complete 01:00:33 3760b48202b3: Pull complete 01:00:33 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 01:00:33 Status: Downloaded newer image for alpine:3.16 01:00:33 ---> 4c81e5bf8899 01:00:33 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:00:33 ---> Running in 8a8409bbea4e 01:00:33 Removing intermediate container 8a8409bbea4e 01:00:33 ---> b6becfbee7d3 01:00:33 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 01:00:33 ---> Running in 267bda32e01a 01:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:00:33 (1/82) Installing dumb-init (1.2.5-r1) 01:00:33 (2/82) Installing sdl2 (2.0.22-r0) 01:00:33 (3/82) Installing libxau (1.0.9-r0) 01:00:33 (4/82) Installing libxdmcp (1.1.3-r0) 01:00:33 (5/82) Installing libxcb (1.15-r0) 01:00:33 (6/82) Installing libx11 (1.8-r0) 01:00:33 (7/82) Installing aom-libs (3.3.0-r0) 01:00:33 (8/82) Installing alsa-lib (1.2.7.2-r0) 01:00:33 (9/82) Installing expat (2.5.0-r0) 01:00:33 (10/82) Installing brotli-libs (1.0.9-r6) 01:00:33 (11/82) Installing libbz2 (1.0.8-r1) 01:00:33 (12/82) Installing libpng (1.6.37-r1) 01:00:33 (13/82) Installing freetype (2.12.1-r0) 01:00:33 (14/82) Installing fontconfig (2.14.0-r0) 01:00:33 (15/82) Installing fribidi (1.0.12-r0) 01:00:33 (16/82) Installing libffi (3.4.2-r1) 01:00:33 (17/82) Installing libintl (0.21-r2) 01:00:33 (18/82) Installing libblkid (2.38-r1) 01:00:33 (19/82) Installing libmount (2.38-r1) 01:00:33 (20/82) Installing pcre (8.45-r2) 01:00:33 (21/82) Installing glib (2.72.1-r0) 01:00:33 (22/82) Installing graphite2 (1.3.14-r1) 01:00:33 (23/82) Installing harfbuzz (4.3.0-r0) 01:00:33 (24/82) Installing libass (0.16.0-r0) 01:00:33 (25/82) Installing libdav1d (1.0.0-r0) 01:00:33 (26/82) Installing libdrm (2.4.110-r0) 01:00:33 (27/82) Installing gmp (6.2.1-r2) 01:00:33 (28/82) Installing nettle (3.7.3-r0) 01:00:33 (29/82) Installing p11-kit (0.24.1-r0) 01:00:33 (30/82) Installing libtasn1 (4.18.0-r1) 01:00:33 (31/82) Installing libunistring (1.0-r0) 01:00:33 (32/82) Installing gnutls (3.7.7-r1) 01:00:33 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 01:00:33 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 01:00:33 (35/82) Installing lame (3.100-r0) 01:00:33 (36/82) Installing opus (1.3.1-r1) 01:00:33 (37/82) Installing libasyncns (0.8-r1) 01:00:33 (38/82) Installing dbus-libs (1.14.4-r0) 01:00:33 (39/82) Installing libltdl (2.4.7-r0) 01:00:33 (40/82) Installing orc (0.4.32-r0) 01:00:33 (41/82) Installing libgcc (11.2.1_git20220219-r2) 01:00:33 (42/82) Installing libogg (1.3.5-r1) 01:00:33 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 01:00:33 (44/82) Installing flac (1.3.4-r0) 01:00:33 (45/82) Installing libvorbis (1.3.7-r0) 01:00:33 (46/82) Installing libsndfile (1.1.0-r0) 01:00:33 (47/82) Installing libgomp (11.2.1_git20220219-r2) 01:00:33 (48/82) Installing soxr (0.1.3-r2) 01:00:33 (49/82) Installing speexdsp (1.2.0-r0) 01:00:33 (50/82) Installing tdb-libs (1.4.6-r0) 01:00:33 (51/82) Installing libpulse (15.0-r2) 01:00:33 (52/82) Installing cjson (1.7.15-r3) 01:00:33 (53/82) Installing mbedtls (2.28.2-r0) 01:00:33 (54/82) Installing librist (0.2.6-r1) 01:00:33 (55/82) Installing libsrt (1.4.4-r0) 01:00:33 (56/82) Installing libssh (0.9.6-r1) 01:00:33 (57/82) Installing libtheora (1.1.1-r16) 01:00:33 (58/82) Installing libjpeg-turbo (2.1.3-r1) 01:00:33 (59/82) Installing v4l-utils-libs (1.22.1-r1) 01:00:33 (60/82) Installing libxext (1.3.4-r0) 01:00:33 (61/82) Installing libxfixes (6.0.0-r0) 01:00:33 (62/82) Installing wayland-libs-client (1.20.0-r0) 01:00:33 (63/82) Installing libva (2.14.0-r0) 01:00:33 (64/82) Installing libvdpau (1.5-r0) 01:00:33 (65/82) Installing vidstab (1.1.0-r1) 01:00:33 (66/82) Installing libvpx (1.11.0-r1) 01:00:33 (67/82) Installing libwebp (1.2.3-r0) 01:00:33 (68/82) Installing x264-libs (0.163_git20210613-r0) 01:00:33 (69/82) Installing numactl (2.0.14-r0) 01:00:33 (70/82) Installing x265-libs (3.5-r3) 01:00:33 (71/82) Installing xvidcore (1.3.7-r1) 01:00:33 (72/82) Installing ffmpeg-libs (5.0.1-r1) 01:00:33 (73/82) Installing ffmpeg (5.0.1-r1) 01:00:33 (74/82) Installing udev-init-scripts (35-r0) 01:00:33 Executing udev-init-scripts-35-r0.post-install 01:00:33 (75/82) Installing eudev-libs (3.2.11-r0) 01:00:33 (76/82) Installing xz-libs (5.2.5-r1) 01:00:33 (77/82) Installing zstd-libs (1.5.2-r1) 01:00:33 (78/82) Installing kmod-libs (29-r2) 01:00:33 (79/82) Installing eudev (3.2.11-r0) 01:00:33 (80/82) Installing libsodium (1.0.18-r0) 01:00:33 (81/82) Installing libzmq (4.3.4-r0) 01:00:33 (82/82) Installing zeromq (4.3.4-r0) 01:00:33 Executing busybox-1.35.0-r17.trigger 01:00:33 Executing eudev-3.2.11-r0.trigger 01:00:33 OK: 78 MiB in 96 packages 01:00:35 Removing intermediate container 267bda32e01a 01:00:35 ---> a18e2c48b1bb 01:00:35 Step 18/35 : WORKDIR / 01:00:35 ---> Running in 0d16001dedc1 01:00:35 Removing intermediate container 0d16001dedc1 01:00:35 ---> 007ee8c86710 01:00:35 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 01:00:36 ---> a6798c4b9832 01:00:36 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 01:00:37 ---> f68db41d9eb1 01:00:37 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 01:00:38 ---> 24fa7d9194d2 01:00:38 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 01:00:38 ---> cc26c9f45641 01:00:38 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 01:00:38 ---> 0b81098e5b12 01:00:38 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 01:00:39 ---> 09027eb32bbf 01:00:39 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 01:00:40 ---> 01e1aab1d398 01:00:40 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 01:00:40 ---> Running in f88036891a60 01:00:45 Removing intermediate container f88036891a60 01:00:45 ---> fb1f8ed71d51 01:00:45 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 01:00:45 ---> Running in 6c121180e015 01:00:46 Removing intermediate container 6c121180e015 01:00:46 ---> 68224b1a1916 01:00:46 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 01:00:46 ---> Running in f566a259ff2f 01:00:48 Removing intermediate container f566a259ff2f 01:00:48 ---> b0af8bd3bc34 01:00:48 Step 29/35 : EXPOSE 59983 01:00:48 ---> Running in 4442950ce830 01:00:48 Removing intermediate container 4442950ce830 01:00:48 ---> 7d972591f81c 01:00:48 Step 30/35 : EXPOSE 8554 01:00:48 ---> Running in 59310d0be283 01:00:48 Removing intermediate container 59310d0be283 01:00:48 ---> 0d1ecea158f9 01:00:48 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 01:00:48 ---> Running in b558b95a7dfe 01:00:49 Removing intermediate container b558b95a7dfe 01:00:49 ---> 508af5736487 01:00:49 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 01:00:49 ---> Running in dda175259f3c 01:00:49 Removing intermediate container dda175259f3c 01:00:49 ---> f489aabc8c38 01:00:49 Step 33/35 : LABEL arch=arm64 01:00:49 ---> Running in 2355f247a852 01:00:49 Removing intermediate container 2355f247a852 01:00:49 ---> 2bf28b5d4bc3 01:00:49 Step 34/35 : LABEL git_sha=d413eb043596543f3b338d53dec42665af508fe1 01:00:49 ---> Running in 1fc83846daff 01:00:50 Removing intermediate container 1fc83846daff 01:00:50 ---> fe7dad76d35d 01:00:50 Step 35/35 : LABEL version=0.0.0 01:00:50 ---> Running in 9043e05b4c0f 01:00:50 Removing intermediate container 9043e05b4c0f 01:00:50 ---> b38c0266b619 01:00:50 [Warning] One or more build-args [ARCH] were not consumed 01:00:50 Successfully built b38c0266b619 01:00:50 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 01:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:50 01:00:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:51 arm64: Pulling from edgex-lftools-log-publisher 01:00:51 8998bd30e6a1: Pulling fs layer 01:00:51 04944245beec: Pulling fs layer 01:00:51 699f458cf7ca: Pulling fs layer 01:00:51 765212b225bb: Pulling fs layer 01:00:51 f23df028b6ca: Pulling fs layer 01:00:51 d65c8cfc05b1: Pulling fs layer 01:00:51 2437ff75d9bd: Pulling fs layer 01:00:51 f23df028b6ca: Waiting 01:00:51 d65c8cfc05b1: Waiting 01:00:51 2437ff75d9bd: Waiting 01:00:51 765212b225bb: Waiting 01:00:51 04944245beec: Verifying Checksum 01:00:51 04944245beec: Download complete 01:00:51 765212b225bb: Verifying Checksum 01:00:51 765212b225bb: Download complete 01:00:51 f23df028b6ca: Verifying Checksum 01:00:51 f23df028b6ca: Download complete 01:00:51 d65c8cfc05b1: Verifying Checksum 01:00:51 d65c8cfc05b1: Download complete 01:00:51 699f458cf7ca: Verifying Checksum 01:00:51 699f458cf7ca: Download complete 01:00:52 8998bd30e6a1: Verifying Checksum 01:00:52 8998bd30e6a1: Download complete 01:00:53 2437ff75d9bd: Verifying Checksum 01:00:53 2437ff75d9bd: Download complete 01:00:55 8998bd30e6a1: Pull complete 01:00:55 04944245beec: Pull complete 01:00:57 699f458cf7ca: Pull complete 01:00:57 765212b225bb: Pull complete 01:00:58 f23df028b6ca: Pull complete 01:00:58 d65c8cfc05b1: Pull complete 01:01:10 2437ff75d9bd: Pull complete 01:01:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:01:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:01:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:10 prd-ubuntu20.04-docker-arm64-4c-16g-5015 does not seem to be running inside a container 01:01:11 $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:01:13 $ docker top 4af98046bd1e42203321ee0bd1c3050c3fc0bbfe245aef1c9a5b0e4a15f28d5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:01:14 ---> job-cost.sh 01:01:14 lf-activate-venv: SKIPPING 01:01:14 INFO: No Stack... 01:01:14 INFO: Retrieving Pricing Info for: v3-standard-4 01:01:15 INFO: Archiving Costs [Pipeline] sh 01:01:16 + cat /w/workspace/device-usb-camera/3/archives/cost.csv 01:01:16 + cut -d, -f6 [Pipeline] lock 01:01:16 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-192-3-stack-cost] 01:01:16 Resource [jenkins-edgexfoundry-device-usb-camera-PR-192-3-stack-cost] did not exist. Created. 01:01:16 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-192-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:01:16 /w/workspace/device-usb-camera/3@tmp/durable-9d1aad22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:01:17 + echo total: 0.10999999940395355 [Pipeline] stash 01:01:17 Warning: overwriting stash ‘stack-cost’ 01:01:17 Stashed 1 file(s) [Pipeline] } 01:01:17 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-192-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:01:17 $ docker stop --time=1 4af98046bd1e42203321ee0bd1c3050c3fc0bbfe245aef1c9a5b0e4a15f28d5f 01:01:18 $ docker rm -f --volumes 4af98046bd1e42203321ee0bd1c3050c3fc0bbfe245aef1c9a5b0e4a15f28d5f [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 01:01:19 provisioning config files... 01:01:19 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-192@tmp/config6219442956984166424tmp [Pipeline] { [Pipeline] sh 01:01:19 + set +x 01:01:19 + curl -s https://codecov.io/bash 01:01:19 + bash -s -- 01:01:19 01:01:19 _____ _ 01:01:19 / ____| | | 01:01:19 | | ___ __| | ___ ___ _____ __ 01:01:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:01:19 | |___| (_) | (_| | __/ (_| (_) \ V / 01:01:19 \_____\___/ \__,_|\___|\___\___/ \_/ 01:01:19 Bash-1.0.6 01:01:19 01:01:19 01:01:19 ==> git version 2.25.1 found 01:01:19 ==> 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 01:01:19 Release-Date: 2020-01-08 01:01:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:01:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:01:19 ==> Jenkins CI detected. 01:01:19 current dir:  /w/workspace/foundry_device-usb-camera_PR-192 01:01:19 project root: . 01:01:19 --> token set from env 01:01:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:01:19 ==> Running gcov in . (disable via -X gcov) 01:01:19 ==> Python coveragepy not found 01:01:19 ==> Searching for coverage reports in: 01:01:19 + . 01:01:19 -> Found 1 reports 01:01:19 ==> Detecting git/mercurial file structure 01:01:19 ==> Reading reports 01:01:19 + ./coverage.out bytes=30666 01:01:19 ==> Appending adjustments 01:01:19 https://docs.codecov.io/docs/fixing-reports 01:01:19 + Found adjustments 01:01:19 ==> Gzipping contents 01:01:19 8.0K /tmp/codecov.l2Cnu6.gz 01:01:19 ==> Uploading reports 01:01:19 url: https://codecov.io 01:01:19 query: branch=PR-192&commit=f3f7cdc5112151c643f4e518b249f97a1f4d4d2a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-192%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=192&job=&cmd_args= 01:01:19 -> Pinging Codecov 01:01:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-192&commit=f3f7cdc5112151c643f4e518b249f97a1f4d4d2a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-192%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=192&job=&cmd_args= 01:01:20 -> Uploading to 01:01:20 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/73D8F5FF140700D3E01443B452E23636/f3f7cdc5112151c643f4e518b249f97a1f4d4d2a/c5a53b5c-79af-42ad-92c7-d352d0f27362.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T010119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7042085e0dbd2caed059bf2558f5e7a7d30abc2df8fb92b27ab7d4274586164a 01:01:20 % Total % Received % Xferd Average Speed Time Time Time Current 01:01:20 Dload Upload Total Spent Left Speed 01:01:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4335 0 0 100 4335 0 15937 --:--:-- --:--:-- --:--:-- 15937 01:01:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/f3f7cdc5112151c643f4e518b249f97a1f4d4d2a [Pipeline] } 01:01:20 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 01:01:21 + [ -d /w/workspace/foundry_device-usb-camera_PR-192/archives ] 01:01:21 + ls -al /w/workspace/foundry_device-usb-camera_PR-192/archives 01:01:21 total 16 01:01:21 drwxr-xr-x 3 root root 4096 Mar 22 00:52 . 01:01:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 00:52 .. 01:01:21 drwxr-xr-x 2 root root 4096 Mar 22 00:52 cost 01:01:21 -rw-r--r-- 1 root root 89 Mar 22 00:52 cost.csv 01:01:21 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-192/archives 01:01:21 + ls -al /w/workspace/foundry_device-usb-camera_PR-192/archives 01:01:21 total 16 01:01:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 00:52 . 01:01:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 00:52 .. 01:01:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 00:52 cost 01:01:21 -rw-r--r-- 1 jenkins jenkins 89 Mar 22 00:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:01:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:01:22 ---> package-listing.sh 01:01:22 ++ facter osfamily 01:01:22 ++ tr '[:upper:]' '[:lower:]' 01:01:22 + OS_FAMILY=debian 01:01:22 + workspace=/w/workspace/foundry_device-usb-camera_PR-192 01:01:22 + START_PACKAGES=/tmp/packages_start.txt 01:01:22 + END_PACKAGES=/tmp/packages_end.txt 01:01:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:01:22 + PACKAGES=/tmp/packages_start.txt 01:01:22 + '[' /w/workspace/foundry_device-usb-camera_PR-192 ']' 01:01:22 + PACKAGES=/tmp/packages_end.txt 01:01:22 + case "${OS_FAMILY}" in 01:01:22 + dpkg -l 01:01:22 + grep '^ii' 01:01:22 + '[' -f /tmp/packages_start.txt ']' 01:01:22 + '[' -f /tmp/packages_end.txt ']' 01:01:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:01:22 + '[' /w/workspace/foundry_device-usb-camera_PR-192 ']' 01:01:22 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-192/archives/ 01:01:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-192/archives/ [Pipeline] echo 01:01:22 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-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:01:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:01:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:23 prd-ubuntu20.04-docker-8c-8g-5014 does not seem to be running inside a container 01:01:23 $ 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-192/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-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@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 01:01:23 $ docker top e9b6467f28ff30671a50318ccc2ae11c86c011f8fb425b6ce1fb0a562493ee1a -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:23 + touch /tmp/pre-build-complete [Pipeline] sh 01:01:24 + mkdir -p /var/log/sysstat [Pipeline] sh 01:01:24 + ls /var/log/sa-host 01:01:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:01:24 provisioning config files... 01:01:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-192@tmp/config15009003293739232913tmp [Pipeline] { [Pipeline] echo 01:01:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:01:24 ---> create-netrc.sh [Pipeline] } 01:01:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:01:25 ---> python-tools-install.sh [Pipeline] echo 01:01:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:01:25 ---> sudo-logs.sh 01:01:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:01:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:01:25 ---> job-cost.sh 01:01:25 lf-activate-venv: SKIPPING 01:01:25 DEBUG: total: 0.2199999988079071 01:01:25 INFO: Retrieving Stack Cost... 01:01:26 INFO: Retrieving Pricing Info for: v3-standard-8 01:01:26 INFO: Archiving Costs [Pipeline] echo 01:01:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:01:27 ---> logs-deploy.sh 01:01:27 lf-activate-venv: SKIPPING 01:01:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-192/3 01:01:27 INFO: archiving workspace using pattern(s): 01:01:27 Archives upload complete. 01:01:28 INFO: archiving logs to Nexus 01:01:28 ---> uname -a: 01:01:28 Linux prd-ubuntu20-04-docker-8c-8g-5014 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:01:28 01:01:28 01:01:28 ---> lscpu: 01:01:28 Architecture: x86_64 01:01:28 CPU op-mode(s): 32-bit, 64-bit 01:01:28 Byte Order: Little Endian 01:01:28 Address sizes: 40 bits physical, 48 bits virtual 01:01:28 CPU(s): 8 01:01:28 On-line CPU(s) list: 0-7 01:01:28 Thread(s) per core: 1 01:01:28 Core(s) per socket: 1 01:01:28 Socket(s): 8 01:01:28 NUMA node(s): 1 01:01:28 Vendor ID: AuthenticAMD 01:01:28 CPU family: 23 01:01:28 Model: 49 01:01:28 Model name: AMD EPYC-Rome Processor 01:01:28 Stepping: 0 01:01:28 CPU MHz: 2800.000 01:01:28 BogoMIPS: 5600.00 01:01:28 Virtualization: AMD-V 01:01:28 Hypervisor vendor: KVM 01:01:28 Virtualization type: full 01:01:28 L1d cache: 256 KiB 01:01:28 L1i cache: 256 KiB 01:01:28 L2 cache: 4 MiB 01:01:28 L3 cache: 128 MiB 01:01:28 NUMA node0 CPU(s): 0-7 01:01:28 Vulnerability Itlb multihit: Not affected 01:01:28 Vulnerability L1tf: Not affected 01:01:28 Vulnerability Mds: Not affected 01:01:28 Vulnerability Meltdown: Not affected 01:01:28 Vulnerability Mmio stale data: Not affected 01:01:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:01:28 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:01:28 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:01:28 Vulnerability Srbds: Not affected 01:01:28 Vulnerability Tsx async abort: Not affected 01:01:28 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 01:01:28 01:01:28 01:01:28 ---> nproc: 01:01:28 8 01:01:28 01:01:28 01:01:28 ---> df -h: 01:01:28 Filesystem Size Used Avail Use% Mounted on 01:01:28 overlay 155G 12G 144G 8% / 01:01:28 tmpfs 64M 0 64M 0% /dev 01:01:28 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:01:28 shm 64M 0 64M 0% /dev/shm 01:01:28 /dev/vda1 155G 12G 144G 8% /facter-os 01:01:28 01:01:28 01:01:28 ---> sar -b -r -n DEV: 01:01:28 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5014) 03/22/23 _x86_64_ (8 CPU) 01:01:28 01:01:28 00:49:06 LINUX RESTART (8 CPU) 01:01:28 01:01:28 00:50:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:01:28 00:51:01 186.05 1.08 184.97 0.00 50.92 73567.47 0.00 01:01:28 00:52:01 125.55 0.17 125.38 0.00 3.33 24981.30 0.00 01:01:28 00:53:01 127.10 0.10 127.00 0.00 5.73 24855.06 0.00 01:01:28 00:54:01 1.78 0.00 1.78 0.00 0.00 20.68 0.00 01:01:28 00:55:01 40.94 11.68 29.26 0.00 5425.63 6365.47 0.00 01:01:28 00:56:01 1.67 0.00 1.67 0.00 0.00 19.59 0.00 01:01:28 00:57:01 1.03 0.00 1.03 0.00 0.00 11.86 0.00 01:01:28 00:58:01 1.55 0.00 1.55 0.00 0.00 17.46 0.00 01:01:28 00:59:01 0.93 0.00 0.93 0.00 0.00 9.73 0.00 01:01:28 01:00:01 2.27 0.00 2.27 0.00 0.00 38.53 0.00 01:01:28 01:01:01 0.92 0.00 0.92 0.00 0.00 9.86 0.00 01:01:28 Average: 44.52 1.18 43.34 0.00 498.66 11808.11 0.00 01:01:28 01:01:28 00:50:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:01:28 00:51:01 28409792 31559460 750792 2.28 140812 3218724 1916732 5.65 1090244 2950684 620 01:01:28 00:52:01 27931604 31537004 770684 2.34 145148 3645960 2064396 6.08 1303300 3188512 95344 01:01:28 00:53:01 27513708 31582108 723976 2.20 154564 4051112 1770172 5.22 1240184 3617528 184 01:01:28 00:54:01 27513584 31582164 723556 2.20 154608 4051112 1770172 5.22 1240432 3617532 36 01:01:28 00:55:01 27147636 31567548 724912 2.20 163008 4383624 1831840 5.40 1469928 3726744 4 01:01:28 00:56:01 27148304 31568296 723988 2.20 163056 4383628 1831840 5.40 1469972 3726744 12 01:01:28 00:57:01 27154344 31574384 717852 2.18 163096 4383632 1831840 5.40 1464068 3726748 12 01:01:28 00:58:01 27154320 31574368 717840 2.18 163128 4383636 1831840 5.40 1464028 3726752 8 01:01:28 00:59:01 27154732 31575104 717492 2.18 163148 4383636 1831840 5.40 1464356 3727024 168 01:01:28 01:00:01 27154936 31575368 717272 2.18 163216 4383616 1831840 5.40 1464004 3727020 16 01:01:28 01:01:01 27154676 31575112 717452 2.18 163232 4383616 1831840 5.40 1463912 3727020 8 01:01:28 Average: 27403421 31570083 727801 2.21 157911 4150209 1849487 5.45 1375857 3587483 8765 01:01:28 01:01:28 00:50:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:01:28 00:51:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 01:01:28 00:51:01 ens3 573.55 335.29 6546.87 45.71 0.00 0.00 0.00 0.00 01:01:28 00:51:01 veth29d6a37 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:51:01 docker0 203.17 359.92 15.42 2495.84 0.00 0.00 0.00 0.00 01:01:28 00:52:01 lo 1.93 1.93 0.19 0.19 0.00 0.00 0.00 0.00 01:01:28 00:52:01 ens3 105.58 49.56 934.07 15.27 0.00 0.00 0.00 0.00 01:01:28 00:52:01 docker0 19.76 54.82 1.37 643.85 0.00 0.00 0.00 0.00 01:01:28 00:53:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 01:01:28 00:53:01 ens3 110.85 69.39 2525.81 13.16 0.00 0.00 0.00 0.00 01:01:28 00:53:01 docker0 0.00 0.07 0.00 0.01 0.00 0.00 0.00 0.00 01:01:28 00:54:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:01:28 00:54:01 ens3 0.80 0.55 3.17 0.22 0.00 0.00 0.00 0.00 01:01:28 00:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:55:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 01:01:28 00:55:01 ens3 157.81 81.85 1953.94 5.74 0.00 0.00 0.00 0.00 01:01:28 00:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:56:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:01:28 00:56:01 ens3 0.30 0.20 0.02 0.01 0.00 0.00 0.00 0.00 01:01:28 00:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:57:01 ens3 0.12 0.08 0.01 0.00 0.00 0.00 0.00 0.00 01:01:28 00:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:01:28 00:58:01 ens3 0.07 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:01:28 00:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:59:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 00:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 01:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:01:28 01:00:01 ens3 0.23 0.18 0.08 0.07 0.00 0.00 0.00 0.00 01:01:28 01:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 01:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 01:01:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 01:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:01:28 Average: lo 0.62 0.62 0.06 0.06 0.00 0.00 0.00 0.00 01:01:28 Average: ens3 86.30 48.83 1087.57 7.29 0.00 0.00 0.00 0.00 01:01:28 Average: docker0 20.27 37.71 1.53 285.41 0.00 0.00 0.00 0.00 01:01:28 01:01:28 01:01:28 ---> sar -P ALL: 01:01:28 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5014) 03/22/23 _x86_64_ (8 CPU) 01:01:28 01:01:28 00:49:06 LINUX RESTART (8 CPU) 01:01:28 01:01:28 00:50:01 CPU %user %nice %system %iowait %steal %idle 01:01:28 00:51:01 all 7.80 0.00 3.77 3.38 0.07 84.98 01:01:28 00:51:01 0 7.90 0.00 3.59 5.58 0.07 82.86 01:01:28 00:51:01 1 7.66 0.00 3.30 0.42 0.07 88.56 01:01:28 00:51:01 2 7.20 0.00 4.25 7.42 0.07 81.06 01:01:28 00:51:01 3 7.90 0.00 3.65 2.65 0.10 85.70 01:01:28 00:51:01 4 6.28 0.00 4.91 4.86 0.07 83.87 01:01:28 00:51:01 5 7.41 0.00 3.55 0.62 0.05 88.37 01:01:28 00:51:01 6 8.70 0.00 3.85 5.21 0.07 82.17 01:01:28 00:51:01 7 9.31 0.00 3.08 0.25 0.08 87.27 01:01:28 00:52:01 all 38.50 0.00 6.74 2.24 0.11 52.40 01:01:28 00:52:01 0 36.10 0.00 6.50 7.72 0.10 49.58 01:01:28 00:52:01 1 37.67 0.00 6.57 4.17 0.10 51.49 01:01:28 00:52:01 2 37.68 0.00 5.93 0.27 0.10 56.01 01:01:28 00:52:01 3 42.22 0.00 7.58 2.00 0.12 48.09 01:01:28 00:52:01 4 41.53 0.00 7.07 0.39 0.12 50.90 01:01:28 00:52:01 5 40.45 0.00 6.97 0.78 0.12 51.68 01:01:28 00:52:01 6 36.61 0.00 6.60 0.46 0.10 56.23 01:01:28 00:52:01 7 35.71 0.00 6.68 2.19 0.12 55.29 01:01:28 00:53:01 all 3.45 0.00 1.66 1.70 0.04 93.14 01:01:28 00:53:01 0 2.95 0.00 1.39 2.36 0.03 93.26 01:01:28 00:53:01 1 3.64 0.00 1.78 0.07 0.05 94.46 01:01:28 00:53:01 2 3.82 0.00 1.21 0.00 0.07 94.91 01:01:28 00:53:01 3 3.53 0.00 1.97 1.03 0.07 93.41 01:01:28 00:53:01 4 4.34 0.00 1.46 0.02 0.03 94.15 01:01:28 00:53:01 5 2.99 0.00 2.51 7.98 0.03 86.49 01:01:28 00:53:01 6 3.27 0.00 1.61 1.19 0.02 93.91 01:01:28 00:53:01 7 3.08 0.00 1.37 1.00 0.03 94.51 01:01:28 00:54:01 all 0.03 0.00 0.01 0.04 0.00 99.91 01:01:28 00:54:01 0 0.00 0.00 0.02 0.00 0.00 99.98 01:01:28 00:54:01 1 0.03 0.00 0.03 0.00 0.00 99.93 01:01:28 00:54:01 2 0.00 0.00 0.00 0.00 0.00 100.00 01:01:28 00:54:01 3 0.13 0.00 0.03 0.00 0.02 99.82 01:01:28 00:54:01 4 0.02 0.00 0.02 0.00 0.00 99.97 01:01:28 00:54:01 5 0.00 0.00 0.00 0.28 0.00 99.72 01:01:28 00:54:01 6 0.02 0.00 0.02 0.03 0.02 99.92 01:01:28 00:54:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 00:55:01 all 1.35 0.00 0.66 0.50 0.03 97.46 01:01:28 00:55:01 0 1.23 0.00 1.05 1.02 0.02 96.68 01:01:28 00:55:01 1 0.94 0.00 0.53 0.22 0.02 98.29 01:01:28 00:55:01 2 0.93 0.00 0.47 0.02 0.03 98.55 01:01:28 00:55:01 3 0.72 0.00 0.42 0.25 0.05 98.56 01:01:28 00:55:01 4 1.77 0.00 0.55 0.28 0.03 97.36 01:01:28 00:55:01 5 1.52 0.00 0.45 0.37 0.02 97.64 01:01:28 00:55:01 6 1.57 0.00 0.85 1.65 0.02 95.91 01:01:28 00:55:01 7 2.14 0.00 0.95 0.15 0.03 96.72 01:01:28 00:56:01 all 0.01 0.00 0.01 0.02 0.00 99.96 01:01:28 00:56:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 00:56:01 1 0.00 0.00 0.03 0.00 0.00 99.97 01:01:28 00:56:01 2 0.00 0.00 0.02 0.00 0.00 99.98 01:01:28 00:56:01 3 0.03 0.00 0.02 0.00 0.00 99.95 01:01:28 00:56:01 4 0.02 0.00 0.00 0.03 0.00 99.95 01:01:28 00:56:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:01:28 00:56:01 6 0.00 0.00 0.00 0.12 0.00 99.88 01:01:28 00:56:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:01:28 00:57:01 all 0.03 0.00 0.01 0.01 0.01 99.93 01:01:28 00:57:01 0 0.02 0.00 0.00 0.00 0.02 99.97 01:01:28 00:57:01 1 0.02 0.00 0.00 0.00 0.02 99.97 01:01:28 00:57:01 2 0.07 0.00 0.02 0.00 0.03 99.88 01:01:28 00:57:01 3 0.05 0.00 0.02 0.00 0.02 99.92 01:01:28 00:57:01 4 0.05 0.00 0.02 0.10 0.00 99.83 01:01:28 00:57:01 5 0.03 0.00 0.00 0.00 0.02 99.95 01:01:28 00:57:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 00:57:01 7 0.00 0.00 0.03 0.00 0.00 99.97 01:01:28 00:58:01 all 0.01 0.00 0.01 0.00 0.00 99.97 01:01:28 00:58:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 00:58:01 1 0.02 0.00 0.02 0.00 0.00 99.97 01:01:28 00:58:01 2 0.03 0.00 0.05 0.00 0.02 99.90 01:01:28 00:58:01 3 0.00 0.00 0.00 0.00 0.00 100.00 01:01:28 00:58:01 4 0.03 0.00 0.00 0.02 0.00 99.95 01:01:28 00:58:01 5 0.00 0.00 0.00 0.02 0.00 99.98 01:01:28 00:58:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 00:58:01 7 0.00 0.00 0.00 0.00 0.02 99.98 01:01:28 00:59:01 all 0.03 0.00 0.01 0.01 0.01 99.94 01:01:28 00:59:01 0 0.02 0.00 0.02 0.00 0.00 99.97 01:01:28 00:59:01 1 0.02 0.00 0.02 0.00 0.00 99.97 01:01:28 00:59:01 2 0.10 0.00 0.02 0.00 0.02 99.87 01:01:28 00:59:01 3 0.05 0.00 0.00 0.00 0.02 99.93 01:01:28 00:59:01 4 0.03 0.00 0.02 0.07 0.02 99.87 01:01:28 00:59:01 5 0.03 0.00 0.02 0.02 0.00 99.93 01:01:28 00:59:01 6 0.00 0.00 0.02 0.00 0.00 99.98 01:01:28 00:59:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 01:00:01 all 0.05 0.00 0.01 0.01 0.00 99.92 01:01:28 01:00:01 0 0.03 0.00 0.00 0.00 0.00 99.97 01:01:28 01:00:01 1 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 01:00:01 2 0.05 0.00 0.03 0.00 0.02 99.90 01:01:28 01:00:01 3 0.28 0.00 0.02 0.00 0.00 99.70 01:01:28 01:00:01 4 0.02 0.00 0.02 0.10 0.00 99.87 01:01:28 01:00:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:01:28 01:00:01 6 0.00 0.00 0.00 0.02 0.00 99.98 01:01:28 01:00:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 01:01:01 all 0.04 0.00 0.01 0.00 0.00 99.95 01:01:28 01:01:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 01:01:01 1 0.02 0.00 0.03 0.00 0.00 99.95 01:01:28 01:01:01 2 0.07 0.00 0.00 0.00 0.00 99.93 01:01:28 01:01:01 3 0.08 0.00 0.02 0.00 0.02 99.88 01:01:28 01:01:01 4 0.05 0.00 0.02 0.02 0.00 99.92 01:01:28 01:01:01 5 0.02 0.00 0.00 0.02 0.00 99.97 01:01:28 01:01:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:01:28 01:01:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:01:28 01:01:28 Average: CPU %user %nice %system %iowait %steal %idle 01:01:28 Average: all 4.61 0.00 1.16 0.71 0.03 93.49 01:01:28 Average: 0 4.34 0.00 1.13 1.50 0.02 93.01 01:01:28 Average: 1 4.48 0.00 1.11 0.44 0.02 93.95 01:01:28 Average: 2 4.50 0.00 1.08 0.69 0.03 93.69 01:01:28 Average: 3 4.97 0.00 1.24 0.54 0.04 93.22 01:01:28 Average: 4 4.87 0.00 1.27 0.53 0.02 93.30 01:01:28 Average: 5 4.71 0.00 1.21 0.91 0.02 93.15 01:01:28 Average: 6 4.51 0.00 1.16 0.78 0.02 93.52 01:01:28 Average: 7 4.49 0.00 1.09 0.32 0.03 94.07 01:01:28 01:01:28 01:01:28