Pull request #302 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8+d7b6c541c1377b2729ca3d138980ec29eeceae5c (3ff0539c5cc8af897dbd1504a954fafef8310324) 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-ssh15107046250767536174.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12221010527553025143.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9384602621644324627.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9454869050484736778.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9530768379601803251.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15031404792473412986.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9528 in /w/workspace/foundry_device-usb-camera_PR-302 [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-302 # 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/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7b6c541c1377b2729ca3d138980ec29eeceae5c into PR head commit b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 Merge succeeded, producing b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 Checking out Revision b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 (PR-302) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:35:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:35:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 # 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 d7b6c541c1377b2729ca3d138980ec29eeceae5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:35:10 ========================================================= 17:35:10 EdgeX Global Pipelines Version Info 17:35:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:35:10 ------------------- 17:35:10 stable info: 17:35:10 ------------------- 17:35:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:35:10 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:35:10 Message: update stable to v1.0.254 17:35:11 ------------------- 17:35:11 experimental info: 17:35:11 ------------------- 17:35:11 Commited By: **** collab-it+edgex@linuxfoundation.org 17:35:11 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:35:11 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:35:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:35:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:35:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:35:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:35:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo 17:35:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo 17:35:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo 17:35:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 [Pipeline] echo 17:35:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0ddf7d [Pipeline] echo 17:35:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:13 provisioning config files... 17:35:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-302@tmp/config6022476920138499753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:13 ---> docker-login.sh 17:35:13 nexus3.edgexfoundry.org:10001 17:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:13 Configure a credential helper to remove this warning. See 17:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:13 17:35:13 Login Succeeded 17:35:13 nexus3.edgexfoundry.org:10002 17:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:14 Configure a credential helper to remove this warning. See 17:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:14 17:35:14 Login Succeeded 17:35:14 nexus3.edgexfoundry.org:10003 17:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:14 Configure a credential helper to remove this warning. See 17:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:14 17:35:14 Login Succeeded 17:35:14 nexus3.edgexfoundry.org:10004 17:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:14 Configure a credential helper to remove this warning. See 17:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:14 17:35:14 Login Succeeded 17:35:14 docker.io 17:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:14 Configure a credential helper to remove this warning. See 17:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:14 17:35:14 Login Succeeded 17:35:14 ---> docker-login.sh ends [Pipeline] } 17:35:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:35:15 + git rev-list -1 --merges b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8~1..b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 [Pipeline] echo 17:35:15 -----------> git rev-list -1 --merges b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8~1..b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 [false] [Pipeline] sh 17:35:15 + git log --format=format:%s -1 b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 [Pipeline] echo 17:35:15 ========================================================= 17:35:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:35:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:16 + git log --format=format:%s -1 b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 [Pipeline] echo 17:35:16 [semverPrep] GIT_COMMIT: b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:35:16 [semverPrep] This is not a build commit. [Pipeline] sh 17:35:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:35:16 + grep -v github /etc/ssh/ssh_known_hosts 17:35:16 + [ -e /tmp/ssh_known_hosts ] 17:35:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:35:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:35:16 + sudo tee -a /etc/ssh/ssh_known_hosts 17:35:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:35:17 17:35:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:35:17 0.1.4: Pulling from edgex-devops/py-git-semver 17:35:17 b85a868b505f: Pulling fs layer 17:35:17 e2be974225ed: Pulling fs layer 17:35:17 339a4e72a1f5: Pulling fs layer 17:35:17 988bab9f4d93: Pulling fs layer 17:35:17 1469e6f7b9e6: Pulling fs layer 17:35:17 eaf3925da568: Pulling fs layer 17:35:17 bab4dde63d76: Pulling fs layer 17:35:17 bde34c3a00c8: Pulling fs layer 17:35:17 b352a97aabf1: Pulling fs layer 17:35:17 4872d77fe225: Pulling fs layer 17:35:17 5851b861e8e6: Pulling fs layer 17:35:17 eaf3925da568: Waiting 17:35:17 bab4dde63d76: Waiting 17:35:17 b352a97aabf1: Waiting 17:35:17 bde34c3a00c8: Waiting 17:35:17 4872d77fe225: Waiting 17:35:17 5851b861e8e6: Waiting 17:35:17 1469e6f7b9e6: Waiting 17:35:17 988bab9f4d93: Waiting 17:35:17 e2be974225ed: Download complete 17:35:17 988bab9f4d93: Verifying Checksum 17:35:17 988bab9f4d93: Download complete 17:35:17 1469e6f7b9e6: Verifying Checksum 17:35:17 339a4e72a1f5: Verifying Checksum 17:35:17 1469e6f7b9e6: Download complete 17:35:17 339a4e72a1f5: Download complete 17:35:17 eaf3925da568: Verifying Checksum 17:35:17 eaf3925da568: Download complete 17:35:17 bde34c3a00c8: Download complete 17:35:17 b352a97aabf1: Verifying Checksum 17:35:17 b352a97aabf1: Download complete 17:35:17 4872d77fe225: Verifying Checksum 17:35:17 4872d77fe225: Download complete 17:35:17 5851b861e8e6: Verifying Checksum 17:35:17 5851b861e8e6: Download complete 17:35:17 b85a868b505f: Download complete 17:35:18 bab4dde63d76: Verifying Checksum 17:35:18 bab4dde63d76: Download complete 17:35:19 b85a868b505f: Pull complete 17:35:19 e2be974225ed: Pull complete 17:35:19 339a4e72a1f5: Pull complete 17:35:19 988bab9f4d93: Pull complete 17:35:20 1469e6f7b9e6: Pull complete 17:35:20 eaf3925da568: Pull complete 17:35:22 bab4dde63d76: Pull complete 17:35:22 bde34c3a00c8: Pull complete 17:35:22 b352a97aabf1: Pull complete 17:35:22 4872d77fe225: Pull complete 17:35:22 5851b861e8e6: Pull complete 17:35:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:35:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:35:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:22 prd-ubuntu20.04-docker-8c-8g-9528 does not seem to be running inside a container 17:35:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-302 -v /w/workspace/foundry_device-usb-camera_PR-302:/w/workspace/foundry_device-usb-camera_PR-302:rw,z -v /w/workspace/foundry_device-usb-camera_PR-302@tmp:/w/workspace/foundry_device-usb-camera_PR-302@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:35:25 $ docker top 09c0a569c1f50f7a93f4183557f34a6bfd71203acfb50af81ac816dfcfa7f94f -eo pid,comm 17:35:25 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). 17:35:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:35:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:25 [ssh-agent] Looking for ssh-agent implementation... 17:35:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:25 $ docker exec 09c0a569c1f50f7a93f4183557f34a6bfd71203acfb50af81ac816dfcfa7f94f ssh-agent 17:35:25 SSH_AUTH_SOCK=/tmp/ssh-Al8p7MgQgU2O/agent.33 17:35:25 SSH_AGENT_PID=39 17:35:25 Running ssh-add (command line suppressed) 17:35:25 Identity added: /w/workspace/foundry_device-usb-camera_PR-302@tmp/private_key_11143716401101527823.key (/w/workspace/foundry_device-usb-camera_PR-302@tmp/private_key_11143716401101527823.key) 17:35:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:26 + git tag --points-at HEAD [Pipeline] } 17:35:26 $ docker exec --env ******** --env ******** 09c0a569c1f50f7a93f4183557f34a6bfd71203acfb50af81ac816dfcfa7f94f ssh-agent -k 17:35:26 unset SSH_AUTH_SOCK; 17:35:26 unset SSH_AGENT_PID; 17:35:26 echo Agent pid 39 killed; 17:35:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:35:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:26 [ssh-agent] Looking for ssh-agent implementation... 17:35:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:26 $ docker exec 09c0a569c1f50f7a93f4183557f34a6bfd71203acfb50af81ac816dfcfa7f94f ssh-agent 17:35:26 SSH_AUTH_SOCK=/tmp/ssh-VaCNQvsVrqs9/agent.71 17:35:26 SSH_AGENT_PID=77 17:35:26 Running ssh-add (command line suppressed) 17:35:26 Identity added: /w/workspace/foundry_device-usb-camera_PR-302@tmp/private_key_16835477680895015701.key (/w/workspace/foundry_device-usb-camera_PR-302@tmp/private_key_16835477680895015701.key) 17:35:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:27 + git semver init 17:35:27 2023-10-18 17:35:27,246 [run_init] DEBUG init version:0.0.0 force:False 17:35:27 2023-10-18 17:35:27,246 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-302/.semver 17:35:27 2023-10-18 17:35:27,247 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-302/.semver 17:35:27 2023-10-18 17:35:27,247 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-302/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-302, universal_newlines=False, shell=None, istream=None) 17:35:28 2023-10-18 17:35:28,094 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-302/.git/info/exclude 17:35:28 2023-10-18 17:35:28,094 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-302/.semver/PR-302 with force:False 17:35:28 2023-10-18 17:35:28,094 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-302/.semver/PR-302 17:35:28 2023-10-18 17:35:28,099 [execute] INFO git cat-file --batch-check 17:35:28 2023-10-18 17:35:28,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-302/.semver, universal_newlines=False, shell=None, istream=) 17:35:28 2023-10-18 17:35:28,106 [execute] INFO git cat-file --batch 17:35:28 2023-10-18 17:35:28,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-302/.semver, universal_newlines=False, shell=None, istream=) 17:35:28 2023-10-18 17:35:28,111 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-302/.semver/PR-302 17:35:28 0.0.0 [Pipeline] } 17:35:28 $ docker exec --env ******** --env ******** 09c0a569c1f50f7a93f4183557f34a6bfd71203acfb50af81ac816dfcfa7f94f ssh-agent -k 17:35:28 unset SSH_AUTH_SOCK; 17:35:28 unset SSH_AGENT_PID; 17:35:28 echo Agent pid 77 killed; 17:35:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:35:28 + git semver [Pipeline] } 17:35:29 $ docker stop --time=1 09c0a569c1f50f7a93f4183557f34a6bfd71203acfb50af81ac816dfcfa7f94f 17:35:30 $ docker rm -f --volumes 09c0a569c1f50f7a93f4183557f34a6bfd71203acfb50af81ac816dfcfa7f94f [Pipeline] // withDockerContainer [Pipeline] sh 17:35:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:35:31 Stashed 1 file(s) [Pipeline] echo 17:35:31 [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 17:35:31 provisioning config files... 17:35:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-302@tmp/config15401006399591964986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:32 ---> docker-login.sh 17:35:32 nexus3.edgexfoundry.org:10001 17:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:32 Configure a credential helper to remove this warning. See 17:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:32 17:35:32 Login Succeeded 17:35:32 nexus3.edgexfoundry.org:10002 17:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:32 Configure a credential helper to remove this warning. See 17:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:32 17:35:32 Login Succeeded 17:35:32 nexus3.edgexfoundry.org:10003 17:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:32 Configure a credential helper to remove this warning. See 17:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:32 17:35:32 Login Succeeded 17:35:32 nexus3.edgexfoundry.org:10004 17:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:32 Configure a credential helper to remove this warning. See 17:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:32 17:35:32 Login Succeeded 17:35:32 docker.io 17:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:32 Configure a credential helper to remove this warning. See 17:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:32 17:35:32 Login Succeeded 17:35:32 ---> docker-login.sh ends [Pipeline] } 17:35:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:35:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:33 ========================================================= 17:35:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:35:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:35:33 Sending build context to Docker daemon 2.285MB 17:35:33 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:35:33 Step 2/13 : FROM ${BASE} AS builder 17:35:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:35:33 7264a8db6415: Pulling fs layer 17:35:33 c4d48a809fc2: Pulling fs layer 17:35:33 4f1c88b9dad5: Pulling fs layer 17:35:33 ad3a456e5733: Pulling fs layer 17:35:33 33e27b845d1e: Pulling fs layer 17:35:33 c68163c4e522: Pulling fs layer 17:35:33 50da416c3ac9: Pulling fs layer 17:35:33 23d2d4c4bb30: Pulling fs layer 17:35:33 c68163c4e522: Waiting 17:35:33 50da416c3ac9: Waiting 17:35:33 33e27b845d1e: Waiting 17:35:33 23d2d4c4bb30: Waiting 17:35:33 ad3a456e5733: Waiting 17:35:33 c4d48a809fc2: Verifying Checksum 17:35:33 c4d48a809fc2: Download complete 17:35:33 ad3a456e5733: Verifying Checksum 17:35:33 ad3a456e5733: Download complete 17:35:33 33e27b845d1e: Download complete 17:35:34 7264a8db6415: Download complete 17:35:34 c68163c4e522: Verifying Checksum 17:35:34 c68163c4e522: Download complete 17:35:34 7264a8db6415: Pull complete 17:35:34 23d2d4c4bb30: Verifying Checksum 17:35:34 23d2d4c4bb30: Download complete 17:35:34 c4d48a809fc2: Pull complete 17:35:34 4f1c88b9dad5: Verifying Checksum 17:35:34 4f1c88b9dad5: Download complete 17:35:34 50da416c3ac9: Verifying Checksum 17:35:34 50da416c3ac9: Download complete 17:35:37 4f1c88b9dad5: Pull complete 17:35:37 ad3a456e5733: Pull complete 17:35:37 33e27b845d1e: Pull complete 17:35:37 c68163c4e522: Pull complete 17:35:40 50da416c3ac9: Pull complete 17:35:40 23d2d4c4bb30: Pull complete 17:35:40 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:35:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:35:40 ---> 0786185ac409 17:35:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:35:43 ---> Running in 2cda8335fde1 17:35:43 Removing intermediate container 2cda8335fde1 17:35:43 ---> 78c36330ec55 17:35:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:43 ---> Running in ae1d92ecefe2 17:35:43 Removing intermediate container ae1d92ecefe2 17:35:43 ---> d56a75b37db5 17:35:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:35:43 ---> Running in aa5780d40c81 17:35:43 Removing intermediate container aa5780d40c81 17:35:43 ---> 357e9f01c93c 17:35:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:35:43 ---> Running in 8c735064bcab 17:35:43 Removing intermediate container 8c735064bcab 17:35:43 ---> 399e7aad12ed 17:35:43 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:43 ---> Running in b9b35df1d1f0 17:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:35:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:35:44 (1/13) Installing libintl (0.21.1-r7) 17:35:44 (2/13) Installing eudev-libs (3.2.11-r8) 17:35:44 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:35:44 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:35:44 (5/13) Installing v4l-utils (1.24.1-r0) 17:35:44 (6/13) Installing libdvbv5 (1.24.1-r0) 17:35:44 (7/13) Installing udev-init-scripts (35-r1) 17:35:44 (8/13) Installing libblkid (2.38.1-r8) 17:35:44 (9/13) Installing xz-libs (5.4.3-r0) 17:35:44 (10/13) Installing kmod-libs (30-r3) 17:35:44 (11/13) Installing eudev (3.2.11-r8) 17:35:44 (12/13) Installing eudev-dev (3.2.11-r8) 17:35:44 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:35:44 Executing busybox-1.36.1-r2.trigger 17:35:44 Executing eudev-3.2.11-r8.trigger 17:35:44 OK: 271 MiB in 65 packages 17:35:45 Removing intermediate container b9b35df1d1f0 17:35:45 ---> 02f64c70ee89 17:35:45 Step 8/13 : WORKDIR /device-usb-camera 17:35:45 ---> Running in 569b6c9a70b7 17:35:45 Removing intermediate container 569b6c9a70b7 17:35:45 ---> 1abca55c061f 17:35:45 Step 9/13 : COPY go.mod vendor* ./ 17:35:45 ---> fb4ab064000d 17:35:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:45 ---> Running in 5c003e08e894 17:35:46 Still waiting to schedule task 17:35:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:36:41 Removing intermediate container 5c003e08e894 17:36:41 ---> b7876632c15b 17:36:41 Step 11/13 : COPY . . 17:36:41 ---> ec6f47022613 17:36:41 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:36:41 ---> Running in 7bab47dfe214 17:36:41  % Total % Received % Xferd Average Speed Time Time Time Current 17:36:41  Dload Upload Total Spent Left Speed 17:36:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 10860 0 --:--:-- --:--:-- --:--:-- 10895 17:36:41 Removing intermediate container 7bab47dfe214 17:36:41 ---> 03ec6f9b1b6f 17:36:41 Step 13/13 : RUN ${MAKE} 17:36:41 ---> Running in 6b2c5b8610ed 17:36:41 noop 17:36:41 Removing intermediate container 6b2c5b8610ed 17:36:41 ---> 86490fbdf617 17:36:41 Successfully built 86490fbdf617 17:36:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:42 + docker inspect -f . ci-base-image-x86_64 17:36:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:42 prd-ubuntu20.04-docker-8c-8g-9528 does not seem to be running inside a container 17:36:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-302 -v /w/workspace/foundry_device-usb-camera_PR-302:/w/workspace/foundry_device-usb-camera_PR-302:rw,z -v /w/workspace/foundry_device-usb-camera_PR-302@tmp:/w/workspace/foundry_device-usb-camera_PR-302@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 ******** ci-base-image-x86_64 cat 17:36:42 $ docker top 606ef047cef6e11e2983843052f3f35de50966455bb23c20645b41e34cafef83 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:43 + go version 17:36:43 go version go1.21.0 linux/amd64 [Pipeline] } 17:36:43 $ docker stop --time=1 606ef047cef6e11e2983843052f3f35de50966455bb23c20645b41e34cafef83 17:36:44 $ docker rm -f --volumes 606ef047cef6e11e2983843052f3f35de50966455bb23c20645b41e34cafef83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:45 + docker inspect -f . ci-base-image-x86_64 17:36:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:45 prd-ubuntu20.04-docker-8c-8g-9528 does not seem to be running inside a container 17:36:45 $ 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-302 -v /w/workspace/foundry_device-usb-camera_PR-302:/w/workspace/foundry_device-usb-camera_PR-302:rw,z -v /w/workspace/foundry_device-usb-camera_PR-302@tmp:/w/workspace/foundry_device-usb-camera_PR-302@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 ******** ci-base-image-x86_64 cat 17:36:45 $ docker top 257f72db3610720f8bc55f78bbd545fb7b77008cdf48c2cf813317fe99e429df -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:46 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-302 [Pipeline] fileExists [Pipeline] sh 17:36:46 + make test 17:36:46 go test ./... -coverprofile=coverage.out ./... 17:36:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:36:57 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:36:58 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 4.4% of statements 17:37:05 go vet ./... 17:37:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:37:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:37:08 ./bin/test-attribution-txt.sh [Pipeline] echo 17:37:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:37:08 $ docker stop --time=1 257f72db3610720f8bc55f78bbd545fb7b77008cdf48c2cf813317fe99e429df 17:37:12 $ docker rm -f --volumes 257f72db3610720f8bc55f78bbd545fb7b77008cdf48c2cf813317fe99e429df [Pipeline] // withDockerContainer [Pipeline] sh 17:37:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:37:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:37:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:37:13 + ls -al . 17:37:13 total 220 17:37:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 17:36 . 17:37:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 17:35 .. 17:37:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 17:36 .git 17:37:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 17:35 .github 17:37:13 -rw-rw-r-- 1 jenkins jenkins 495 Oct 18 17:35 .gitignore 17:37:13 -rw-rw-r-- 1 jenkins jenkins 45 Oct 18 17:35 .golangci.yml 17:37:13 -rw-rw-r-- 1 jenkins jenkins 77 Oct 18 17:35 .hadolint.yml 17:37:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 17:35 .semver 17:37:13 -rw-rw-r-- 1 jenkins jenkins 10851 Oct 18 17:35 Attribution.txt 17:37:13 -rw-rw-r-- 1 jenkins jenkins 11903 Oct 18 17:35 CHANGELOG.md 17:37:13 -rw-rw-r-- 1 jenkins jenkins 2453 Oct 18 17:35 Dockerfile 17:37:13 -rw-rw-r-- 1 jenkins jenkins 678 Oct 18 17:35 GOVERNANCE.md 17:37:13 -rw-rw-r-- 1 jenkins jenkins 659 Oct 18 17:35 Jenkinsfile 17:37:13 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 17:35 LICENSE 17:37:13 -rw-rw-r-- 1 jenkins jenkins 2611 Oct 18 17:35 Makefile 17:37:13 -rw-rw-r-- 1 jenkins jenkins 622 Oct 18 17:35 OWNERS.md 17:37:13 -rw-rw-r-- 1 jenkins jenkins 2575 Oct 18 17:35 README.md 17:37:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 17:35 VERSION 17:37:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 17:35 bin 17:37:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 17:35 cmd 17:37:13 -rw-r--r-- 1 jenkins jenkins 54703 Oct 18 17:36 coverage.out 17:37:13 -rwxrwxr-x 1 jenkins jenkins 84 Oct 18 17:35 docker-entrypoint.sh 17:37:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 17:35 docs 17:37:13 -rw-rw-r-- 1 jenkins jenkins 3925 Oct 18 17:35 go.mod 17:37:13 -rw-rw-r-- 1 jenkins jenkins 34838 Oct 18 17:35 go.sum 17:37:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 17:35 internal 17:37:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 17:35 snap 17:37:13 -rw-rw-r-- 1 jenkins jenkins 231 Oct 18 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:14 + 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=b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 --label arch=amd64 --label version=0.0.0 . 17:37:14 Sending build context to Docker daemon 2.34MB 17:37:14 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 17:37:14 Step 2/36 : FROM ${BASE} AS builder 17:37:14 ---> 86490fbdf617 17:37:14 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:37:14 ---> Running in ff9609026ab9 17:37:14 Removing intermediate container ff9609026ab9 17:37:14 ---> 493488e75c85 17:37:14 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:14 ---> Running in 7c45da11f67a 17:37:14 Removing intermediate container 7c45da11f67a 17:37:14 ---> 717036b28290 17:37:14 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:37:14 ---> Running in 6011770ff3a0 17:37:14 Removing intermediate container 6011770ff3a0 17:37:14 ---> c0ee8152b956 17:37:14 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:37:14 ---> Running in 0dd6b9f3dd4a 17:37:14 Removing intermediate container 0dd6b9f3dd4a 17:37:14 ---> 051bb9693a6b 17:37:14 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:14 ---> Running in c9e807542b97 17:37:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:37:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:37:15 OK: 271 MiB in 65 packages 17:37:15 Removing intermediate container c9e807542b97 17:37:15 ---> 42440e0466d6 17:37:15 Step 8/36 : WORKDIR /device-usb-camera 17:37:15 ---> Running in f7dcfa1f1635 17:37:15 Removing intermediate container f7dcfa1f1635 17:37:15 ---> 930c18107007 17:37:15 Step 9/36 : COPY go.mod vendor* ./ 17:37:15 ---> c4bac2b52fc4 17:37:15 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:15 ---> Running in cc2d311a4709 17:37:16 Removing intermediate container cc2d311a4709 17:37:16 ---> c1240b6f0138 17:37:16 Step 11/36 : COPY . . 17:37:16 ---> 042f9bec2d7a 17:37:16 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:37:17 ---> Running in 4976366d16f3 17:37:17  % Total % Received % Xferd Average Speed Time Time  Time Current 17:37:17   Dload  Upload Total Spent Left Speed 17:37:17  0 0 0  0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 38284 0 --:--:-- --:--:-- --:--:-- 39156 17:37:17 Removing intermediate container 4976366d16f3 17:37:17 ---> 82479f3e1b01 17:37:17 Step 13/36 : RUN ${MAKE} 17:37:17 ---> Running in b12db4002cab 17:37:17 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:37:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9529 in /w/workspace/foundry_device-usb-camera_PR-302 [Pipeline] { [Pipeline] ws 17:37:26 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:37:26 Selected Git installation does not exist. Using Default 17:37:26 The recommended git tool is: NONE 17:37:31 using credential edgex-jenkins-ssh 17:37:31 Cloning the remote Git repository 17:37:31 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:37:31 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:37:32 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:37:32 > git --version # timeout=10 17:37:32 > git --version # 'git version 2.25.1' 17:37:32 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:37:34 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:37:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:37:36 Merging remotes/origin/main commit d7b6c541c1377b2729ca3d138980ec29eeceae5c into PR head commit b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 17:37:36 Merge succeeded, producing b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 17:37:36 Checking out Revision b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 (PR-302) 17:37:35 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:37:35 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:37:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:37:36 > git config core.sparsecheckout # timeout=10 17:37:36 > git checkout -f b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 # timeout=10 17:37:36 > git remote # timeout=10 17:37:36 > git config --get remote.origin.url # timeout=10 17:37:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:37:36 > git merge d7b6c541c1377b2729ca3d138980ec29eeceae5c # timeout=10 17:37:36 > git rev-parse HEAD^{commit} # timeout=10 17:37:36 > git config core.sparsecheckout # timeout=10 17:37:36 > git checkout -f b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 # timeout=10 17:37:36 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:37:36 > git --version # timeout=10 17:37:36 > git --version # 'git version 2.25.1' 17:37:36 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:37:38 % Total % Received % Xferd Average Speed Time Time Time Current 17:37:38 Dload Upload Total Spent Left Speed 17:37:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 17:37:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:37:39 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:37:39 sudo tee /etc/docker/daemon.new 17:37:39 { 17:37:39 "registry-mirrors": [ 17:37:39 "https://nexus3.edgexfoundry.org:10001" 17:37:39 ], 17:37:39 "bip": "10.250.0.254/24", 17:37:39 "hosts": [ 17:37:39 "tcp://0.0.0.0:5555", 17:37:39 "unix:///var/run/docker.sock" 17:37:39 ], 17:37:39 "mtu": 1458, 17:37:39 "selinux-enabled": true, 17:37:39 "seccomp-profile": "/etc/docker/seccomp.json" 17:37:39 } [Pipeline] sh 17:37:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:37:39 Removing intermediate container b12db4002cab 17:37:39 ---> 48ce2f31b110 17:37:39 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:37:39 v0.21.6: Pulling from aler9/rtsp-simple-server 17:37:39 4acc49c71d14: Pulling fs layer 17:37:40 + sudo service docker restart 17:37:40 4acc49c71d14: Verifying Checksum 17:37:40 4acc49c71d14: Download complete 17:37:40 4acc49c71d14: Pull complete 17:37:40 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:37:40 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:37:40 ---> 01a2bd3e5fff 17:37:40 Step 15/36 : FROM alpine:3.18 17:37:40 3.18: Pulling from library/alpine 17:37:40 96526aa774ef: Pulling fs layer 17:37:41 96526aa774ef: Verifying Checksum 17:37:41 96526aa774ef: Download complete 17:37:41 96526aa774ef: Pull complete 17:37:41 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 17:37:41 Status: Downloaded newer image for alpine:3.18 17:37:41 ---> 8ca4688f4f35 17:37:41 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:37:41 ---> Running in bfc4db9cd377 17:37:41 Removing intermediate container bfc4db9cd377 17:37:41 ---> 8a122c4b6169 17:37:41 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:37:41 ---> Running in f01019f1825a 17:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:37:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:37:42 (1/107) Installing dumb-init (1.2.5-r2) 17:37:42 (2/107) Installing sdl2 (2.26.5-r0) 17:37:42 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:37:42 (4/107) Installing aom-libs (3.6.1-r0) 17:37:42 (5/107) Installing libxau (1.0.11-r2) 17:37:42 (6/107) Installing libmd (1.0.4-r2) 17:37:42 (7/107) Installing libbsd (0.11.7-r1) 17:37:42 (8/107) Installing libxdmcp (1.1.4-r2) 17:37:42 (9/107) Installing libxcb (1.15-r1) 17:37:42 (10/107) Installing libx11 (1.8.4-r4) 17:37:42 (11/107) Installing hwdata-pci (0.370-r0) 17:37:42 (12/107) Installing libpciaccess (0.17-r2) 17:37:42 (13/107) Installing libdrm (2.4.115-r4) 17:37:42 (14/107) Installing libxext (1.3.5-r2) 17:37:42 (15/107) Installing libxfixes (6.0.1-r2) 17:37:42 (16/107) Installing libffi (3.4.4-r2) 17:37:42 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:37:42 (18/107) Installing libva (2.18.0-r1) 17:37:42 (19/107) Installing libvdpau (1.5-r1) 17:37:42 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:37:42 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:37:42 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:37:42 (23/107) Installing ffmpeg-libavutil (6.0-r15) 17:37:43 (24/107) Installing libdav1d (1.2.1-r0) 17:37:43 (25/107) Installing brotli-libs (1.0.9-r14) 17:37:43 (26/107) Installing libhwy (1.0.4-r1) 17:37:43 (27/107) Installing lcms2 (2.15-r2) 17:37:43 (28/107) Installing libjxl (0.8.2-r0) 17:37:43 (29/107) Installing lame-libs (3.100-r5) 17:37:43 (30/107) Installing opus (1.4-r0) 17:37:43 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:37:43 (32/107) Installing soxr (0.1.3-r5) 17:37:43 (33/107) Installing ffmpeg-libswresample (6.0-r15) 17:37:43 (34/107) Installing libogg (1.3.5-r4) 17:37:43 (35/107) Installing libtheora (1.1.1-r17) 17:37:43 (36/107) Installing libvorbis (1.3.7-r1) 17:37:43 (37/107) Installing libvpx (1.13.0-r2) 17:37:43 (38/107) Installing libwebp (1.3.2-r0) 17:37:43 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:37:43 (40/107) Installing numactl (2.0.16-r4) 17:37:43 (41/107) Installing x265-libs (3.5-r4) 17:37:43 (42/107) Installing xvidcore (1.3.7-r1) 17:37:43 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 17:37:43 (44/107) Installing alsa-lib (1.2.9-r1) 17:37:43 (45/107) Installing libexpat (2.5.0-r1) 17:37:43 (46/107) Installing libbz2 (1.0.8-r5) 17:37:43 (47/107) Installing libpng (1.6.39-r3) 17:37:43 (48/107) Installing freetype (2.13.0-r5) 17:37:43 (49/107) Installing fontconfig (2.14.2-r3) 17:37:43 (50/107) Installing fribidi (1.0.13-r0) 17:37:43 (51/107) Installing libintl (0.21.1-r7) 17:37:43 (52/107) Installing libblkid (2.38.1-r8) 17:37:43 (53/107) Installing libmount (2.38.1-r8) 17:37:43 (54/107) Installing pcre2 (10.42-r1) 17:37:43 (55/107) Installing glib (2.76.4-r0) 17:37:43 (56/107) Installing graphite2 (1.3.14-r5) 17:37:43 (57/107) Installing harfbuzz (7.3.0-r0) 17:37:43 (58/107) Installing libunibreak (5.1-r0) 17:37:43 (59/107) Installing libass (0.17.1-r0) 17:37:43 (60/107) Installing libbluray (1.3.4-r0) 17:37:43 (61/107) Installing gmp (6.2.1-r3) 17:37:43 (62/107) Installing nettle (3.8.1-r2) 17:37:43 (63/107) Installing libunistring (1.1-r1) 17:37:43 (64/107) Installing libidn2 (2.3.4-r1) 17:37:43 (65/107) Installing p11-kit (0.24.1-r2) 17:37:43 (66/107) Installing libtasn1 (4.19.0-r1) 17:37:43 (67/107) Installing gnutls (3.8.0-r2) 17:37:43 (68/107) Installing mpg123-libs (1.31.3-r1) 17:37:43 (69/107) Installing libopenmpt (0.7.2-r0) 17:37:43 (70/107) Installing cjson (1.7.15-r4) 17:37:43 (71/107) Installing mbedtls (2.28.5-r0) 17:37:43 (72/107) Installing librist (0.2.7-r0) 17:37:43 (73/107) Installing libsrt (1.5.2-r0) 17:37:43 (74/107) Installing libssh (0.10.5-r0) 17:37:43 (75/107) Installing xz-libs (5.4.3-r0) 17:37:43 (76/107) Installing libxml2 (2.11.4-r0) 17:37:43 (77/107) Installing libsodium (1.0.18-r3) 17:37:43 (78/107) Installing libzmq (4.3.4-r4) 17:37:43 (79/107) Installing ffmpeg-libavformat (6.0-r15) 17:37:43 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:37:43 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:37:43 (82/107) Installing shaderc (2023.3-r1) 17:37:43 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:37:43 (84/107) Installing libplacebo (5.264.1-r1) 17:37:43 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 17:37:43 (86/107) Installing ffmpeg-libswscale (6.0-r15) 17:37:43 (87/107) Installing vidstab (1.1.1-r0) 17:37:43 (88/107) Installing zimg (3.0.5-r0) 17:37:43 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 17:37:43 (90/107) Installing libasyncns (0.8-r1) 17:37:43 (91/107) Installing dbus-libs (1.14.8-r0) 17:37:43 (92/107) Installing libltdl (2.4.7-r2) 17:37:43 (93/107) Installing orc (0.4.34-r0) 17:37:43 (94/107) Installing flac-libs (1.4.3-r0) 17:37:43 (95/107) Installing libsndfile (1.2.0-r2) 17:37:43 (96/107) Installing speexdsp (1.2.1-r1) 17:37:43 (97/107) Installing tdb-libs (1.4.8-r1) 17:37:43 (98/107) Installing libpulse (16.1-r10) 17:37:43 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:37:43 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:37:43 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 17:37:44 (102/107) Installing ffmpeg (6.0-r15) 17:37:44 (103/107) Installing udev-init-scripts (35-r1) 17:37:44 (104/107) Installing eudev-libs (3.2.11-r8) 17:37:44 (105/107) Installing zstd-libs (1.5.5-r4) 17:37:44 (106/107) Installing kmod-libs (30-r3) 17:37:44 (107/107) Installing eudev (3.2.11-r8) 17:37:44 Executing busybox-1.36.1-r2.trigger 17:37:44 Executing glib-2.76.4-r0.trigger 17:37:44 Executing eudev-3.2.11-r8.trigger 17:37:44 OK: 131 MiB in 122 packages 17:37:46 Removing intermediate container f01019f1825a 17:37:46 ---> 39dadaf78817 17:37:46 Step 18/36 : WORKDIR / 17:37:46 ---> Running in 4f8ca105906e 17:37:46 Removing intermediate container 4f8ca105906e 17:37:46 ---> 14d6ba6205d5 17:37:46 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 17:37:47 ---> cffd141b4732 17:37:47 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:37:47 ---> fa0b82d13ec1 17:37:47 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:37:47 ---> 9f9fda8667e2 17:37:47 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:37:47 ---> 842b1fe0c684 17:37:47 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:37:47 ---> efc928abaf94 17:37:47 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:37:47 ---> 24c7d1c6dbb9 17:37:47 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 17:37:48 ---> badddbfd744a 17:37:48 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:37:48 ---> Running in 91af63069ff0 17:37:49 Removing intermediate container 91af63069ff0 17:37:49 ---> d650d28bc939 17:37:49 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:37:49 ---> Running in 74364e88ac4e 17:37:49 Removing intermediate container 74364e88ac4e 17:37:49 ---> b8d4e32ddb46 17:37:49 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:37:49 ---> Running in 006e7ac63788 17:37:50 Removing intermediate container 006e7ac63788 17:37:50 ---> 6e6f9f11fb7a 17:37:50 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:37:50 ---> Running in 7dd615c9cc43 17:37:50 Removing intermediate container 7dd615c9cc43 17:37:50 ---> ffab5bc94a82 17:37:50 Step 30/36 : EXPOSE 59983 17:37:50 ---> Running in 14f09ce15cf2 17:37:50 Removing intermediate container 14f09ce15cf2 17:37:50 ---> 435eca012046 17:37:50 Step 31/36 : EXPOSE 8554 17:37:50 ---> Running in d5e848d65346 17:37:50 Removing intermediate container d5e848d65346 17:37:50 ---> 812a5ab86418 17:37:50 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:37:50 ---> Running in 25823581feac 17:37:51 Removing intermediate container 25823581feac 17:37:51 ---> 4b361da8b24b 17:37:51 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:37:51 ---> Running in bc089c072b0f 17:37:51 Removing intermediate container bc089c072b0f 17:37:51 ---> 81353a66e3f7 17:37:51 Step 34/36 : LABEL arch=amd64 17:37:51 ---> Running in a1fe056c5a9c 17:37:51 Removing intermediate container a1fe056c5a9c 17:37:51 ---> 6dcf61fafa9f 17:37:51 Step 35/36 : LABEL git_sha=b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 17:37:51 ---> Running in aefe559b0b33 17:37:51 Removing intermediate container aefe559b0b33 17:37:51 ---> b99403969a81 17:37:51 Step 36/36 : LABEL version=0.0.0 17:37:51 ---> Running in eabdf91bbfba 17:37:51 Removing intermediate container eabdf91bbfba 17:37:51 ---> 552dce429ea3 17:37:51 [Warning] One or more build-args [ARCH] were not consumed 17:37:51 Successfully built 552dce429ea3 17:37:51 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 17:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:52 17:37:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:52 latest: Pulling from edgex-lftools-log-publisher 17:37:52 5eb5b503b376: Pulling fs layer 17:37:52 5c69ac0246d0: Pulling fs layer 17:37:52 ec43610c2a17: Pulling fs layer 17:37:52 3a2ae6a8a46f: Pulling fs layer 17:37:52 33b1e0a273af: Pulling fs layer 17:37:52 5d3b04190fa2: Pulling fs layer 17:37:52 2f39f015ded8: Pulling fs layer 17:37:52 5d3b04190fa2: Waiting 17:37:52 3a2ae6a8a46f: Waiting 17:37:52 2f39f015ded8: Waiting 17:37:52 33b1e0a273af: Waiting 17:37:52 5c69ac0246d0: Verifying Checksum 17:37:52 5c69ac0246d0: Download complete 17:37:52 3a2ae6a8a46f: Verifying Checksum 17:37:52 3a2ae6a8a46f: Download complete 17:37:52 33b1e0a273af: Verifying Checksum 17:37:52 33b1e0a273af: Download complete 17:37:52 5d3b04190fa2: Verifying Checksum 17:37:52 5d3b04190fa2: Download complete 17:37:52 ec43610c2a17: Verifying Checksum 17:37:52 ec43610c2a17: Download complete 17:37:53 5eb5b503b376: Verifying Checksum 17:37:53 5eb5b503b376: Download complete 17:37:53 2f39f015ded8: Download complete 17:37:54 5eb5b503b376: Pull complete 17:37:54 5c69ac0246d0: Pull complete 17:37:54 ec43610c2a17: Pull complete 17:37:54 3a2ae6a8a46f: Pull complete 17:37:54 33b1e0a273af: Pull complete 17:37:55 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:58 provisioning config files... 17:37:58 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config5785368423522523001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:58 ---> docker-login.sh 17:37:58 nexus3.edgexfoundry.org:10001 17:37:59 2f39f015ded8: Pull complete 17:37:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:37:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:59 Configure a credential helper to remove this warning. See 17:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:59 17:37:59 Login Succeeded 17:37:59 nexus3.edgexfoundry.org:10002 17:37:59 prd-ubuntu20.04-docker-8c-8g-9528 does not seem to be running inside a container 17:37:59 $ 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-302 -v /w/workspace/foundry_device-usb-camera_PR-302:/w/workspace/foundry_device-usb-camera_PR-302:rw,z -v /w/workspace/foundry_device-usb-camera_PR-302@tmp:/w/workspace/foundry_device-usb-camera_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:59 Configure a credential helper to remove this warning. See 17:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:59 17:37:59 Login Succeeded 17:37:59 nexus3.edgexfoundry.org:10003 17:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:00 Configure a credential helper to remove this warning. See 17:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:00 17:38:00 Login Succeeded 17:38:00 nexus3.edgexfoundry.org:10004 17:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:00 Configure a credential helper to remove this warning. See 17:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:00 17:38:00 Login Succeeded 17:38:00 docker.io 17:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:01 Configure a credential helper to remove this warning. See 17:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:01 17:38:01 Login Succeeded 17:38:01 ---> docker-login.sh ends 17:38:03 $ docker top 9d562dc6b10940b1bf4977e07616d8c1285b2b5a728777c9fe1ef07f794e5607 -eo pid,comm [Pipeline] { [Pipeline] } 17:38:03 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 17:38:04 ---> job-cost.sh 17:38:04 lf-activate-venv: SKIPPING 17:38:04 INFO: No Stack... [Pipeline] echo 17:38:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:04 ========================================================= 17:38:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:38:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 17:38:04 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:38:05 INFO: Archiving Costs [Pipeline] sh 17:38:05 Sending build context to Docker daemon 1.364MB 17:38:05 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:38:05 Step 2/13 : FROM ${BASE} AS builder 17:38:05 + + cut -d, -f6 17:38:05 cat /w/workspace/foundry_device-usb-camera_PR-302/archives/cost.csv [Pipeline] lock 17:38:05 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-302-1-stack-cost] 17:38:05 Resource [jenkins-edgexfoundry-device-usb-camera-PR-302-1-stack-cost] did not exist. Created. 17:38:05 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-302-1-stack-cost] [Pipeline] { 17:38:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:38:05 9fda8d8052c6: Pulling fs layer 17:38:05 5d54e960e981: Pulling fs layer 17:38:05 c4a7e357bf2a: Pulling fs layer 17:38:05 f0e02332f6b5: Pulling fs layer 17:38:05 cefa15bbcfad: Pulling fs layer 17:38:05 17808c966233: Pulling fs layer 17:38:05 f0e02332f6b5: Waiting 17:38:05 cefa15bbcfad: Waiting 17:38:05 f4c1fc716caa: Pulling fs layer 17:38:05 17808c966233: Waiting 17:38:05 5d54e960e981: Verifying Checksum 17:38:05 5d54e960e981: Download complete 17:38:05 f0e02332f6b5: Verifying Checksum 17:38:05 f0e02332f6b5: Download complete 17:38:05 cefa15bbcfad: Verifying Checksum 17:38:05 cefa15bbcfad: Download complete 17:38:05 9fda8d8052c6: Verifying Checksum 17:38:05 9fda8d8052c6: Download complete [Pipeline] unstash [Pipeline] sh 17:38:05 + echo total: 0.2199999988079071 [Pipeline] stash 17:38:05 Stashed 1 file(s) [Pipeline] } 17:38:05 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:38:06 $ docker stop --time=1 9d562dc6b10940b1bf4977e07616d8c1285b2b5a728777c9fe1ef07f794e5607 17:38:06 f4c1fc716caa: Verifying Checksum 17:38:06 9fda8d8052c6: Pull complete 17:38:07 $ docker rm -f --volumes 9d562dc6b10940b1bf4977e07616d8c1285b2b5a728777c9fe1ef07f794e5607 17:38:07 5d54e960e981: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:38:07 c4a7e357bf2a: Verifying Checksum [Pipeline] // stage [Pipeline] } 17:38:08 17808c966233: Verifying Checksum 17:38:08 17808c966233: Download complete 17:38:20 c4a7e357bf2a: Pull complete 17:38:21 f0e02332f6b5: Pull complete 17:38:21 cefa15bbcfad: Pull complete 17:38:30 17808c966233: Pull complete 17:38:31 f4c1fc716caa: Pull complete 17:38:31 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:38:31 ---> ea914061e18c 17:38:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:38:32 ---> Running in f4fb6ed260f1 17:38:32 Removing intermediate container f4fb6ed260f1 17:38:32 ---> 544ec78bcdce 17:38:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:38:32 ---> Running in 658fe835007e 17:38:33 Removing intermediate container 658fe835007e 17:38:33 ---> ba2cb545d13f 17:38:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:38:33 ---> Running in 0d52898cb03a 17:38:33 Removing intermediate container 0d52898cb03a 17:38:33 ---> aa2921d73379 17:38:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:38:33 ---> Running in 51103ebd2443 17:38:34 Removing intermediate container 51103ebd2443 17:38:34 ---> ff65f590faf1 17:38:34 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:34 ---> Running in 1a8bc0f9376c 17:38:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:38:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:38:36 (1/13) Installing libintl (0.21.1-r7) 17:38:36 (2/13) Installing eudev-libs (3.2.11-r8) 17:38:36 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:38:36 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:38:36 (5/13) Installing v4l-utils (1.24.1-r0) 17:38:36 (6/13) Installing libdvbv5 (1.24.1-r0) 17:38:36 (7/13) Installing udev-init-scripts (35-r1) 17:38:36 (8/13) Installing libblkid (2.38.1-r8) 17:38:36 (9/13) Installing xz-libs (5.4.3-r0) 17:38:36 (10/13) Installing kmod-libs (30-r3) 17:38:36 (11/13) Installing eudev (3.2.11-r8) 17:38:36 (12/13) Installing eudev-dev (3.2.11-r8) 17:38:36 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:38:36 Executing busybox-1.36.1-r2.trigger 17:38:36 Executing eudev-3.2.11-r8.trigger 17:38:36 OK: 273 MiB in 65 packages 17:38:38 Removing intermediate container 1a8bc0f9376c 17:38:38 ---> 75bd18b0497c 17:38:38 Step 8/13 : WORKDIR /device-usb-camera 17:38:38 ---> Running in 8e1dfc8a0771 17:38:38 Removing intermediate container 8e1dfc8a0771 17:38:38 ---> 338025f62b10 17:38:38 Step 9/13 : COPY go.mod vendor* ./ 17:38:38 ---> b18120b46476 17:38:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:38 ---> Running in 2a278ff74aee 17:40:16 Removing intermediate container 2a278ff74aee 17:40:16 ---> ac51a5d52baf 17:40:16 Step 11/13 : COPY . . 17:40:16 ---> c369c77716c7 17:40:16 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:40:16 ---> Running in d94a42314111 17:40:17  % Total % Received % Xferd Average Speed Time Time Time Current 17:40:17 Dload Upload Total Spent Left Speed 17:40:17 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 9683 0 --:--:-- --:--:-- --:--:-- 9789 17:40:18 Removing intermediate container d94a42314111 17:40:18 ---> 27bb9d9702a8 17:40:18 Step 13/13 : RUN ${MAKE} 17:40:18 ---> Running in 4fc3c3e0de26 17:40:19 noop 17:40:19 Removing intermediate container 4fc3c3e0de26 17:40:19 ---> 7595998d1eed 17:40:19 Successfully built 7595998d1eed 17:40:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:20 + docker inspect -f . ci-base-image-arm64 17:40:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:20 prd-ubuntu20.04-docker-arm64-4c-16g-9529 does not seem to be running inside a container 17:40:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 17:40:21 $ docker top 038ac26281182c5da7d4e9f72c72dfeba18ef6bfee1dee46f04389e8e3fe3c50 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:22 + go version 17:40:22 go version go1.21.0 linux/arm64 [Pipeline] } 17:40:22 $ docker stop --time=1 038ac26281182c5da7d4e9f72c72dfeba18ef6bfee1dee46f04389e8e3fe3c50 17:40:24 $ docker rm -f --volumes 038ac26281182c5da7d4e9f72c72dfeba18ef6bfee1dee46f04389e8e3fe3c50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:25 + docker inspect -f . ci-base-image-arm64 17:40:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:25 prd-ubuntu20.04-docker-arm64-4c-16g-9529 does not seem to be running inside a container 17:40:25 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 17:40:26 $ docker top bd0e88e2159ceea25de893d7a8f149fbb6807a8b992bf74bf62e3bc41b0a91a8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:27 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:40:27 + make test 17:40:27 go test ./... -coverprofile=coverage.out ./... 17:40:31 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:42:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:42:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.075s coverage: 4.4% of statements 17:42:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:42:13 go vet ./... 17:42:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:42:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:42:35 ./bin/test-attribution-txt.sh [Pipeline] echo 17:42:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:42:35 $ docker stop --time=1 bd0e88e2159ceea25de893d7a8f149fbb6807a8b992bf74bf62e3bc41b0a91a8 17:42:37 $ docker rm -f --volumes bd0e88e2159ceea25de893d7a8f149fbb6807a8b992bf74bf62e3bc41b0a91a8 [Pipeline] // withDockerContainer [Pipeline] sh 17:42:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:42:38 Warning: overwriting stash ‘coverage-report’ 17:42:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:42:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:42:39 + ls -al . 17:42:39 total 216 17:42:39 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 17:40 . 17:42:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 17:37 .. 17:42:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 17:37 .git 17:42:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 17:37 .github 17:42:39 -rw-rw-r-- 1 jenkins jenkins 495 Oct 18 17:37 .gitignore 17:42:39 -rw-rw-r-- 1 jenkins jenkins 45 Oct 18 17:37 .golangci.yml 17:42:39 -rw-rw-r-- 1 jenkins jenkins 77 Oct 18 17:37 .hadolint.yml 17:42:39 -rw-rw-r-- 1 jenkins jenkins 10851 Oct 18 17:37 Attribution.txt 17:42:39 -rw-rw-r-- 1 jenkins jenkins 11903 Oct 18 17:37 CHANGELOG.md 17:42:39 -rw-rw-r-- 1 jenkins jenkins 2453 Oct 18 17:37 Dockerfile 17:42:39 -rw-rw-r-- 1 jenkins jenkins 678 Oct 18 17:37 GOVERNANCE.md 17:42:39 -rw-rw-r-- 1 jenkins jenkins 659 Oct 18 17:37 Jenkinsfile 17:42:39 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 17:37 LICENSE 17:42:39 -rw-rw-r-- 1 jenkins jenkins 2611 Oct 18 17:37 Makefile 17:42:39 -rw-rw-r-- 1 jenkins jenkins 622 Oct 18 17:37 OWNERS.md 17:42:39 -rw-rw-r-- 1 jenkins jenkins 2575 Oct 18 17:37 README.md 17:42:39 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 17:35 VERSION 17:42:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 17:37 bin 17:42:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 17:37 cmd 17:42:39 -rw-r--r-- 1 jenkins jenkins 54703 Oct 18 17:42 coverage.out 17:42:39 -rwxrwxr-x 1 jenkins jenkins 84 Oct 18 17:37 docker-entrypoint.sh 17:42:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 17:37 docs 17:42:39 -rw-rw-r-- 1 jenkins jenkins 3925 Oct 18 17:37 go.mod 17:42:39 -rw-rw-r-- 1 jenkins jenkins 34838 Oct 18 17:37 go.sum 17:42:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 17:37 internal 17:42:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 17:37 snap 17:42:39 -rw-rw-r-- 1 jenkins jenkins 231 Oct 18 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:40 + 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=b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 --label arch=arm64 --label version=0.0.0 . 17:42:40 Sending build context to Docker daemon 1.419MB 17:42:40 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 17:42:40 Step 2/36 : FROM ${BASE} AS builder 17:42:40 ---> 7595998d1eed 17:42:40 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:42:40 ---> Running in 86484cf466fb 17:42:41 Removing intermediate container 86484cf466fb 17:42:41 ---> 484129feb34a 17:42:41 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:42:41 ---> Running in 58d3295c0036 17:42:41 Removing intermediate container 58d3295c0036 17:42:41 ---> 1aa7d823699a 17:42:41 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:42:41 ---> Running in 70ede6ca3f5d 17:42:41 Removing intermediate container 70ede6ca3f5d 17:42:41 ---> f248ead18114 17:42:41 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:42:41 ---> Running in bf41a7ac0ece 17:42:42 Removing intermediate container bf41a7ac0ece 17:42:42 ---> a47db85fc8de 17:42:42 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:42 ---> Running in cf6609642b8a 17:42:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:42:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:42:44 OK: 273 MiB in 65 packages 17:42:45 Removing intermediate container cf6609642b8a 17:42:45 ---> 72b256cec40c 17:42:45 Step 8/36 : WORKDIR /device-usb-camera 17:42:45 ---> Running in 0402074479dc 17:42:45 Removing intermediate container 0402074479dc 17:42:45 ---> a5bebbdb772a 17:42:45 Step 9/36 : COPY go.mod vendor* ./ 17:42:46 ---> 3483460d57c6 17:42:46 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:46 ---> Running in 6af33e614335 17:42:48 Removing intermediate container 6af33e614335 17:42:48 ---> 35fdf3125294 17:42:48 Step 11/36 : COPY . . 17:42:49 ---> 1015dbc28729 17:42:49 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:42:49 ---> Running in 12d85b70a0c2 17:42:50  % Total % Received % Xferd Average Speed Time Time Time Current 17:42:50 Dload Upload Total Spent Left Speed 17:42:51 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 4911 0 --:--:-- --:--:-- --:--:-- 4933 17:42:52 Removing intermediate container 12d85b70a0c2 17:42:52 ---> 8d10179bb0a8 17:42:52 Step 13/36 : RUN ${MAKE} 17:42:52 ---> Running in 85afcd2d868c 17:42:53 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:44:59 Removing intermediate container 85afcd2d868c 17:44:59 ---> a4c6a2dc71a3 17:44:59 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:44:59 v0.21.6: Pulling from aler9/rtsp-simple-server 17:44:59 8766b47fe142: Pulling fs layer 17:44:59 8766b47fe142: Verifying Checksum 17:44:59 8766b47fe142: Download complete 17:44:59 8766b47fe142: Pull complete 17:44:59 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:44:59 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:44:59 ---> 69d40e2cb93c 17:44:59 Step 15/36 : FROM alpine:3.18 17:44:59 3.18: Pulling from library/alpine 17:44:59 579b34f0a95b: Pulling fs layer 17:44:59 579b34f0a95b: Verifying Checksum 17:44:59 579b34f0a95b: Download complete 17:44:59 579b34f0a95b: Pull complete 17:44:59 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 17:44:59 Status: Downloaded newer image for alpine:3.18 17:44:59 ---> 3cc203321400 17:44:59 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:44:59 ---> Running in e853c2720b20 17:44:59 Removing intermediate container e853c2720b20 17:44:59 ---> ba21ade423a2 17:44:59 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:44:59 ---> Running in 152447212d8b 17:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:44:59 (1/104) Installing dumb-init (1.2.5-r2) 17:44:59 (2/104) Installing sdl2 (2.26.5-r0) 17:44:59 (3/104) Installing svt-av1-libs (1.6.0-r0) 17:44:59 (4/104) Installing aom-libs (3.6.1-r0) 17:44:59 (5/104) Installing libxau (1.0.11-r2) 17:44:59 (6/104) Installing libmd (1.0.4-r2) 17:44:59 (7/104) Installing libbsd (0.11.7-r1) 17:44:59 (8/104) Installing libxdmcp (1.1.4-r2) 17:44:59 (9/104) Installing libxcb (1.15-r1) 17:44:59 (10/104) Installing libx11 (1.8.4-r4) 17:44:59 (11/104) Installing libdrm (2.4.115-r4) 17:44:59 (12/104) Installing libxext (1.3.5-r2) 17:44:59 (13/104) Installing libxfixes (6.0.1-r2) 17:44:59 (14/104) Installing libffi (3.4.4-r2) 17:44:59 (15/104) Installing wayland-libs-client (1.22.0-r2) 17:44:59 (16/104) Installing libva (2.18.0-r1) 17:44:59 (17/104) Installing libvdpau (1.5-r1) 17:44:59 (18/104) Installing ffmpeg-libavutil (6.0-r15) 17:44:59 (19/104) Installing libdav1d (1.2.1-r0) 17:44:59 (20/104) Installing brotli-libs (1.0.9-r14) 17:44:59 (21/104) Installing libgcc (12.2.1_git20220924-r10) 17:44:59 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 17:44:59 (23/104) Installing libhwy (1.0.4-r1) 17:44:59 (24/104) Installing lcms2 (2.15-r2) 17:45:00 (25/104) Installing libjxl (0.8.2-r0) 17:45:00 (26/104) Installing lame-libs (3.100-r5) 17:45:00 (27/104) Installing opus (1.4-r0) 17:45:00 (28/104) Installing libgomp (12.2.1_git20220924-r10) 17:45:00 (29/104) Installing soxr (0.1.3-r5) 17:45:00 (30/104) Installing ffmpeg-libswresample (6.0-r15) 17:45:00 (31/104) Installing libogg (1.3.5-r4) 17:45:00 (32/104) Installing libtheora (1.1.1-r17) 17:45:00 (33/104) Installing libvorbis (1.3.7-r1) 17:45:00 (34/104) Installing libvpx (1.13.0-r2) 17:45:00 (35/104) Installing libwebp (1.3.2-r0) 17:45:00 (36/104) Installing x264-libs (0.164_git20220602-r1) 17:45:00 (37/104) Installing numactl (2.0.16-r4) 17:45:00 (38/104) Installing x265-libs (3.5-r4) 17:45:00 (39/104) Installing xvidcore (1.3.7-r1) 17:45:00 (40/104) Installing ffmpeg-libavcodec (6.0-r15) 17:45:00 (41/104) Installing alsa-lib (1.2.9-r1) 17:45:00 (42/104) Installing libexpat (2.5.0-r1) 17:45:00 (43/104) Installing libbz2 (1.0.8-r5) 17:45:00 (44/104) Installing libpng (1.6.39-r3) 17:45:00 (45/104) Installing freetype (2.13.0-r5) 17:45:00 (46/104) Installing fontconfig (2.14.2-r3) 17:45:00 (47/104) Installing fribidi (1.0.13-r0) 17:45:00 (48/104) Installing libintl (0.21.1-r7) 17:45:00 (49/104) Installing libblkid (2.38.1-r8) 17:45:00 (50/104) Installing libmount (2.38.1-r8) 17:45:00 (51/104) Installing pcre2 (10.42-r1) 17:45:00 (52/104) Installing glib (2.76.4-r0) 17:45:01 (53/104) Installing graphite2 (1.3.14-r5) 17:45:01 (54/104) Installing harfbuzz (7.3.0-r0) 17:45:01 (55/104) Installing libunibreak (5.1-r0) 17:45:01 (56/104) Installing libass (0.17.1-r0) 17:45:01 (57/104) Installing libbluray (1.3.4-r0) 17:45:01 (58/104) Installing gmp (6.2.1-r3) 17:45:01 (59/104) Installing nettle (3.8.1-r2) 17:45:01 (60/104) Installing libunistring (1.1-r1) 17:45:01 (61/104) Installing libidn2 (2.3.4-r1) 17:45:01 (62/104) Installing p11-kit (0.24.1-r2) 17:45:01 (63/104) Installing libtasn1 (4.19.0-r1) 17:45:01 (64/104) Installing gnutls (3.8.0-r2) 17:45:01 (65/104) Installing mpg123-libs (1.31.3-r1) 17:45:01 (66/104) Installing libopenmpt (0.7.2-r0) 17:45:01 (67/104) Installing cjson (1.7.15-r4) 17:45:01 (68/104) Installing mbedtls (2.28.5-r0) 17:45:01 (69/104) Installing librist (0.2.7-r0) 17:45:01 (70/104) Installing libsrt (1.5.2-r0) 17:45:01 (71/104) Installing libssh (0.10.5-r0) 17:45:01 (72/104) Installing xz-libs (5.4.3-r0) 17:45:01 (73/104) Installing libxml2 (2.11.4-r0) 17:45:01 (74/104) Installing libsodium (1.0.18-r3) 17:45:01 (75/104) Installing libzmq (4.3.4-r4) 17:45:01 (76/104) Installing ffmpeg-libavformat (6.0-r15) 17:45:01 (77/104) Installing glslang-libs (1.3.243.0-r1) 17:45:01 (78/104) Installing spirv-tools (1.3.243.0-r1) 17:45:01 (79/104) Installing shaderc (2023.3-r1) 17:45:01 (80/104) Installing vulkan-loader (1.3.243.0-r1) 17:45:01 (81/104) Installing libplacebo (5.264.1-r1) 17:45:01 (82/104) Installing ffmpeg-libpostproc (6.0-r15) 17:45:01 (83/104) Installing ffmpeg-libswscale (6.0-r15) 17:45:01 (84/104) Installing vidstab (1.1.1-r0) 17:45:01 (85/104) Installing zimg (3.0.5-r0) 17:45:01 (86/104) Installing ffmpeg-libavfilter (6.0-r15) 17:45:02 (87/104) Installing libasyncns (0.8-r1) 17:45:02 (88/104) Installing dbus-libs (1.14.8-r0) 17:45:02 (89/104) Installing libltdl (2.4.7-r2) 17:45:02 (90/104) Installing orc (0.4.34-r0) 17:45:02 (91/104) Installing flac-libs (1.4.3-r0) 17:45:02 (92/104) Installing libsndfile (1.2.0-r2) 17:45:02 (93/104) Installing speexdsp (1.2.1-r1) 17:45:02 (94/104) Installing tdb-libs (1.4.8-r1) 17:45:02 (95/104) Installing libpulse (16.1-r10) 17:45:02 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 17:45:02 (97/104) Installing v4l-utils-libs (1.24.1-r0) 17:45:02 (98/104) Installing ffmpeg-libavdevice (6.0-r15) 17:45:02 (99/104) Installing ffmpeg (6.0-r15) 17:45:02 (100/104) Installing udev-init-scripts (35-r1) 17:45:02 (101/104) Installing eudev-libs (3.2.11-r8) 17:45:02 (102/104) Installing zstd-libs (1.5.5-r4) 17:45:02 (103/104) Installing kmod-libs (30-r3) 17:45:02 (104/104) Installing eudev (3.2.11-r8) 17:45:02 Executing busybox-1.36.1-r2.trigger 17:45:02 Executing glib-2.76.4-r0.trigger 17:45:02 Executing eudev-3.2.11-r8.trigger 17:45:02 OK: 110 MiB in 119 packages 17:45:06 Removing intermediate container 152447212d8b 17:45:06 ---> 00c5f7c70761 17:45:06 Step 18/36 : WORKDIR / 17:45:06 ---> Running in bcd5f7ed8c82 17:45:06 Removing intermediate container bcd5f7ed8c82 17:45:06 ---> dda31502c9db 17:45:06 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 17:45:08 ---> 5eb46b7b0ac1 17:45:08 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:45:08 ---> 6b1184ee424c 17:45:08 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:45:09 ---> bfbed2297b8d 17:45:09 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:45:09 ---> 49ed2b0de871 17:45:09 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:45:10 ---> 9d76f060d776 17:45:10 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:45:10 ---> d5cf0ba5a52c 17:45:10 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 17:45:15 ---> 16459190b60d 17:45:15 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:45:15 ---> Running in 713fb1ae70eb 17:45:16 Removing intermediate container 713fb1ae70eb 17:45:16 ---> 6ed75d68a1a9 17:45:16 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:45:16 ---> Running in 1b63d50dda9e 17:45:18 Removing intermediate container 1b63d50dda9e 17:45:18 ---> ec0529d3d12a 17:45:18 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:45:18 ---> Running in 9bc149c232d7 17:45:20 Removing intermediate container 9bc149c232d7 17:45:20 ---> 1efd1af8edf0 17:45:20 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:45:20 ---> Running in d6040f22656e 17:45:21 Removing intermediate container d6040f22656e 17:45:21 ---> 62bdaa1feec5 17:45:21 Step 30/36 : EXPOSE 59983 17:45:21 ---> Running in 407bcfa09e91 17:45:22 Removing intermediate container 407bcfa09e91 17:45:22 ---> 32d534c7b57f 17:45:22 Step 31/36 : EXPOSE 8554 17:45:22 ---> Running in d2f36eb1d491 17:45:22 Removing intermediate container d2f36eb1d491 17:45:22 ---> e849f84655c8 17:45:22 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:45:22 ---> Running in c17feda8481c 17:45:23 Removing intermediate container c17feda8481c 17:45:23 ---> a02c517c3a4e 17:45:23 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:45:23 ---> Running in 2ed1b7107161 17:45:23 Removing intermediate container 2ed1b7107161 17:45:23 ---> 1f38f6830f9b 17:45:23 Step 34/36 : LABEL arch=arm64 17:45:23 ---> Running in 93ad8f38e4e3 17:45:23 Removing intermediate container 93ad8f38e4e3 17:45:23 ---> 34a0f24fb7ed 17:45:23 Step 35/36 : LABEL git_sha=b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 17:45:23 ---> Running in 4007f58e8272 17:45:24 Removing intermediate container 4007f58e8272 17:45:24 ---> 14f8f1d0d88f 17:45:24 Step 36/36 : LABEL version=0.0.0 17:45:24 ---> Running in 9e4d1f8b6445 17:45:24 Removing intermediate container 9e4d1f8b6445 17:45:24 ---> 90c3ea3480a9 17:45:24 [Warning] One or more build-args [ARCH] were not consumed 17:45:24 Successfully built 90c3ea3480a9 17:45:24 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:25 17:45:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:25 arm64: Pulling from edgex-lftools-log-publisher 17:45:25 8998bd30e6a1: Pulling fs layer 17:45:25 04944245beec: Pulling fs layer 17:45:25 699f458cf7ca: Pulling fs layer 17:45:25 765212b225bb: Pulling fs layer 17:45:25 f23df028b6ca: Pulling fs layer 17:45:25 d65c8cfc05b1: Pulling fs layer 17:45:25 2437ff75d9bd: Pulling fs layer 17:45:25 765212b225bb: Waiting 17:45:25 f23df028b6ca: Waiting 17:45:25 d65c8cfc05b1: Waiting 17:45:25 2437ff75d9bd: Waiting 17:45:25 04944245beec: Verifying Checksum 17:45:25 04944245beec: Download complete 17:45:25 765212b225bb: Verifying Checksum 17:45:25 765212b225bb: Download complete 17:45:25 f23df028b6ca: Verifying Checksum 17:45:25 f23df028b6ca: Download complete 17:45:25 d65c8cfc05b1: Verifying Checksum 17:45:25 d65c8cfc05b1: Download complete 17:45:25 699f458cf7ca: Download complete 17:45:26 8998bd30e6a1: Verifying Checksum 17:45:26 8998bd30e6a1: Download complete 17:45:29 2437ff75d9bd: Verifying Checksum 17:45:29 2437ff75d9bd: Download complete 17:45:31 8998bd30e6a1: Pull complete 17:45:31 04944245beec: Pull complete 17:45:33 699f458cf7ca: Pull complete 17:45:33 765212b225bb: Pull complete 17:45:34 f23df028b6ca: Pull complete 17:45:34 d65c8cfc05b1: Pull complete 17:45:52 2437ff75d9bd: Pull complete 17:45:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:45:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:53 prd-ubuntu20.04-docker-arm64-4c-16g-9529 does not seem to be running inside a container 17:45:53 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:45:55 $ docker top 6eee3fd9d251626181880dcdacc2cb2242e647f4070543eea8f56c40e05e2f7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:56 ---> job-cost.sh 17:45:56 lf-activate-venv: SKIPPING 17:45:56 INFO: No Stack... 17:45:57 INFO: Retrieving Pricing Info for: v3-standard-4 17:45:58 INFO: Archiving Costs [Pipeline] sh 17:45:58 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 17:45:58 + cut -d, -f6 [Pipeline] lock 17:45:58 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-302-1-stack-cost] 17:45:58 Resource [jenkins-edgexfoundry-device-usb-camera-PR-302-1-stack-cost] did not exist. Created. 17:45:58 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:45:59 /w/workspace/device-usb-camera/1@tmp/durable-5a37a6b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:45:59 + echo total: 0.10999999940395355 [Pipeline] stash 17:45:59 Warning: overwriting stash ‘stack-cost’ 17:45:59 Stashed 1 file(s) [Pipeline] } 17:45:59 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:46:00 $ docker stop --time=1 6eee3fd9d251626181880dcdacc2cb2242e647f4070543eea8f56c40e05e2f7a 17:46:01 $ docker rm -f --volumes 6eee3fd9d251626181880dcdacc2cb2242e647f4070543eea8f56c40e05e2f7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:46:02 provisioning config files... 17:46:02 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-302@tmp/config8640664592086469966tmp [Pipeline] { [Pipeline] sh 17:46:02 + set +x 17:46:02 + + bash -scurl -- -s 17:46:02 https://codecov.io/bash 17:46:02 17:46:02 _____ _ 17:46:02 / ____| | | 17:46:02 | | ___ __| | ___ ___ _____ __ 17:46:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:46:02 | |___| (_) | (_| | __/ (_| (_) \ V / 17:46:02 \_____\___/ \__,_|\___|\___\___/ \_/ 17:46:02 Bash-1.0.6 17:46:02 17:46:02 17:46:02 ==> git version 2.25.1 found 17:46:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:46:02 Release-Date: 2020-01-08 17:46:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:46:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:46:02 ==> Jenkins CI detected. 17:46:02 current dir:  /w/workspace/foundry_device-usb-camera_PR-302 17:46:02 project root: . 17:46:02 --> token set from env 17:46:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:46:02 ==> Running gcov in . (disable via -X gcov) 17:46:02 ==> Python coveragepy not found 17:46:02 ==> Searching for coverage reports in: 17:46:02 + . 17:46:02 -> Found 1 reports 17:46:02 ==> Detecting git/mercurial file structure 17:46:03 ==> Reading reports 17:46:03 + ./coverage.out bytes=54703 17:46:03 ==> Appending adjustments 17:46:03 https://docs.codecov.io/docs/fixing-reports 17:46:03 + Found adjustments 17:46:03 ==> Gzipping contents 17:46:03 8.0K /tmp/codecov.6CzEuD.gz 17:46:03 ==> Uploading reports 17:46:03 url: https://codecov.io 17:46:03 query: branch=PR-302&commit=b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-302%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=302&job=&cmd_args= 17:46:03 -> Pinging Codecov 17:46:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-302&commit=b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-302%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=302&job=&cmd_args= 17:46:03 -> Uploading to 17:46:03 https://storage.googleapis.com/codecov/v4/raw/2023-10-18/73D8F5FF140700D3E01443B452E23636/b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8/48955eba-d978-4d5e-8cad-18e3287f6645.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T174603Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9423206d16450b0ff5feef8059a69d6badb79f38407b94bb6d4a4f38296d1780 17:46:03 % Total % Received % Xferd Average Speed Time Time Time Current 17:46:03 Dload Upload Total Spent Left Speed 17:46:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6995 0 0 100 6995 0 23955 --:--:-- --:--:-- --:--:-- 23873 100 6995 0 0 100 6995 0 23955 --:--:-- --:--:-- --:--:-- 23873 17:46:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/b0ddf7dd5fb5a7c96d373374b46c5ae9c532bed8 [Pipeline] } 17:46:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:46:05 + [ -d /w/workspace/foundry_device-usb-camera_PR-302/archives ] 17:46:05 + ls -al /w/workspace/foundry_device-usb-camera_PR-302/archives 17:46:05 total 16 17:46:05 drwxr-xr-x 3 root root 4096 Oct 18 17:38 . 17:46:05 drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 17:38 .. 17:46:05 drwxr-xr-x 2 root root 4096 Oct 18 17:38 cost 17:46:05 -rw-r--r-- 1 root root 89 Oct 18 17:38 cost.csv 17:46:05 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-302/archives 17:46:05 + ls -al /w/workspace/foundry_device-usb-camera_PR-302/archives 17:46:05 total 16 17:46:05 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 17:38 . 17:46:05 drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 17:38 .. 17:46:05 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 17:38 cost 17:46:05 -rw-r--r-- 1 jenkins jenkins 89 Oct 18 17:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:46:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:46:06 ---> package-listing.sh 17:46:06 ++ facter osfamily 17:46:06 ++ tr '[:upper:]' '[:lower:]' 17:46:07 + OS_FAMILY=debian 17:46:07 + workspace=/w/workspace/foundry_device-usb-camera_PR-302 17:46:07 + START_PACKAGES=/tmp/packages_start.txt 17:46:07 + END_PACKAGES=/tmp/packages_end.txt 17:46:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:46:07 + PACKAGES=/tmp/packages_start.txt 17:46:07 + '[' /w/workspace/foundry_device-usb-camera_PR-302 ']' 17:46:07 + PACKAGES=/tmp/packages_end.txt 17:46:07 + case "${OS_FAMILY}" in 17:46:07 + dpkg -l 17:46:07 + grep '^ii' 17:46:07 + '[' -f /tmp/packages_start.txt ']' 17:46:07 + '[' -f /tmp/packages_end.txt ']' 17:46:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:46:07 + '[' /w/workspace/foundry_device-usb-camera_PR-302 ']' 17:46:07 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-302/archives/ 17:46:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-302/archives/ [Pipeline] echo 17:46:07 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-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:46:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:46:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:08 prd-ubuntu20.04-docker-8c-8g-9528 does not seem to be running inside a container 17:46:08 $ 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-302/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-302 -v /w/workspace/foundry_device-usb-camera_PR-302:/w/workspace/foundry_device-usb-camera_PR-302:rw,z -v /w/workspace/foundry_device-usb-camera_PR-302@tmp:/w/workspace/foundry_device-usb-camera_PR-302@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:46:08 $ docker top edb92e1551e8dd9ec57f2134e8e2570b0da7121ceaf68244d8c5474e5684b95c -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:08 + touch /tmp/pre-build-complete [Pipeline] sh 17:46:09 + mkdir -p /var/log/sysstat [Pipeline] sh 17:46:09 + ls /var/log/sa-host 17:46:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:46:09 provisioning config files... 17:46:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-302@tmp/config9246765017521115945tmp [Pipeline] { [Pipeline] echo 17:46:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:46:10 ---> create-netrc.sh [Pipeline] } 17:46:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:46:10 ---> python-tools-install.sh [Pipeline] echo 17:46:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:46:10 ---> sudo-logs.sh 17:46:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:46:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:46:11 ---> job-cost.sh 17:46:11 lf-activate-venv: SKIPPING 17:46:11 DEBUG: total: 0.2199999988079071 17:46:11 INFO: Retrieving Stack Cost... 17:46:12 INFO: Retrieving Pricing Info for: v3-standard-8 17:46:18 INFO: Archiving Costs [Pipeline] echo 17:46:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:46:18 ---> logs-deploy.sh 17:46:18 lf-activate-venv: SKIPPING 17:46:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-302/1 17:46:18 INFO: archiving workspace using pattern(s): 17:46:19 Archives upload complete. 17:46:19 INFO: archiving logs to Nexus 17:46:20 ---> uname -a: 17:46:20 Linux prd-ubuntu20-04-docker-8c-8g-9528 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:46:20 17:46:20 17:46:20 ---> lscpu: 17:46:20 Architecture: x86_64 17:46:20 CPU op-mode(s): 32-bit, 64-bit 17:46:20 Byte Order: Little Endian 17:46:20 Address sizes: 40 bits physical, 48 bits virtual 17:46:20 CPU(s): 8 17:46:20 On-line CPU(s) list: 0-7 17:46:20 Thread(s) per core: 1 17:46:20 Core(s) per socket: 1 17:46:20 Socket(s): 8 17:46:20 NUMA node(s): 1 17:46:20 Vendor ID: AuthenticAMD 17:46:20 CPU family: 23 17:46:20 Model: 49 17:46:20 Model name: AMD EPYC-Rome Processor 17:46:20 Stepping: 0 17:46:20 CPU MHz: 2800.000 17:46:20 BogoMIPS: 5600.00 17:46:20 Virtualization: AMD-V 17:46:20 Hypervisor vendor: KVM 17:46:20 Virtualization type: full 17:46:20 L1d cache: 256 KiB 17:46:20 L1i cache: 256 KiB 17:46:20 L2 cache: 4 MiB 17:46:20 L3 cache: 128 MiB 17:46:20 NUMA node0 CPU(s): 0-7 17:46:20 Vulnerability Itlb multihit: Not affected 17:46:20 Vulnerability L1tf: Not affected 17:46:20 Vulnerability Mds: Not affected 17:46:20 Vulnerability Meltdown: Not affected 17:46:20 Vulnerability Mmio stale data: Not affected 17:46:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:46:20 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:46:20 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:46:20 Vulnerability Srbds: Not affected 17:46:20 Vulnerability Tsx async abort: Not affected 17:46:20 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:46:20 17:46:20 17:46:20 ---> nproc: 17:46:20 8 17:46:20 17:46:20 17:46:20 ---> df -h: 17:46:20 Filesystem Size Used Avail Use% Mounted on 17:46:20 overlay 155G 12G 144G 8% / 17:46:20 tmpfs 64M 0 64M 0% /dev 17:46:20 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:46:20 shm 64M 0 64M 0% /dev/shm 17:46:20 /dev/vda1 155G 12G 144G 8% /facter-os 17:46:20 17:46:20 17:46:20 ---> sar -b -r -n DEV: 17:46:20 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9528) 10/18/23 _x86_64_ (8 CPU) 17:46:20 17:46:20 17:34:34 LINUX RESTART (8 CPU) 17:46:20 17:46:20 17:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:46:20 17:36:01 150.04 18.48 131.56 0.00 2052.59 91775.24 0.00 17:46:20 17:37:01 182.52 0.60 181.92 0.00 11.33 109439.12 0.00 17:46:20 17:38:01 241.43 0.17 241.26 0.00 12.00 59373.97 0.00 17:46:20 17:39:01 31.34 0.00 31.34 0.00 0.00 8468.07 0.00 17:46:20 17:40:01 39.33 12.70 26.63 0.00 5454.02 6324.55 0.00 17:46:20 17:41:01 4.23 0.00 4.23 0.00 0.00 51.46 0.00 17:46:20 17:42:01 1.05 0.00 1.05 0.00 0.00 12.53 0.00 17:46:20 17:43:01 1.45 0.00 1.45 0.00 0.00 16.66 0.00 17:46:20 17:44:01 1.07 0.00 1.07 0.00 0.00 11.46 0.00 17:46:20 17:45:01 2.18 0.00 2.18 0.00 0.00 37.86 0.00 17:46:20 17:46:01 1.97 0.18 1.78 0.00 18.53 18.93 0.00 17:46:20 Average: 59.69 2.92 56.77 0.00 686.20 25049.07 0.00 17:46:20 17:46:20 17:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:46:20 17:36:01 29242724 31552112 766880 2.33 78796 2499584 1968152 5.80 1014232 2244236 5844 17:46:20 17:37:01 27656820 31019524 1282872 3.90 151704 3372612 2311508 6.81 1721588 3000540 207012 17:46:20 17:38:01 27448608 31536388 765652 2.33 166884 4036672 1834132 5.41 1301496 3581768 229780 17:46:20 17:39:01 27456896 31544972 757504 2.30 167176 4036680 1761524 5.19 1303300 3569616 184 17:46:20 17:40:01 27082616 31523236 764840 2.33 175372 4370160 1823096 5.37 1538928 3679480 964 17:46:20 17:41:01 27089012 31529692 758436 2.31 175408 4370156 1840304 5.42 1533348 3679440 12 17:46:20 17:42:01 27089216 31529956 758084 2.31 175436 4370164 1840304 5.42 1533232 3679444 12 17:46:20 17:43:01 27096768 31537528 750496 2.28 175468 4370172 1840304 5.42 1525852 3679452 48 17:46:20 17:44:01 27096500 31537296 750684 2.28 175488 4370172 1840304 5.42 1526004 3679456 12 17:46:20 17:45:01 27097420 31538872 749608 2.28 175548 4370152 1840304 5.42 1526276 3680044 20 17:46:20 17:46:01 27083788 31525948 762204 2.32 175560 4370708 1873164 5.52 1540396 3680544 8 17:46:20 Average: 27403670 31488684 806115 2.45 162985 4048839 1888463 5.57 1460423 3468547 40354 17:46:20 17:46:20 17:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:46:20 17:36:01 ens3 724.85 428.56 5580.40 91.94 0.00 0.00 0.00 0.00 17:46:20 17:36:01 veth48a8c64 67.01 78.95 6.53 57.20 0.00 0.00 0.00 0.00 17:46:20 17:36:01 lo 6.47 6.47 0.63 0.63 0.00 0.00 0.00 0.00 17:46:20 17:36:01 docker0 71.95 87.37 6.11 141.76 0.00 0.00 0.00 0.00 17:46:20 17:37:01 ens3 254.67 204.48 2330.97 75.14 0.00 0.00 0.00 0.00 17:46:20 17:37:01 veth72fe446 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 17:46:20 17:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:46:20 17:37:01 docker0 180.96 222.94 14.17 2305.79 0.00 0.00 0.00 0.00 17:46:20 17:38:01 ens3 188.49 107.65 3646.75 45.47 0.00 0.00 0.00 0.00 17:46:20 17:38:01 lo 2.60 2.60 0.27 0.27 0.00 0.00 0.00 0.00 17:46:20 17:38:01 docker0 18.26 50.09 1.33 831.79 0.00 0.00 0.00 0.00 17:46:20 17:39:01 ens3 8.62 5.43 8.13 2.91 0.00 0.00 0.00 0.00 17:46:20 17:39:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 17:46:20 17:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:40:01 ens3 135.29 72.67 2027.74 5.10 0.00 0.00 0.00 0.00 17:46:20 17:40:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 17:46:20 17:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:41:01 ens3 0.87 0.63 0.35 0.28 0.00 0.00 0.00 0.00 17:46:20 17:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:46:20 17:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:42:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:43:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:46:20 17:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:46:20 17:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:44:01 ens3 0.58 0.07 0.17 0.00 0.00 0.00 0.00 0.00 17:46:20 17:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:45:01 ens3 7.08 3.95 8.48 0.47 0.00 0.00 0.00 0.00 17:46:20 17:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:46:20 17:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 17:46:01 ens3 0.45 0.33 0.19 0.09 0.00 0.00 0.00 0.00 17:46:20 17:46:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 17:46:20 17:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:20 Average: ens3 120.10 74.90 1236.65 20.13 0.00 0.00 0.00 0.00 17:46:20 Average: lo 0.96 0.96 0.09 0.09 0.00 0.00 0.00 0.00 17:46:20 Average: docker0 24.65 32.77 1.97 298.15 0.00 0.00 0.00 0.00 17:46:20 17:46:20 17:46:20 ---> sar -P ALL: 17:46:20 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9528) 10/18/23 _x86_64_ (8 CPU) 17:46:20 17:46:20 17:34:34 LINUX RESTART (8 CPU) 17:46:20 17:46:20 17:35:01 CPU %user %nice %system %iowait %steal %idle 17:46:20 17:36:01 all 8.70 0.00 2.94 1.49 0.06 86.81 17:46:20 17:36:01 0 13.87 0.00 2.81 2.42 0.07 80.84 17:46:20 17:36:01 1 7.02 0.00 2.69 3.00 0.05 87.24 17:46:20 17:36:01 2 8.91 0.00 3.08 0.57 0.07 87.37 17:46:20 17:36:01 3 7.78 0.00 3.25 0.61 0.07 88.29 17:46:20 17:36:01 4 10.43 0.00 2.91 0.79 0.07 85.80 17:46:20 17:36:01 5 6.57 0.00 2.25 0.03 0.05 91.09 17:46:20 17:36:01 6 7.69 0.00 4.08 4.32 0.05 83.86 17:46:20 17:36:01 7 7.29 0.00 2.43 0.22 0.05 90.01 17:46:20 17:37:01 all 20.81 0.00 3.93 2.77 0.07 72.42 17:46:20 17:37:01 0 23.27 0.00 3.88 1.43 0.07 71.36 17:46:20 17:37:01 1 19.30 0.00 4.62 16.39 0.08 59.60 17:46:20 17:37:01 2 21.86 0.00 4.49 0.62 0.07 72.96 17:46:20 17:37:01 3 22.72 0.00 4.36 0.34 0.07 72.52 17:46:20 17:37:01 4 21.28 0.00 3.68 2.42 0.07 72.56 17:46:20 17:37:01 5 18.66 0.00 4.12 0.52 0.05 76.65 17:46:20 17:37:01 6 21.39 0.00 3.37 0.37 0.07 74.80 17:46:20 17:37:01 7 17.98 0.00 2.93 0.19 0.07 78.83 17:46:20 17:38:01 all 26.07 0.00 4.63 2.69 0.08 66.53 17:46:20 17:38:01 0 26.69 0.00 4.30 3.02 0.07 65.93 17:46:20 17:38:01 1 23.56 0.00 4.28 4.63 0.08 67.44 17:46:20 17:38:01 2 27.01 0.00 4.74 5.83 0.07 62.36 17:46:20 17:38:01 3 27.16 0.00 4.32 2.83 0.08 65.61 17:46:20 17:38:01 4 30.22 0.00 5.01 0.27 0.10 64.39 17:46:20 17:38:01 5 24.43 0.00 4.55 3.00 0.07 67.95 17:46:20 17:38:01 6 25.76 0.00 4.48 1.19 0.07 68.50 17:46:20 17:38:01 7 23.74 0.00 5.36 0.74 0.08 70.07 17:46:20 17:39:01 all 0.42 0.00 0.16 0.45 0.01 98.96 17:46:20 17:39:01 0 0.22 0.00 0.40 3.26 0.00 96.12 17:46:20 17:39:01 1 0.17 0.00 0.12 0.02 0.00 99.70 17:46:20 17:39:01 2 0.50 0.00 0.13 0.32 0.00 99.05 17:46:20 17:39:01 3 1.49 0.00 0.13 0.00 0.02 98.36 17:46:20 17:39:01 4 0.33 0.00 0.17 0.03 0.00 99.46 17:46:20 17:39:01 5 0.20 0.00 0.13 0.02 0.02 99.63 17:46:20 17:39:01 6 0.32 0.00 0.10 0.00 0.02 99.57 17:46:20 17:39:01 7 0.13 0.00 0.08 0.00 0.00 99.78 17:46:20 17:40:01 all 1.43 0.00 0.63 0.39 0.01 97.52 17:46:20 17:40:01 0 0.67 0.00 0.65 0.92 0.02 97.75 17:46:20 17:40:01 1 2.70 0.00 0.85 0.55 0.02 95.88 17:46:20 17:40:01 2 1.25 0.00 0.55 0.38 0.02 97.80 17:46:20 17:40:01 3 1.98 0.00 0.65 0.93 0.02 96.41 17:46:20 17:40:01 4 1.07 0.00 0.65 0.05 0.02 98.21 17:46:20 17:40:01 5 0.87 0.00 0.42 0.17 0.00 98.55 17:46:20 17:40:01 6 0.98 0.00 0.55 0.10 0.00 98.37 17:46:20 17:40:01 7 1.95 0.00 0.75 0.05 0.02 97.23 17:46:20 17:41:01 all 0.03 0.00 0.03 0.01 0.00 99.93 17:46:20 17:41:01 0 0.05 0.00 0.03 0.03 0.02 99.87 17:46:20 17:41:01 1 0.02 0.00 0.03 0.02 0.00 99.93 17:46:20 17:41:01 2 0.05 0.00 0.02 0.00 0.00 99.93 17:46:20 17:41:01 3 0.10 0.00 0.02 0.00 0.00 99.88 17:46:20 17:41:01 4 0.02 0.00 0.03 0.00 0.02 99.93 17:46:20 17:41:01 5 0.00 0.00 0.03 0.00 0.00 99.97 17:46:20 17:41:01 6 0.02 0.00 0.02 0.00 0.00 99.97 17:46:20 17:41:01 7 0.00 0.00 0.02 0.00 0.00 99.98 17:46:20 17:42:01 all 0.02 0.00 0.02 0.00 0.00 99.96 17:46:20 17:42:01 0 0.02 0.00 0.08 0.02 0.00 99.88 17:46:20 17:42:01 1 0.02 0.00 0.00 0.00 0.00 99.98 17:46:20 17:42:01 2 0.02 0.00 0.00 0.00 0.00 99.98 17:46:20 17:42:01 3 0.05 0.00 0.00 0.00 0.00 99.95 17:46:20 17:42:01 4 0.00 0.00 0.02 0.00 0.00 99.98 17:46:20 17:42:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:46:20 17:42:01 6 0.03 0.00 0.02 0.00 0.00 99.95 17:46:20 17:42:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:46:20 17:43:01 all 0.23 0.00 0.01 0.00 0.01 99.75 17:46:20 17:43:01 0 0.05 0.00 0.03 0.02 0.02 99.88 17:46:20 17:43:01 1 0.00 0.00 0.00 0.02 0.00 99.98 17:46:20 17:43:01 2 0.02 0.00 0.02 0.00 0.03 99.93 17:46:20 17:43:01 3 1.61 0.00 0.00 0.00 0.00 98.39 17:46:20 17:43:01 4 0.03 0.00 0.02 0.00 0.00 99.95 17:46:20 17:43:01 5 0.03 0.00 0.00 0.00 0.00 99.97 17:46:20 17:43:01 6 0.03 0.00 0.02 0.00 0.02 99.93 17:46:20 17:43:01 7 0.02 0.00 0.03 0.00 0.00 99.95 17:46:20 17:44:01 all 0.26 0.00 0.01 0.00 0.00 99.73 17:46:20 17:44:01 0 0.05 0.00 0.03 0.00 0.00 99.92 17:46:20 17:44:01 1 0.00 0.00 0.00 0.00 0.02 99.98 17:46:20 17:44:01 2 0.02 0.00 0.00 0.00 0.00 99.98 17:46:20 17:44:01 3 1.97 0.00 0.00 0.00 0.00 98.03 17:46:20 17:44:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:46:20 17:44:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:46:20 17:44:01 6 0.03 0.00 0.00 0.00 0.00 99.97 17:46:20 17:44:01 7 0.00 0.00 0.02 0.00 0.00 99.98 17:46:20 17:45:01 all 0.19 0.00 0.01 0.01 0.00 99.79 17:46:20 17:45:01 0 0.05 0.00 0.02 0.03 0.02 99.88 17:46:20 17:45:01 1 0.03 0.00 0.00 0.02 0.00 99.95 17:46:20 17:45:01 2 0.12 0.00 0.02 0.00 0.00 99.87 17:46:20 17:45:01 3 1.17 0.00 0.00 0.00 0.00 98.83 17:46:20 17:45:01 4 0.03 0.00 0.02 0.00 0.00 99.95 17:46:20 17:45:01 5 0.00 0.00 0.02 0.00 0.00 99.98 17:46:20 17:45:01 6 0.05 0.00 0.02 0.00 0.00 99.93 17:46:20 17:45:01 7 0.07 0.00 0.02 0.00 0.00 99.92 17:46:20 17:46:01 all 0.13 0.00 0.04 0.00 0.00 99.81 17:46:20 17:46:01 0 0.03 0.00 0.03 0.02 0.00 99.92 17:46:20 17:46:01 1 0.02 0.00 0.02 0.02 0.00 99.95 17:46:20 17:46:01 2 0.33 0.00 0.03 0.00 0.00 99.63 17:46:20 17:46:01 3 0.02 0.00 0.02 0.00 0.02 99.95 17:46:20 17:46:01 4 0.58 0.00 0.17 0.00 0.02 99.23 17:46:20 17:46:01 5 0.03 0.00 0.02 0.00 0.00 99.95 17:46:20 17:46:01 6 0.03 0.00 0.03 0.00 0.00 99.93 17:46:20 17:46:01 7 0.02 0.00 0.03 0.00 0.00 99.95 17:46:20 17:46:20 Average: CPU %user %nice %system %iowait %steal %idle 17:46:20 Average: all 5.26 0.00 1.12 0.71 0.02 92.89 17:46:20 Average: 0 5.87 0.00 1.11 1.01 0.02 91.98 17:46:20 Average: 1 4.76 0.00 1.14 2.22 0.02 91.86 17:46:20 Average: 2 5.42 0.00 1.18 0.70 0.02 92.67 17:46:20 Average: 3 5.96 0.00 1.15 0.42 0.02 92.44 17:46:20 Average: 4 5.78 0.00 1.15 0.32 0.03 92.72 17:46:20 Average: 5 4.58 0.00 1.04 0.34 0.02 94.02 17:46:20 Average: 6 5.09 0.00 1.15 0.54 0.02 93.20 17:46:20 Average: 7 4.62 0.00 1.05 0.11 0.02 94.20 17:46:20 17:46:20 17:46:20