Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3cabf7c6eba1cba02f7a1c607e832a327ddf500a+6e9e8282a24c5b81fc31740ee0ad2433cd2c3582 (bba8275d0ebb310f10a3f7e747b146f3168b81ae) 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-ssh13691623627888537421.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh16517986463348282480.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-309/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-309/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13229318427486662351.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17937912875601297635.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-309/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-309/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7165809715914305997.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [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-18064 in /w/workspace/foundry_device-usb-camera_PR-309 [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-309 # 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/309/head:refs/remotes/origin/PR-309 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6e9e8282a24c5b81fc31740ee0ad2433cd2c3582 into PR head commit 3cabf7c6eba1cba02f7a1c607e832a327ddf500a Merge succeeded, producing 66912457f38a9c2cc7ce3d24aa774debc4019482 Checking out Revision 66912457f38a9c2cc7ce3d24aa774debc4019482 (PR-309) > git config core.sparsecheckout # timeout=10 > git checkout -f 3cabf7c6eba1cba02f7a1c607e832a327ddf500a # 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 6e9e8282a24c5b81fc31740ee0ad2433cd2c3582 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66912457f38a9c2cc7ce3d24aa774debc4019482 # timeout=10 Commit message: "Merge commit '6e9e8282a24c5b81fc31740ee0ad2433cd2c3582' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d93c0bd4fc3028de58e1eb306385918abb96e642 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:27 ========================================================= 06:15:27 EdgeX Global Pipelines Version Info 06:15:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:28 ------------------- 06:15:28 stable info: 06:15:28 ------------------- 06:15:28 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 06:15:28 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 06:15:28 Message: update stable to v1.0.257 06:15:29 ------------------- 06:15:29 experimental info: 06:15:29 ------------------- 06:15:29 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:29 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 06:15:29 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-309 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-309 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-309 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66912457f38a9c2cc7ce3d24aa774debc4019482 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6691245 [Pipeline] echo 06:15:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:29 provisioning config files... 06:15:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-309@tmp/config10082465277155436448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:29 ---> docker-login.sh 06:15:29 nexus3.edgexfoundry.org:10001 06:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:30 Configure a credential helper to remove this warning. See 06:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:30 06:15:30 Login Succeeded 06:15:30 nexus3.edgexfoundry.org:10002 06:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:30 Configure a credential helper to remove this warning. See 06:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:30 06:15:30 Login Succeeded 06:15:30 nexus3.edgexfoundry.org:10003 06:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:30 Configure a credential helper to remove this warning. See 06:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:30 06:15:30 Login Succeeded 06:15:30 nexus3.edgexfoundry.org:10004 06:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:30 Configure a credential helper to remove this warning. See 06:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:30 06:15:30 Login Succeeded 06:15:30 docker.io 06:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:31 Configure a credential helper to remove this warning. See 06:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:31 06:15:31 Login Succeeded 06:15:31 ---> docker-login.sh ends [Pipeline] } 06:15:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:15:31 + git rev-list -1 --merges 66912457f38a9c2cc7ce3d24aa774debc4019482~1..66912457f38a9c2cc7ce3d24aa774debc4019482 [Pipeline] echo 06:15:31 -----------> git rev-list -1 --merges 66912457f38a9c2cc7ce3d24aa774debc4019482~1..66912457f38a9c2cc7ce3d24aa774debc4019482 66912457f38a9c2cc7ce3d24aa774debc4019482 06:15:31 66912457f38a9c2cc7ce3d24aa774debc4019482 [false] [Pipeline] sh 06:15:31 + git log --format=format:%s -1 66912457f38a9c2cc7ce3d24aa774debc4019482 [Pipeline] echo 06:15:31 ========================================================= 06:15:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:15:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:32 + git log --format=format:%s -1 66912457f38a9c2cc7ce3d24aa774debc4019482 [Pipeline] echo 06:15:32 [semverPrep] GIT_COMMIT: 66912457f38a9c2cc7ce3d24aa774debc4019482, Commit Message: Merge commit '6e9e8282a24c5b81fc31740ee0ad2433cd2c3582' into HEAD [Pipeline] echo 06:15:32 [semverPrep] This is not a build commit. [Pipeline] sh 06:15:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:32 + grep -v github /etc/ssh/ssh_known_hosts 06:15:32 + [ -e /tmp/ssh_known_hosts ] 06:15:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:15:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:15:32 + sudo tee -a /etc/ssh/ssh_known_hosts 06:15:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:32 06:15:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:33 0.1.4: Pulling from edgex-devops/py-git-semver 06:15:33 b85a868b505f: Pulling fs layer 06:15:33 e2be974225ed: Pulling fs layer 06:15:33 339a4e72a1f5: Pulling fs layer 06:15:33 988bab9f4d93: Pulling fs layer 06:15:33 1469e6f7b9e6: Pulling fs layer 06:15:33 eaf3925da568: Pulling fs layer 06:15:33 bab4dde63d76: Pulling fs layer 06:15:33 bde34c3a00c8: Pulling fs layer 06:15:33 b352a97aabf1: Pulling fs layer 06:15:33 4872d77fe225: Pulling fs layer 06:15:33 5851b861e8e6: Pulling fs layer 06:15:33 eaf3925da568: Waiting 06:15:33 bab4dde63d76: Waiting 06:15:33 1469e6f7b9e6: Waiting 06:15:33 988bab9f4d93: Waiting 06:15:33 b352a97aabf1: Waiting 06:15:33 4872d77fe225: Waiting 06:15:33 5851b861e8e6: Waiting 06:15:33 e2be974225ed: Verifying Checksum 06:15:33 e2be974225ed: Download complete 06:15:33 988bab9f4d93: Verifying Checksum 06:15:33 988bab9f4d93: Download complete 06:15:33 1469e6f7b9e6: Verifying Checksum 06:15:33 1469e6f7b9e6: Download complete 06:15:33 eaf3925da568: Verifying Checksum 06:15:33 eaf3925da568: Download complete 06:15:33 339a4e72a1f5: Verifying Checksum 06:15:33 339a4e72a1f5: Download complete 06:15:33 bde34c3a00c8: Verifying Checksum 06:15:33 bde34c3a00c8: Download complete 06:15:33 b352a97aabf1: Verifying Checksum 06:15:33 b352a97aabf1: Download complete 06:15:33 4872d77fe225: Download complete 06:15:33 5851b861e8e6: Verifying Checksum 06:15:33 5851b861e8e6: Download complete 06:15:33 b85a868b505f: Verifying Checksum 06:15:33 b85a868b505f: Download complete 06:15:33 bab4dde63d76: Verifying Checksum 06:15:33 bab4dde63d76: Download complete 06:15:34 b85a868b505f: Pull complete 06:15:34 e2be974225ed: Pull complete 06:15:35 339a4e72a1f5: Pull complete 06:15:35 988bab9f4d93: Pull complete 06:15:35 1469e6f7b9e6: Pull complete 06:15:35 eaf3925da568: Pull complete 06:15:37 bab4dde63d76: Pull complete 06:15:37 bde34c3a00c8: Pull complete 06:15:37 b352a97aabf1: Pull complete 06:15:37 4872d77fe225: Pull complete 06:15:37 5851b861e8e6: Pull complete 06:15:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:15:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:38 prd-ubuntu20.04-docker-8c-8g-18064 does not seem to be running inside a container 06:15:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-309 -v /w/workspace/foundry_device-usb-camera_PR-309:/w/workspace/foundry_device-usb-camera_PR-309:rw,z -v /w/workspace/foundry_device-usb-camera_PR-309@tmp:/w/workspace/foundry_device-usb-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:15:40 $ docker top 2b6c27dde707f608ba9575b82bca65e567015344bd66b5f5de7e51c7d107954f -eo pid,comm 06:15:41 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). 06:15:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:41 [ssh-agent] Looking for ssh-agent implementation... 06:15:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:41 $ docker exec 2b6c27dde707f608ba9575b82bca65e567015344bd66b5f5de7e51c7d107954f ssh-agent 06:15:41 SSH_AUTH_SOCK=/tmp/ssh-WTyXgzSQbDcu/agent.31 06:15:41 SSH_AGENT_PID=37 06:15:41 Running ssh-add (command line suppressed) 06:15:41 Identity added: /w/workspace/foundry_device-usb-camera_PR-309@tmp/private_key_9693745664239430133.key (/w/workspace/foundry_device-usb-camera_PR-309@tmp/private_key_9693745664239430133.key) 06:15:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:41 + git tag --points-at HEAD [Pipeline] } 06:15:41 $ docker exec --env ******** --env ******** 2b6c27dde707f608ba9575b82bca65e567015344bd66b5f5de7e51c7d107954f ssh-agent -k 06:15:41 unset SSH_AUTH_SOCK; 06:15:41 unset SSH_AGENT_PID; 06:15:41 echo Agent pid 37 killed; 06:15:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:41 [ssh-agent] Looking for ssh-agent implementation... 06:15:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:41 $ docker exec 2b6c27dde707f608ba9575b82bca65e567015344bd66b5f5de7e51c7d107954f ssh-agent 06:15:42 SSH_AUTH_SOCK=/tmp/ssh-IzjrSlwPHryy/agent.69 06:15:42 SSH_AGENT_PID=75 06:15:42 Running ssh-add (command line suppressed) 06:15:42 Identity added: /w/workspace/foundry_device-usb-camera_PR-309@tmp/private_key_18298941013061008586.key (/w/workspace/foundry_device-usb-camera_PR-309@tmp/private_key_18298941013061008586.key) 06:15:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:42 + git semver init 06:15:42 2023-11-15 06:15:42,674 [run_init] DEBUG init version:0.0.0 force:False 06:15:42 2023-11-15 06:15:42,675 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-309/.semver 06:15:42 2023-11-15 06:15:42,675 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-309/.semver 06:15:42 2023-11-15 06:15:42,676 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-309/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-309, universal_newlines=False, shell=None, istream=None) 06:15:43 2023-11-15 06:15:43,532 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-309/.git/info/exclude 06:15:43 2023-11-15 06:15:43,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-309/.semver/PR-309 with force:False 06:15:43 2023-11-15 06:15:43,532 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-309/.semver/PR-309 06:15:43 2023-11-15 06:15:43,536 [execute] INFO git cat-file --batch-check 06:15:43 2023-11-15 06:15:43,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-309/.semver, universal_newlines=False, shell=None, istream=) 06:15:43 2023-11-15 06:15:43,542 [execute] INFO git cat-file --batch 06:15:43 2023-11-15 06:15:43,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-309/.semver, universal_newlines=False, shell=None, istream=) 06:15:43 2023-11-15 06:15:43,547 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-309/.semver/PR-309 06:15:43 0.0.0 [Pipeline] } 06:15:43 $ docker exec --env ******** --env ******** 2b6c27dde707f608ba9575b82bca65e567015344bd66b5f5de7e51c7d107954f ssh-agent -k 06:15:43 unset SSH_AUTH_SOCK; 06:15:43 unset SSH_AGENT_PID; 06:15:43 echo Agent pid 75 killed; 06:15:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:44 + git semver [Pipeline] } 06:15:44 $ docker stop --time=1 2b6c27dde707f608ba9575b82bca65e567015344bd66b5f5de7e51c7d107954f 06:15:45 $ docker rm -f --volumes 2b6c27dde707f608ba9575b82bca65e567015344bd66b5f5de7e51c7d107954f [Pipeline] // withDockerContainer [Pipeline] sh 06:15:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:46 Stashed 1 file(s) [Pipeline] echo 06:15:46 [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 06:15:46 provisioning config files... 06:15:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-309@tmp/config12115565985679552441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:46 ---> docker-login.sh 06:15:46 nexus3.edgexfoundry.org:10001 06:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:46 Configure a credential helper to remove this warning. See 06:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:46 06:15:46 Login Succeeded 06:15:46 nexus3.edgexfoundry.org:10002 06:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:46 Configure a credential helper to remove this warning. See 06:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:46 06:15:46 Login Succeeded 06:15:46 nexus3.edgexfoundry.org:10003 06:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:46 Configure a credential helper to remove this warning. See 06:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:46 06:15:46 Login Succeeded 06:15:46 nexus3.edgexfoundry.org:10004 06:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:46 Configure a credential helper to remove this warning. See 06:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:46 06:15:46 Login Succeeded 06:15:46 docker.io 06:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:47 Configure a credential helper to remove this warning. See 06:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:47 06:15:47 Login Succeeded 06:15:47 ---> docker-login.sh ends [Pipeline] } 06:15:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:15:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:15:47 ========================================================= 06:15:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:15:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:47 + 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 . 06:15:47 Sending build context to Docker daemon 2.322MB 06:15:47 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:15:47 Step 2/13 : FROM ${BASE} AS builder 06:15:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:47 7264a8db6415: Pulling fs layer 06:15:47 c4d48a809fc2: Pulling fs layer 06:15:47 4f1c88b9dad5: Pulling fs layer 06:15:47 ad3a456e5733: Pulling fs layer 06:15:47 69c7f0334f64: Pulling fs layer 06:15:47 1f1c1a5573a3: Pulling fs layer 06:15:47 ce7588e14bc9: Pulling fs layer 06:15:47 b5e4710f87ac: Pulling fs layer 06:15:47 ad3a456e5733: Waiting 06:15:47 69c7f0334f64: Waiting 06:15:47 1f1c1a5573a3: Waiting 06:15:47 ce7588e14bc9: Waiting 06:15:47 b5e4710f87ac: Waiting 06:15:47 c4d48a809fc2: Download complete 06:15:47 ad3a456e5733: Verifying Checksum 06:15:47 ad3a456e5733: Download complete 06:15:47 69c7f0334f64: Verifying Checksum 06:15:47 69c7f0334f64: Download complete 06:15:47 7264a8db6415: Verifying Checksum 06:15:47 7264a8db6415: Download complete 06:15:47 1f1c1a5573a3: Verifying Checksum 06:15:47 1f1c1a5573a3: Download complete 06:15:47 7264a8db6415: Pull complete 06:15:48 b5e4710f87ac: Verifying Checksum 06:15:48 b5e4710f87ac: Download complete 06:15:48 c4d48a809fc2: Pull complete 06:15:48 4f1c88b9dad5: Verifying Checksum 06:15:48 4f1c88b9dad5: Download complete 06:15:48 ce7588e14bc9: Verifying Checksum 06:15:48 ce7588e14bc9: Download complete 06:15:51 4f1c88b9dad5: Pull complete 06:15:51 ad3a456e5733: Pull complete 06:15:51 69c7f0334f64: Pull complete 06:15:51 1f1c1a5573a3: Pull complete 06:15:53 ce7588e14bc9: Pull complete 06:15:54 b5e4710f87ac: Pull complete 06:15:54 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 06:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:15:54 ---> 88b5674ff536 06:15:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:15:58 ---> Running in b93f0c6a25d7 06:15:58 Removing intermediate container b93f0c6a25d7 06:15:58 ---> 9a9d67d7e827 06:15:58 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:58 ---> Running in 862f675686f1 06:15:58 Removing intermediate container 862f675686f1 06:15:58 ---> f69ea29c5d3e 06:15:58 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:15:58 ---> Running in 7355e15b3218 06:15:58 Removing intermediate container 7355e15b3218 06:15:58 ---> b84bf305df74 06:15:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:15:58 ---> Running in 673d23e2925b 06:15:59 Removing intermediate container 673d23e2925b 06:15:59 ---> 0c3c9007d668 06:15:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:59 ---> Running in 3e839ee0bf5b 06:15:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:15:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:15:59 (1/13) Installing libintl (0.21.1-r7) 06:15:59 (2/13) Installing eudev-libs (3.2.11-r8) 06:15:59 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 06:15:59 (4/13) Installing v4l-utils-libs (1.24.1-r0) 06:15:59 (5/13) Installing v4l-utils (1.24.1-r0) 06:15:59 (6/13) Installing libdvbv5 (1.24.1-r0) 06:15:59 (7/13) Installing udev-init-scripts (35-r1) 06:15:59 (8/13) Installing libblkid (2.38.1-r8) 06:15:59 (9/13) Installing xz-libs (5.4.3-r0) 06:15:59 (10/13) Installing kmod-libs (30-r3) 06:15:59 (11/13) Installing eudev (3.2.11-r8) 06:15:59 (12/13) Installing eudev-dev (3.2.11-r8) 06:15:59 (13/13) Installing v4l-utils-dev (1.24.1-r0) 06:15:59 Executing busybox-1.36.1-r5.trigger 06:15:59 Executing eudev-3.2.11-r8.trigger 06:15:59 OK: 271 MiB in 65 packages 06:16:00 Removing intermediate container 3e839ee0bf5b 06:16:00 ---> 4f551adca7af 06:16:00 Step 8/13 : WORKDIR /device-usb-camera 06:16:00 ---> Running in db807a1e0417 06:16:00 Removing intermediate container db807a1e0417 06:16:00 ---> 26937e3222e7 06:16:00 Step 9/13 : COPY go.mod vendor* ./ 06:16:00 ---> 23a8fff8d575 06:16:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:00 ---> Running in 5617b0a74989 06:16:01 Still waiting to schedule task 06:16:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:17:08 Removing intermediate container 5617b0a74989 06:17:08 ---> bfd24787d67d 06:17:08 Step 11/13 : COPY . . 06:17:08 ---> 2cedf96dceb6 06:17:08 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:17:08 ---> Running in 9f8181f3fa22 06:17:08  % Total % Received % Xferd Average Speed Time Time Time Current 06:17:08  Dload Upload Total Spent Left Speed 06:17:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1253 100 1253 0 0 11593 0 --:--:-- --:--:-- --:--:-- 11710 06:17:08 Removing intermediate container 9f8181f3fa22 06:17:08 ---> b713cf333602 06:17:08 Step 13/13 : RUN ${MAKE} 06:17:08 ---> Running in a0c3b5d155a9 06:17:08 noop 06:17:08 Removing intermediate container a0c3b5d155a9 06:17:08 ---> c3c680fac7a9 06:17:08 Successfully built c3c680fac7a9 06:17:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:08 + docker inspect -f . ci-base-image-x86_64 06:17:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:08 prd-ubuntu20.04-docker-8c-8g-18064 does not seem to be running inside a container 06:17:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-309 -v /w/workspace/foundry_device-usb-camera_PR-309:/w/workspace/foundry_device-usb-camera_PR-309:rw,z -v /w/workspace/foundry_device-usb-camera_PR-309@tmp:/w/workspace/foundry_device-usb-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:09 $ docker top a862d5475d0fad4fc637f073bc06d0ef94b7d1b5fa8efca0a199622400658372 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:09 + go version 06:17:09 go version go1.21.0 linux/amd64 [Pipeline] } 06:17:09 $ docker stop --time=1 a862d5475d0fad4fc637f073bc06d0ef94b7d1b5fa8efca0a199622400658372 06:17:10 $ docker rm -f --volumes a862d5475d0fad4fc637f073bc06d0ef94b7d1b5fa8efca0a199622400658372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:11 + docker inspect -f . ci-base-image-x86_64 06:17:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:11 prd-ubuntu20.04-docker-8c-8g-18064 does not seem to be running inside a container 06:17:11 $ 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-309 -v /w/workspace/foundry_device-usb-camera_PR-309:/w/workspace/foundry_device-usb-camera_PR-309:rw,z -v /w/workspace/foundry_device-usb-camera_PR-309@tmp:/w/workspace/foundry_device-usb-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:11 $ docker top 26455952a8d7d0676f14c2c27e8639beb8e6836870d1257caac37213940a19e3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:11 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-309 [Pipeline] fileExists [Pipeline] sh 06:17:12 + make test 06:17:12 go test ./... -coverprofile=coverage.out ./... 06:17:13 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:17:24 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:17:24 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 4.4% of statements 06:17:34 go vet ./... 06:17:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:17:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:17:35 ./bin/test-attribution-txt.sh [Pipeline] echo 06:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:17:35 $ docker stop --time=1 26455952a8d7d0676f14c2c27e8639beb8e6836870d1257caac37213940a19e3 06:17:39 $ docker rm -f --volumes 26455952a8d7d0676f14c2c27e8639beb8e6836870d1257caac37213940a19e3 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:17:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:17:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:40 + ls -al . 06:17:40 total 224 06:17:40 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 06:17 . 06:17:40 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 06:15 .. 06:17:40 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 06:17 .git 06:17:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 06:15 .github 06:17:40 -rw-rw-r-- 1 jenkins jenkins 429 Nov 15 06:15 .gitignore 06:17:40 -rw-rw-r-- 1 jenkins jenkins 45 Nov 15 06:15 .golangci.yml 06:17:40 -rw-rw-r-- 1 jenkins jenkins 77 Nov 15 06:15 .hadolint.yml 06:17:40 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 06:15 .semver 06:17:40 -rw-rw-r-- 1 jenkins jenkins 10851 Nov 15 06:15 Attribution.txt 06:17:40 -rw-rw-r-- 1 jenkins jenkins 16561 Nov 15 06:15 CHANGELOG.md 06:17:40 -rw-rw-r-- 1 jenkins jenkins 2562 Nov 15 06:15 Dockerfile 06:17:40 -rw-rw-r-- 1 jenkins jenkins 678 Nov 15 06:15 GOVERNANCE.md 06:17:40 -rw-rw-r-- 1 jenkins jenkins 659 Nov 15 06:15 Jenkinsfile 06:17:40 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 06:15 LICENSE 06:17:40 -rw-rw-r-- 1 jenkins jenkins 2611 Nov 15 06:15 Makefile 06:17:40 -rw-rw-r-- 1 jenkins jenkins 622 Nov 15 06:15 OWNERS.md 06:17:40 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 15 06:15 README.md 06:17:40 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 06:15 VERSION 06:17:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 06:15 bin 06:17:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 06:15 cmd 06:17:40 -rw-r--r-- 1 jenkins jenkins 54703 Nov 15 06:17 coverage.out 06:17:40 -rwxrwxr-x 1 jenkins jenkins 84 Nov 15 06:15 docker-entrypoint.sh 06:17:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 06:15 docs 06:17:40 -rw-rw-r-- 1 jenkins jenkins 3878 Nov 15 06:15 go.mod 06:17:40 -rw-rw-r-- 1 jenkins jenkins 34744 Nov 15 06:15 go.sum 06:17:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 06:15 internal 06:17:40 -rw-rw-r-- 1 jenkins jenkins 231 Nov 15 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:40 + 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=66912457f38a9c2cc7ce3d24aa774debc4019482 --label arch=amd64 --label version=0.0.0 . 06:17:40 Sending build context to Docker daemon 2.377MB 06:17:40 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 06:17:40 Step 2/37 : FROM ${BASE} AS builder 06:17:40 ---> c3c680fac7a9 06:17:40 Step 3/37 : ARG ADD_BUILD_TAGS="" 06:17:41 ---> Running in 3c9ddb15fc34 06:17:41 Removing intermediate container 3c9ddb15fc34 06:17:41 ---> 17f398a2e528 06:17:41 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:17:41 ---> Running in 823b84136b15 06:17:41 Removing intermediate container 823b84136b15 06:17:41 ---> 5f56450cf366 06:17:41 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:17:41 ---> Running in 3860f0b18a1f 06:17:41 Removing intermediate container 3860f0b18a1f 06:17:41 ---> 20afbcb520db 06:17:41 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:17:41 ---> Running in 5c58a37e3a6b 06:17:41 Removing intermediate container 5c58a37e3a6b 06:17:41 ---> 01d1be42846a 06:17:41 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:17:41 ---> Running in c7ab135e8aeb 06:17:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:17:42 OK: 271 MiB in 65 packages 06:17:42 Removing intermediate container c7ab135e8aeb 06:17:42 ---> b1c387cbc670 06:17:42 Step 8/37 : WORKDIR /device-usb-camera 06:17:42 ---> Running in f50c4e83574b 06:17:42 Removing intermediate container f50c4e83574b 06:17:42 ---> 3a5e74200b1a 06:17:42 Step 9/37 : COPY go.mod vendor* ./ 06:17:42 ---> c4cb570c36ac 06:17:42 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:42 ---> Running in 2604b629874a 06:17:43 Removing intermediate container 2604b629874a 06:17:43 ---> d68b4ab3a29f 06:17:43 Step 11/37 : COPY . . 06:17:43 ---> fd20ddb5179a 06:17:43 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:17:43 ---> Running in 2700a9d99cd8 06:17:44  % Total % Received % Xferd Average Speed Time Time Time Current 06:17:44 Dload  Upload Total Spent Left Speed 06:17:44   0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 38000 0 --:--:-- --:--:-- --:--:-- 39156 06:17:44 Removing intermediate container 2700a9d99cd8 06:17:44 ---> 8e84b7328121 06:17:44 Step 13/37 : RUN ${MAKE} 06:17:44 ---> Running in 7528c1f9bd31 06:17:45 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" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 06:17:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18065 in /w/workspace/foundry_device-usb-camera_PR-309 [Pipeline] { [Pipeline] ws 06:17:47 Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout 06:17:47 Selected Git installation does not exist. Using Default 06:17:47 The recommended git tool is: NONE 06:17:54 using credential edgex-jenkins-ssh 06:17:54 Cloning the remote Git repository 06:17:54 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:17:54 > git init /w/workspace/device-usb-camera/4 # timeout=10 06:17:54 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:17:54 > git --version # timeout=10 06:17:54 > git --version # 'git version 2.25.1' 06:17:54 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:17:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:59 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:18:00 Merging remotes/origin/main commit 6e9e8282a24c5b81fc31740ee0ad2433cd2c3582 into PR head commit 3cabf7c6eba1cba02f7a1c607e832a327ddf500a 06:18:00 Merge succeeded, producing 6e81fd65b995b2031f597bb34d913cd218379f51 06:18:00 Checking out Revision 6e81fd65b995b2031f597bb34d913cd218379f51 (PR-309) 06:17:59 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:17:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/309/head:refs/remotes/origin/PR-309 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:18:00 > git config core.sparsecheckout # timeout=10 06:18:00 > git checkout -f 3cabf7c6eba1cba02f7a1c607e832a327ddf500a # timeout=10 06:18:00 > git remote # timeout=10 06:18:00 > git config --get remote.origin.url # timeout=10 06:18:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:00 > git merge 6e9e8282a24c5b81fc31740ee0ad2433cd2c3582 # timeout=10 06:18:00 > git rev-parse HEAD^{commit} # timeout=10 06:18:00 > git config core.sparsecheckout # timeout=10 06:18:00 > git checkout -f 6e81fd65b995b2031f597bb34d913cd218379f51 # timeout=10 06:18:04 Commit message: "Merge commit '6e9e8282a24c5b81fc31740ee0ad2433cd2c3582' into HEAD" 06:18:04 First time build. Skipping changelog. 06:18:04 > git rev-list --no-walk d93c0bd4fc3028de58e1eb306385918abb96e642 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:18:05 % Total % Received % Xferd Average Speed Time Time Time Current 06:18:05 Dload Upload Total Spent Left Speed 06:18:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 88069 0 --:--:-- --:--:-- --:--:-- 88685 [Pipeline] sh 06:18:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:18:06 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 06:18:06 06:18:06 { 06:18:06 "registry-mirrors": [ 06:18:06 "https://nexus3.edgexfoundry.org:10001" 06:18:06 ], 06:18:06 "bip": "10.250.0.254/24", 06:18:06 "hosts": [ 06:18:06 "tcp://0.0.0.0:5555", 06:18:06 "unix:///var/run/docker.sock" 06:18:06 ], 06:18:06 "mtu": 1458, 06:18:06 "selinux-enabled": true, 06:18:06 "seccomp-profile": "/etc/docker/seccomp.json" 06:18:06 } [Pipeline] sh 06:18:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:18:07 + sudo service docker restart 06:18:07 Removing intermediate container 7528c1f9bd31 06:18:07 ---> ae343d1b58ac 06:18:07 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 06:18:07 v0.21.6: Pulling from aler9/rtsp-simple-server 06:18:07 4acc49c71d14: Pulling fs layer 06:18:07 4acc49c71d14: Download complete 06:18:07 4acc49c71d14: Pull complete 06:18:07 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 06:18:07 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 06:18:07 ---> 01a2bd3e5fff 06:18:07 Step 15/37 : FROM alpine:3.18 06:18:07 3.18: Pulling from library/alpine 06:18:08 96526aa774ef: Pulling fs layer 06:18:08 96526aa774ef: Download complete 06:18:08 96526aa774ef: Pull complete 06:18:08 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 06:18:08 Status: Downloaded newer image for alpine:3.18 06:18:08 ---> 8ca4688f4f35 06:18:08 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:18:09 ---> Running in 696c9234cdb3 06:18:09 Removing intermediate container 696c9234cdb3 06:18:09 ---> e54ec85c7413 06:18:09 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 06:18:09 ---> Running in ff39988a70a7 06:18:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:18:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:18:09 (1/107) Installing dumb-init (1.2.5-r2) 06:18:09 (2/107) Installing sdl2 (2.26.5-r0) 06:18:09 (3/107) Installing svt-av1-libs (1.6.0-r0) 06:18:09 (4/107) Installing aom-libs (3.6.1-r0) 06:18:09 (5/107) Installing libxau (1.0.11-r2) 06:18:09 (6/107) Installing libmd (1.0.4-r2) 06:18:09 (7/107) Installing libbsd (0.11.7-r1) 06:18:09 (8/107) Installing libxdmcp (1.1.4-r2) 06:18:09 (9/107) Installing libxcb (1.15-r1) 06:18:09 (10/107) Installing libx11 (1.8.7-r0) 06:18:09 (11/107) Installing hwdata-pci (0.370-r0) 06:18:09 (12/107) Installing libpciaccess (0.17-r2) 06:18:09 (13/107) Installing libdrm (2.4.115-r4) 06:18:09 (14/107) Installing libxext (1.3.5-r2) 06:18:09 (15/107) Installing libxfixes (6.0.1-r2) 06:18:09 (16/107) Installing libffi (3.4.4-r2) 06:18:09 (17/107) Installing wayland-libs-client (1.22.0-r2) 06:18:09 (18/107) Installing libva (2.18.0-r1) 06:18:09 (19/107) Installing libvdpau (1.5-r1) 06:18:09 (20/107) Installing libgcc (12.2.1_git20220924-r10) 06:18:09 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 06:18:09 (22/107) Installing onevpl-libs (2023.2.1-r0) 06:18:09 (23/107) Installing ffmpeg-libavutil (6.0-r15) 06:18:09 (24/107) Installing libdav1d (1.2.1-r0) 06:18:09 (25/107) Installing brotli-libs (1.0.9-r14) 06:18:10 (26/107) Installing libhwy (1.0.4-r1) 06:18:10 (27/107) Installing lcms2 (2.15-r2) 06:18:10 (28/107) Installing libjxl (0.8.2-r0) 06:18:10 (29/107) Installing lame-libs (3.100-r5) 06:18:10 (30/107) Installing opus (1.4-r0) 06:18:10 (31/107) Installing libgomp (12.2.1_git20220924-r10) 06:18:10 (32/107) Installing soxr (0.1.3-r5) 06:18:10 (33/107) Installing ffmpeg-libswresample (6.0-r15) 06:18:10 (34/107) Installing libogg (1.3.5-r4) 06:18:10 (35/107) Installing libtheora (1.1.1-r17) 06:18:10 (36/107) Installing libvorbis (1.3.7-r1) 06:18:10 (37/107) Installing libvpx (1.13.0-r2) 06:18:10 (38/107) Installing libwebp (1.3.2-r0) 06:18:10 (39/107) Installing x264-libs (0.164_git20220602-r1) 06:18:10 (40/107) Installing numactl (2.0.16-r4) 06:18:10 (41/107) Installing x265-libs (3.5-r4) 06:18:10 (42/107) Installing xvidcore (1.3.7-r1) 06:18:10 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 06:18:10 (44/107) Installing alsa-lib (1.2.9-r1) 06:18:10 (45/107) Installing libexpat (2.5.0-r1) 06:18:10 (46/107) Installing libbz2 (1.0.8-r5) 06:18:10 (47/107) Installing libpng (1.6.39-r3) 06:18:10 (48/107) Installing freetype (2.13.0-r5) 06:18:10 (49/107) Installing fontconfig (2.14.2-r3) 06:18:10 (50/107) Installing fribidi (1.0.13-r0) 06:18:10 (51/107) Installing libintl (0.21.1-r7) 06:18:10 (52/107) Installing libblkid (2.38.1-r8) 06:18:10 (53/107) Installing libmount (2.38.1-r8) 06:18:10 (54/107) Installing pcre2 (10.42-r1) 06:18:10 (55/107) Installing glib (2.76.4-r0) 06:18:10 (56/107) Installing graphite2 (1.3.14-r5) 06:18:10 (57/107) Installing harfbuzz (7.3.0-r0) 06:18:10 (58/107) Installing libunibreak (5.1-r0) 06:18:10 (59/107) Installing libass (0.17.1-r0) 06:18:10 (60/107) Installing libbluray (1.3.4-r0) 06:18:10 (61/107) Installing gmp (6.2.1-r3) 06:18:10 (62/107) Installing nettle (3.8.1-r2) 06:18:10 (63/107) Installing libunistring (1.1-r1) 06:18:10 (64/107) Installing libidn2 (2.3.4-r1) 06:18:10 (65/107) Installing p11-kit (0.24.1-r2) 06:18:10 (66/107) Installing libtasn1 (4.19.0-r1) 06:18:10 (67/107) Installing gnutls (3.8.0-r2) 06:18:10 (68/107) Installing mpg123-libs (1.31.3-r1) 06:18:10 (69/107) Installing libopenmpt (0.7.2-r0) 06:18:10 (70/107) Installing cjson (1.7.15-r4) 06:18:10 (71/107) Installing mbedtls (2.28.5-r0) 06:18:10 (72/107) Installing librist (0.2.7-r0) 06:18:10 (73/107) Installing libsrt (1.5.2-r0) 06:18:10 (74/107) Installing libssh (0.10.5-r0) 06:18:10 (75/107) Installing xz-libs (5.4.3-r0) 06:18:10 (76/107) Installing libxml2 (2.11.4-r0) 06:18:10 (77/107) Installing libsodium (1.0.18-r3) 06:18:10 (78/107) Installing libzmq (4.3.4-r4) 06:18:10 (79/107) Installing ffmpeg-libavformat (6.0-r15) 06:18:10 (80/107) Installing glslang-libs (1.3.243.0-r1) 06:18:10 (81/107) Installing spirv-tools (1.3.243.0-r1) 06:18:10 (82/107) Installing shaderc (2023.3-r1) 06:18:10 (83/107) Installing vulkan-loader (1.3.243.0-r1) 06:18:10 (84/107) Installing libplacebo (5.264.1-r1) 06:18:10 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 06:18:10 (86/107) Installing ffmpeg-libswscale (6.0-r15) 06:18:10 (87/107) Installing vidstab (1.1.1-r0) 06:18:10 (88/107) Installing zimg (3.0.5-r0) 06:18:10 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 06:18:10 (90/107) Installing libasyncns (0.8-r1) 06:18:10 (91/107) Installing dbus-libs (1.14.8-r0) 06:18:10 (92/107) Installing libltdl (2.4.7-r2) 06:18:11 (93/107) Installing orc (0.4.34-r0) 06:18:11 (94/107) Installing flac-libs (1.4.3-r0) 06:18:11 (95/107) Installing libsndfile (1.2.0-r2) 06:18:11 (96/107) Installing speexdsp (1.2.1-r1) 06:18:11 (97/107) Installing tdb-libs (1.4.8-r1) 06:18:11 (98/107) Installing libpulse (16.1-r10) 06:18:11 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 06:18:11 (100/107) Installing v4l-utils-libs (1.24.1-r0) 06:18:11 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 06:18:11 (102/107) Installing ffmpeg (6.0-r15) 06:18:11 (103/107) Installing udev-init-scripts (35-r1) 06:18:11 (104/107) Installing eudev-libs (3.2.11-r8) 06:18:11 (105/107) Installing zstd-libs (1.5.5-r4) 06:18:11 (106/107) Installing kmod-libs (30-r3) 06:18:11 (107/107) Installing eudev (3.2.11-r8) 06:18:11 Executing busybox-1.36.1-r2.trigger 06:18:11 Executing glib-2.76.4-r0.trigger 06:18:11 Executing eudev-3.2.11-r8.trigger 06:18:11 OK: 131 MiB in 122 packages 06:18:15 Removing intermediate container ff39988a70a7 06:18:15 ---> d386a628e4bf 06:18:15 Step 18/37 : RUN apk --no-cache upgrade 06:18:15 ---> Running in ca75248cfb51 06:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:18:17 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 06:18:17 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 06:18:17 Executing busybox-1.36.1-r5.post-upgrade 06:18:17 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 06:18:17 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 06:18:17 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 06:18:17 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 06:18:17 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 06:18:17 Executing busybox-1.36.1-r5.trigger 06:18:17 OK: 131 MiB in 122 packages 06:18:18 Removing intermediate container ca75248cfb51 06:18:18 ---> a7a1a522868c 06:18:18 Step 19/37 : WORKDIR / 06:18:18 ---> Running in ae389e9a6086 06:18:18 Removing intermediate container ae389e9a6086 06:18:18 ---> f621f68fb463 06:18:18 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 06:18:19 ---> 419236c1a46f 06:18:19 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 06:18:19 ---> 7e06a01df826 06:18:19 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 06:18:19 ---> b2f75882dbe1 06:18:19 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:18:19 ---> 81788f5e7dba 06:18:19 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:18:19 ---> a53dba3769ce 06:18:19 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 06:18:19 ---> 620a38deacc7 06:18:19 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 06:18:20 ---> 1567c009b90c 06:18:20 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 06:18:20 ---> Running in e0299a7d1696 06:18:21 Removing intermediate container e0299a7d1696 06:18:21 ---> cdd696aed25f 06:18:21 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 06:18:21 ---> Running in 18544774d865 06:18:21 Removing intermediate container 18544774d865 06:18:21 ---> 2b1b551e70f4 06:18:21 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 06:18:21 ---> Running in e2c66661f82f 06:18:22 Removing intermediate container e2c66661f82f 06:18:22 ---> df16b3ce1af5 06:18:22 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 06:18:22 ---> Running in 6ed03de57c6a 06:18:22 Removing intermediate container 6ed03de57c6a 06:18:22 ---> 7ad64239d29b 06:18:22 Step 31/37 : EXPOSE 59983 06:18:22 ---> Running in 4c43944ef21c 06:18:22 Removing intermediate container 4c43944ef21c 06:18:22 ---> 0af817348f5f 06:18:22 Step 32/37 : EXPOSE 8554 06:18:22 ---> Running in da7f3c3d3b0a 06:18:23 Removing intermediate container da7f3c3d3b0a 06:18:23 ---> c190da2ce387 06:18:23 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:18:23 ---> Running in c7021eb6f98c 06:18:23 Removing intermediate container c7021eb6f98c 06:18:23 ---> 8f2ca5f9fcaa 06:18:23 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 06:18:23 ---> Running in f6b61a22af1d 06:18:23 Removing intermediate container f6b61a22af1d 06:18:23 ---> cdeadd734078 06:18:23 Step 35/37 : LABEL arch=amd64 06:18:23 ---> Running in c8524273448e 06:18:23 Removing intermediate container c8524273448e 06:18:23 ---> bfc88dd6d5e3 06:18:23 Step 36/37 : LABEL git_sha=66912457f38a9c2cc7ce3d24aa774debc4019482 06:18:23 ---> Running in 51693a7411c4 06:18:23 Removing intermediate container 51693a7411c4 06:18:23 ---> e84e3e9af772 06:18:23 Step 37/37 : LABEL version=0.0.0 06:18:23 ---> Running in f3d00678a637 06:18:23 Removing intermediate container f3d00678a637 06:18:23 ---> 058802d01429 06:18:23 [Warning] One or more build-args [ARCH] were not consumed 06:18:23 Successfully built 058802d01429 06:18:23 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 06:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:23 06:18:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:24 latest: Pulling from edgex-lftools-log-publisher 06:18:24 5eb5b503b376: Pulling fs layer 06:18:24 5c69ac0246d0: Pulling fs layer 06:18:24 ec43610c2a17: Pulling fs layer 06:18:24 3a2ae6a8a46f: Pulling fs layer 06:18:24 33b1e0a273af: Pulling fs layer 06:18:24 5d3b04190fa2: Pulling fs layer 06:18:24 2f39f015ded8: Pulling fs layer 06:18:24 33b1e0a273af: Waiting 06:18:24 2f39f015ded8: Waiting 06:18:24 5d3b04190fa2: Waiting 06:18:24 3a2ae6a8a46f: Waiting 06:18:24 5c69ac0246d0: Verifying Checksum 06:18:24 5c69ac0246d0: Download complete 06:18:24 3a2ae6a8a46f: Download complete 06:18:24 33b1e0a273af: Verifying Checksum 06:18:24 33b1e0a273af: Download complete 06:18:24 5d3b04190fa2: Download complete 06:18:24 ec43610c2a17: Verifying Checksum 06:18:24 ec43610c2a17: Download complete 06:18:24 5eb5b503b376: Verifying Checksum 06:18:24 5eb5b503b376: Download complete 06:18:24 2f39f015ded8: Download complete 06:18:25 5eb5b503b376: Pull complete 06:18:25 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:25 provisioning config files... 06:18:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config5942106807452444569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:25 ---> docker-login.sh 06:18:25 nexus3.edgexfoundry.org:10001 06:18:26 ec43610c2a17: Pull complete 06:18:26 3a2ae6a8a46f: Pull complete 06:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:26 33b1e0a273af: Pull complete 06:18:26 5d3b04190fa2: Pull complete 06:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:26 Configure a credential helper to remove this warning. See 06:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:26 06:18:26 Login Succeeded 06:18:26 nexus3.edgexfoundry.org:10002 06:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:26 Configure a credential helper to remove this warning. See 06:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:26 06:18:26 Login Succeeded 06:18:26 nexus3.edgexfoundry.org:10003 06:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:27 Configure a credential helper to remove this warning. See 06:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:27 06:18:27 Login Succeeded 06:18:27 nexus3.edgexfoundry.org:10004 06:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:27 Configure a credential helper to remove this warning. See 06:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:27 06:18:27 Login Succeeded 06:18:27 docker.io 06:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:27 Configure a credential helper to remove this warning. See 06:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:27 06:18:28 Login Succeeded 06:18:28 ---> docker-login.sh ends [Pipeline] } 06:18:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:18:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:18:28 ========================================================= 06:18:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:18:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:28 + 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 . 06:18:28 Sending build context to Docker daemon 1.379MB 06:18:28 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:18:28 Step 2/13 : FROM ${BASE} AS builder 06:18:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:18:29 9fda8d8052c6: Pulling fs layer 06:18:29 5d54e960e981: Pulling fs layer 06:18:29 c4a7e357bf2a: Pulling fs layer 06:18:29 f0e02332f6b5: Pulling fs layer 06:18:29 872ee5b61b7b: Pulling fs layer 06:18:29 0c6a40ed1a82: Pulling fs layer 06:18:29 94ae7d8d031c: Pulling fs layer 06:18:29 872ee5b61b7b: Waiting 06:18:29 94ae7d8d031c: Waiting 06:18:29 f0e02332f6b5: Waiting 06:18:29 5d54e960e981: Verifying Checksum 06:18:29 5d54e960e981: Download complete 06:18:29 f0e02332f6b5: Verifying Checksum 06:18:29 f0e02332f6b5: Download complete 06:18:29 872ee5b61b7b: Verifying Checksum 06:18:29 872ee5b61b7b: Download complete 06:18:29 9fda8d8052c6: Verifying Checksum 06:18:29 9fda8d8052c6: Download complete 06:18:29 94ae7d8d031c: Verifying Checksum 06:18:29 94ae7d8d031c: Download complete 06:18:30 9fda8d8052c6: Pull complete 06:18:30 2f39f015ded8: Pull complete 06:18:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:18:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:30 prd-ubuntu20.04-docker-8c-8g-18064 does not seem to be running inside a container 06:18:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-309 -v /w/workspace/foundry_device-usb-camera_PR-309:/w/workspace/foundry_device-usb-camera_PR-309:rw,z -v /w/workspace/foundry_device-usb-camera_PR-309@tmp:/w/workspace/foundry_device-usb-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:18:30 5d54e960e981: Pull complete 06:18:30 c4a7e357bf2a: Verifying Checksum 06:18:30 c4a7e357bf2a: Download complete 06:18:31 0c6a40ed1a82: Verifying Checksum 06:18:31 0c6a40ed1a82: Download complete 06:18:35 $ docker top 1e6ab4ba5110142f4eb7a2256564ca7b010569f0dc7003bda01e6a687d744a53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:35 ---> job-cost.sh 06:18:35 lf-activate-venv: SKIPPING 06:18:35 INFO: No Stack... 06:18:35 INFO: Retrieving Pricing Info for: v3-standard-8 06:18:36 INFO: Archiving Costs [Pipeline] sh 06:18:36 + cat /w/workspace/foundry_device-usb-camera_PR-309/archives/cost.csv 06:18:36 + cut -d, -f6 [Pipeline] lock 06:18:36 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-309-4-stack-cost] 06:18:36 Resource [jenkins-edgexfoundry-device-usb-camera-PR-309-4-stack-cost] did not exist. Created. 06:18:36 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-309-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:18:37 + echo total: 0.2199999988079071 [Pipeline] stash 06:18:37 Stashed 1 file(s) [Pipeline] } 06:18:37 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-309-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:18:37 $ docker stop --time=1 1e6ab4ba5110142f4eb7a2256564ca7b010569f0dc7003bda01e6a687d744a53 06:18:38 $ docker rm -f --volumes 1e6ab4ba5110142f4eb7a2256564ca7b010569f0dc7003bda01e6a687d744a53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:18:44 c4a7e357bf2a: Pull complete 06:18:44 f0e02332f6b5: Pull complete 06:18:44 872ee5b61b7b: Pull complete 06:18:50 0c6a40ed1a82: Pull complete 06:18:52 94ae7d8d031c: Pull complete 06:18:52 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:18:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:18:52 ---> 86de565de09d 06:18:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:18:54 ---> Running in 504bc121b228 06:18:54 Removing intermediate container 504bc121b228 06:18:54 ---> 62ba8b84f2fe 06:18:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:18:54 ---> Running in d476cd0374e7 06:18:55 Removing intermediate container d476cd0374e7 06:18:55 ---> a11174aeb802 06:18:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:18:55 ---> Running in b66c046fe974 06:18:55 Removing intermediate container b66c046fe974 06:18:55 ---> b2bcda6e957a 06:18:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:18:55 ---> Running in 7fe962f57028 06:18:55 Removing intermediate container 7fe962f57028 06:18:55 ---> 8a3b3e877869 06:18:55 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:55 ---> Running in a1434632b0af 06:18:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:18:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:18:58 (1/13) Installing libintl (0.21.1-r7) 06:18:58 (2/13) Installing eudev-libs (3.2.11-r8) 06:18:58 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 06:18:58 (4/13) Installing v4l-utils-libs (1.24.1-r0) 06:18:58 (5/13) Installing v4l-utils (1.24.1-r0) 06:18:58 (6/13) Installing libdvbv5 (1.24.1-r0) 06:18:58 (7/13) Installing udev-init-scripts (35-r1) 06:18:58 (8/13) Installing libblkid (2.38.1-r8) 06:18:58 (9/13) Installing xz-libs (5.4.3-r0) 06:18:58 (10/13) Installing kmod-libs (30-r3) 06:18:58 (11/13) Installing eudev (3.2.11-r8) 06:18:58 (12/13) Installing eudev-dev (3.2.11-r8) 06:18:58 (13/13) Installing v4l-utils-dev (1.24.1-r0) 06:18:58 Executing busybox-1.36.1-r5.trigger 06:18:58 Executing eudev-3.2.11-r8.trigger 06:18:58 OK: 273 MiB in 65 packages 06:18:59 Removing intermediate container a1434632b0af 06:18:59 ---> 256317a8acd3 06:18:59 Step 8/13 : WORKDIR /device-usb-camera 06:18:59 ---> Running in 8b3366cef662 06:19:00 Removing intermediate container 8b3366cef662 06:19:00 ---> 3ed6652b1e75 06:19:00 Step 9/13 : COPY go.mod vendor* ./ 06:19:00 ---> 74a52186b462 06:19:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:00 ---> Running in ee16d2ca7cc4 06:20:22 Removing intermediate container ee16d2ca7cc4 06:20:22 ---> 2d89ee9707cd 06:20:22 Step 11/13 : COPY . . 06:20:22 ---> 37e301c9b74d 06:20:22 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:20:22 ---> Running in d4fbf9eed409 06:20:22  % Total % Received % Xferd Average Speed Time Time Time Current 06:20:22   Dload Upload Total Spent Left Speed 06:20:22 0  0  0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 9647  0 --:--:-- --:--:-- --:--:-- 9638 06:20:22 Removing intermediate container d4fbf9eed409 06:20:22 ---> 66a90270da36 06:20:22 Step 13/13 : RUN ${MAKE} 06:20:22 ---> Running in 24543988b394 06:20:22 noop 06:20:22 Removing intermediate container 24543988b394 06:20:22 ---> 9f2d3bb6d189 06:20:22 Successfully built 9f2d3bb6d189 06:20:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:22 + docker inspect -f . ci-base-image-arm64 06:20:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:22 prd-ubuntu20.04-docker-arm64-4c-16g-18065 does not seem to be running inside a container 06:20:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:20:24 $ docker top a79a869a60e66e54f615fecf9a7b5d9d9673b2b3806621aa0377e6045a9d083c -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:24 + go version 06:20:24 go version go1.21.0 linux/arm64 [Pipeline] } 06:20:24 $ docker stop --time=1 a79a869a60e66e54f615fecf9a7b5d9d9673b2b3806621aa0377e6045a9d083c 06:20:26 $ docker rm -f --volumes a79a869a60e66e54f615fecf9a7b5d9d9673b2b3806621aa0377e6045a9d083c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:27 + docker inspect -f . ci-base-image-arm64 06:20:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:27 prd-ubuntu20.04-docker-arm64-4c-16g-18065 does not seem to be running inside a container 06:20:27 $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:20:28 $ docker top 292e89c3058be346425fbde3865d92bc5e7cb59e945fa9dc8821a6b49ba9ac07 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:28 + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh 06:20:29 + make test 06:20:29 go test ./... -coverprofile=coverage.out ./... 06:20:36 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:22:13 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:22:14 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.070s coverage: 4.4% of statements 06:22:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:22:14 go vet ./... 06:22:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:22:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:22:36 ./bin/test-attribution-txt.sh [Pipeline] echo 06:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:22:36 $ docker stop --time=1 292e89c3058be346425fbde3865d92bc5e7cb59e945fa9dc8821a6b49ba9ac07 06:22:40 $ docker rm -f --volumes 292e89c3058be346425fbde3865d92bc5e7cb59e945fa9dc8821a6b49ba9ac07 [Pipeline] // withDockerContainer [Pipeline] sh 06:22:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:22:41 Warning: overwriting stash ‘coverage-report’ 06:22:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:22:42 + ls -al . 06:22:42 total 220 06:22:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 06:20 . 06:22:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 06:17 .. 06:22:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 06:18 .git 06:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 06:18 .github 06:22:42 -rw-rw-r-- 1 jenkins jenkins 429 Nov 15 06:18 .gitignore 06:22:42 -rw-rw-r-- 1 jenkins jenkins 45 Nov 15 06:18 .golangci.yml 06:22:42 -rw-rw-r-- 1 jenkins jenkins 77 Nov 15 06:18 .hadolint.yml 06:22:42 -rw-rw-r-- 1 jenkins jenkins 10851 Nov 15 06:18 Attribution.txt 06:22:42 -rw-rw-r-- 1 jenkins jenkins 16561 Nov 15 06:18 CHANGELOG.md 06:22:42 -rw-rw-r-- 1 jenkins jenkins 2562 Nov 15 06:18 Dockerfile 06:22:42 -rw-rw-r-- 1 jenkins jenkins 678 Nov 15 06:18 GOVERNANCE.md 06:22:42 -rw-rw-r-- 1 jenkins jenkins 659 Nov 15 06:18 Jenkinsfile 06:22:42 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 06:18 LICENSE 06:22:42 -rw-rw-r-- 1 jenkins jenkins 2611 Nov 15 06:18 Makefile 06:22:42 -rw-rw-r-- 1 jenkins jenkins 622 Nov 15 06:18 OWNERS.md 06:22:42 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 15 06:18 README.md 06:22:42 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 06:15 VERSION 06:22:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 06:18 bin 06:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 06:18 cmd 06:22:42 -rw-r--r-- 1 jenkins jenkins 54703 Nov 15 06:22 coverage.out 06:22:42 -rwxrwxr-x 1 jenkins jenkins 84 Nov 15 06:18 docker-entrypoint.sh 06:22:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 06:18 docs 06:22:42 -rw-rw-r-- 1 jenkins jenkins 3878 Nov 15 06:18 go.mod 06:22:42 -rw-rw-r-- 1 jenkins jenkins 34744 Nov 15 06:18 go.sum 06:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 06:18 internal 06:22:42 -rw-rw-r-- 1 jenkins jenkins 231 Nov 15 06:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:43 + 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=6e81fd65b995b2031f597bb34d913cd218379f51 --label arch=arm64 --label version=0.0.0 . 06:22:43 Sending build context to Docker daemon 1.434MB 06:22:43 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 06:22:43 Step 2/37 : FROM ${BASE} AS builder 06:22:43 ---> 9f2d3bb6d189 06:22:43 Step 3/37 : ARG ADD_BUILD_TAGS="" 06:22:43 ---> Running in cc68fe006c4e 06:22:43 Removing intermediate container cc68fe006c4e 06:22:43 ---> e11a42cc7ffc 06:22:43 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:22:43 ---> Running in 43c57a831db3 06:22:44 Removing intermediate container 43c57a831db3 06:22:44 ---> 24199366bbe5 06:22:44 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:22:44 ---> Running in e835cad9b16a 06:22:44 Removing intermediate container e835cad9b16a 06:22:44 ---> 6b7319e75741 06:22:44 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:22:44 ---> Running in e5623f39972c 06:22:44 Removing intermediate container e5623f39972c 06:22:44 ---> b0fec0dda364 06:22:44 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:22:44 ---> Running in 94ae73b5cc9d 06:22:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:22:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:22:47 OK: 273 MiB in 65 packages 06:22:48 Removing intermediate container 94ae73b5cc9d 06:22:48 ---> 96371600e9b0 06:22:48 Step 8/37 : WORKDIR /device-usb-camera 06:22:48 ---> Running in 1785bc10a176 06:22:48 Removing intermediate container 1785bc10a176 06:22:48 ---> 8e197863868f 06:22:48 Step 9/37 : COPY go.mod vendor* ./ 06:22:49 ---> 544959f1d830 06:22:49 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:22:49 ---> Running in ecb536a634e8 06:22:55 Removing intermediate container ecb536a634e8 06:22:55 ---> 049fa8fc3873 06:22:55 Step 11/37 : COPY . . 06:22:56 ---> ee3f28c96825 06:22:56 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:22:56 ---> Running in 6092a40474fe 06:22:57  % Total % Received % Xferd Average Speed Time Time Time Current 06:22:57 Dload Upload Total Spent Left Speed 06:22:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0  0 5639  0 --:--:-- --:--:-- --:--:-- 5669 06:22:58 Removing intermediate container 6092a40474fe 06:22:58 ---> 133757447430 06:22:58 Step 13/37 : RUN ${MAKE} 06:22:58 ---> Running in bb3fa47dd6f6 06:22:59 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" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 06:25:06 Removing intermediate container bb3fa47dd6f6 06:25:06 ---> 22ee1e3397c0 06:25:06 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 06:25:06 v0.21.6: Pulling from aler9/rtsp-simple-server 06:25:06 8766b47fe142: Pulling fs layer 06:25:06 8766b47fe142: Verifying Checksum 06:25:06 8766b47fe142: Download complete 06:25:06 8766b47fe142: Pull complete 06:25:06 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 06:25:06 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 06:25:06 ---> 69d40e2cb93c 06:25:06 Step 15/37 : FROM alpine:3.18 06:25:06 3.18: Pulling from library/alpine 06:25:06 579b34f0a95b: Pulling fs layer 06:25:06 579b34f0a95b: Verifying Checksum 06:25:06 579b34f0a95b: Download complete 06:25:06 579b34f0a95b: Pull complete 06:25:06 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 06:25:06 Status: Downloaded newer image for alpine:3.18 06:25:06 ---> 3cc203321400 06:25:06 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:25:06 ---> Running in 068a1b4360f5 06:25:06 Removing intermediate container 068a1b4360f5 06:25:06 ---> bd6492ca277c 06:25:06 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 06:25:06 ---> Running in 8bb1610e5c16 06:25:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:25:09 (1/104) Installing dumb-init (1.2.5-r2) 06:25:09 (2/104) Installing sdl2 (2.26.5-r0) 06:25:09 (3/104) Installing svt-av1-libs (1.6.0-r0) 06:25:09 (4/104) Installing aom-libs (3.6.1-r0) 06:25:09 (5/104) Installing libxau (1.0.11-r2) 06:25:09 (6/104) Installing libmd (1.0.4-r2) 06:25:09 (7/104) Installing libbsd (0.11.7-r1) 06:25:09 (8/104) Installing libxdmcp (1.1.4-r2) 06:25:09 (9/104) Installing libxcb (1.15-r1) 06:25:09 (10/104) Installing libx11 (1.8.7-r0) 06:25:09 (11/104) Installing libdrm (2.4.115-r4) 06:25:09 (12/104) Installing libxext (1.3.5-r2) 06:25:09 (13/104) Installing libxfixes (6.0.1-r2) 06:25:09 (14/104) Installing libffi (3.4.4-r2) 06:25:09 (15/104) Installing wayland-libs-client (1.22.0-r2) 06:25:09 (16/104) Installing libva (2.18.0-r1) 06:25:09 (17/104) Installing libvdpau (1.5-r1) 06:25:09 (18/104) Installing ffmpeg-libavutil (6.0-r15) 06:25:09 (19/104) Installing libdav1d (1.2.1-r0) 06:25:10 (20/104) Installing brotli-libs (1.0.9-r14) 06:25:10 (21/104) Installing libgcc (12.2.1_git20220924-r10) 06:25:10 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 06:25:10 (23/104) Installing libhwy (1.0.4-r1) 06:25:10 (24/104) Installing lcms2 (2.15-r2) 06:25:10 (25/104) Installing libjxl (0.8.2-r0) 06:25:10 (26/104) Installing lame-libs (3.100-r5) 06:25:10 (27/104) Installing opus (1.4-r0) 06:25:10 (28/104) Installing libgomp (12.2.1_git20220924-r10) 06:25:10 (29/104) Installing soxr (0.1.3-r5) 06:25:10 (30/104) Installing ffmpeg-libswresample (6.0-r15) 06:25:10 (31/104) Installing libogg (1.3.5-r4) 06:25:10 (32/104) Installing libtheora (1.1.1-r17) 06:25:10 (33/104) Installing libvorbis (1.3.7-r1) 06:25:10 (34/104) Installing libvpx (1.13.0-r2) 06:25:10 (35/104) Installing libwebp (1.3.2-r0) 06:25:10 (36/104) Installing x264-libs (0.164_git20220602-r1) 06:25:10 (37/104) Installing numactl (2.0.16-r4) 06:25:10 (38/104) Installing x265-libs (3.5-r4) 06:25:10 (39/104) Installing xvidcore (1.3.7-r1) 06:25:10 (40/104) Installing ffmpeg-libavcodec (6.0-r15) 06:25:10 (41/104) Installing alsa-lib (1.2.9-r1) 06:25:11 (42/104) Installing libexpat (2.5.0-r1) 06:25:11 (43/104) Installing libbz2 (1.0.8-r5) 06:25:11 (44/104) Installing libpng (1.6.39-r3) 06:25:11 (45/104) Installing freetype (2.13.0-r5) 06:25:11 (46/104) Installing fontconfig (2.14.2-r3) 06:25:11 (47/104) Installing fribidi (1.0.13-r0) 06:25:11 (48/104) Installing libintl (0.21.1-r7) 06:25:11 (49/104) Installing libblkid (2.38.1-r8) 06:25:11 (50/104) Installing libmount (2.38.1-r8) 06:25:11 (51/104) Installing pcre2 (10.42-r1) 06:25:11 (52/104) Installing glib (2.76.4-r0) 06:25:11 (53/104) Installing graphite2 (1.3.14-r5) 06:25:11 (54/104) Installing harfbuzz (7.3.0-r0) 06:25:11 (55/104) Installing libunibreak (5.1-r0) 06:25:11 (56/104) Installing libass (0.17.1-r0) 06:25:11 (57/104) Installing libbluray (1.3.4-r0) 06:25:11 (58/104) Installing gmp (6.2.1-r3) 06:25:11 (59/104) Installing nettle (3.8.1-r2) 06:25:11 (60/104) Installing libunistring (1.1-r1) 06:25:11 (61/104) Installing libidn2 (2.3.4-r1) 06:25:11 (62/104) Installing p11-kit (0.24.1-r2) 06:25:11 (63/104) Installing libtasn1 (4.19.0-r1) 06:25:11 (64/104) Installing gnutls (3.8.0-r2) 06:25:11 (65/104) Installing mpg123-libs (1.31.3-r1) 06:25:11 (66/104) Installing libopenmpt (0.7.2-r0) 06:25:11 (67/104) Installing cjson (1.7.15-r4) 06:25:11 (68/104) Installing mbedtls (2.28.5-r0) 06:25:11 (69/104) Installing librist (0.2.7-r0) 06:25:11 (70/104) Installing libsrt (1.5.2-r0) 06:25:11 (71/104) Installing libssh (0.10.5-r0) 06:25:11 (72/104) Installing xz-libs (5.4.3-r0) 06:25:11 (73/104) Installing libxml2 (2.11.4-r0) 06:25:12 (74/104) Installing libsodium (1.0.18-r3) 06:25:12 (75/104) Installing libzmq (4.3.4-r4) 06:25:12 (76/104) Installing ffmpeg-libavformat (6.0-r15) 06:25:12 (77/104) Installing glslang-libs (1.3.243.0-r1) 06:25:12 (78/104) Installing spirv-tools (1.3.243.0-r1) 06:25:12 (79/104) Installing shaderc (2023.3-r1) 06:25:12 (80/104) Installing vulkan-loader (1.3.243.0-r1) 06:25:12 (81/104) Installing libplacebo (5.264.1-r1) 06:25:12 (82/104) Installing ffmpeg-libpostproc (6.0-r15) 06:25:12 (83/104) Installing ffmpeg-libswscale (6.0-r15) 06:25:12 (84/104) Installing vidstab (1.1.1-r0) 06:25:12 (85/104) Installing zimg (3.0.5-r0) 06:25:12 (86/104) Installing ffmpeg-libavfilter (6.0-r15) 06:25:12 (87/104) Installing libasyncns (0.8-r1) 06:25:12 (88/104) Installing dbus-libs (1.14.8-r0) 06:25:12 (89/104) Installing libltdl (2.4.7-r2) 06:25:12 (90/104) Installing orc (0.4.34-r0) 06:25:12 (91/104) Installing flac-libs (1.4.3-r0) 06:25:12 (92/104) Installing libsndfile (1.2.0-r2) 06:25:12 (93/104) Installing speexdsp (1.2.1-r1) 06:25:12 (94/104) Installing tdb-libs (1.4.8-r1) 06:25:12 (95/104) Installing libpulse (16.1-r10) 06:25:12 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 06:25:12 (97/104) Installing v4l-utils-libs (1.24.1-r0) 06:25:12 (98/104) Installing ffmpeg-libavdevice (6.0-r15) 06:25:12 (99/104) Installing ffmpeg (6.0-r15) 06:25:12 (100/104) Installing udev-init-scripts (35-r1) 06:25:12 (101/104) Installing eudev-libs (3.2.11-r8) 06:25:12 (102/104) Installing zstd-libs (1.5.5-r4) 06:25:12 (103/104) Installing kmod-libs (30-r3) 06:25:12 (104/104) Installing eudev (3.2.11-r8) 06:25:12 Executing busybox-1.36.1-r2.trigger 06:25:12 Executing glib-2.76.4-r0.trigger 06:25:12 Executing eudev-3.2.11-r8.trigger 06:25:12 OK: 110 MiB in 119 packages 06:25:18 Removing intermediate container 8bb1610e5c16 06:25:18 ---> 0534fc16abee 06:25:18 Step 18/37 : RUN apk --no-cache upgrade 06:25:18 ---> Running in 21120ea84878 06:25:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:25:20 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 06:25:20 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 06:25:20 Executing busybox-1.36.1-r5.post-upgrade 06:25:20 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 06:25:20 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 06:25:20 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 06:25:20 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 06:25:20 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 06:25:20 Executing busybox-1.36.1-r5.trigger 06:25:20 OK: 110 MiB in 119 packages 06:25:21 Removing intermediate container 21120ea84878 06:25:21 ---> f8350cfebb6e 06:25:21 Step 19/37 : WORKDIR / 06:25:21 ---> Running in 26d3f2602501 06:25:22 Removing intermediate container 26d3f2602501 06:25:22 ---> fc9967dbf1c7 06:25:22 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 06:25:23 ---> f774fd119e3e 06:25:23 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 06:25:24 ---> b72aada376af 06:25:24 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 06:25:24 ---> 9b24199a253f 06:25:24 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:25:24 ---> 85d1522e017d 06:25:24 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:25:25 ---> c62931ffd052 06:25:25 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 06:25:26 ---> 36aaef0f9459 06:25:26 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / 06:25:27 ---> 7561d323304c 06:25:27 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 06:25:27 ---> Running in 8186cd3bb10f 06:25:31 Removing intermediate container 8186cd3bb10f 06:25:31 ---> e3a8d666c812 06:25:31 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 06:25:31 ---> Running in 6fe59e62779e 06:25:33 Removing intermediate container 6fe59e62779e 06:25:33 ---> e51e0e900276 06:25:33 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 06:25:33 ---> Running in 3793694f4473 06:25:35 Removing intermediate container 3793694f4473 06:25:35 ---> 68c4e6e318be 06:25:35 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 06:25:35 ---> Running in 351f484bd853 06:25:36 Removing intermediate container 351f484bd853 06:25:36 ---> 49cd0c1db03b 06:25:36 Step 31/37 : EXPOSE 59983 06:25:36 ---> Running in ed6c8a057eb1 06:25:36 Removing intermediate container ed6c8a057eb1 06:25:36 ---> 1e37d8c65d7b 06:25:36 Step 32/37 : EXPOSE 8554 06:25:36 ---> Running in 75e9be8121b3 06:25:37 Removing intermediate container 75e9be8121b3 06:25:37 ---> 57bcffa9bd07 06:25:37 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:25:37 ---> Running in 2809c994f4ad 06:25:37 Removing intermediate container 2809c994f4ad 06:25:37 ---> 40767db5523c 06:25:37 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 06:25:37 ---> Running in 45a3203af4bf 06:25:38 Removing intermediate container 45a3203af4bf 06:25:38 ---> ec8619e3827d 06:25:38 Step 35/37 : LABEL arch=arm64 06:25:38 ---> Running in 1b12ffc7bc9b 06:25:38 Removing intermediate container 1b12ffc7bc9b 06:25:38 ---> b966c6d82621 06:25:38 Step 36/37 : LABEL git_sha=6e81fd65b995b2031f597bb34d913cd218379f51 06:25:38 ---> Running in 13e287e355f8 06:25:38 Removing intermediate container 13e287e355f8 06:25:38 ---> b01785adcd34 06:25:38 Step 37/37 : LABEL version=0.0.0 06:25:38 ---> Running in 880f0a246502 06:25:39 Removing intermediate container 880f0a246502 06:25:39 ---> 41ee55c443b6 06:25:39 [Warning] One or more build-args [ARCH] were not consumed 06:25:39 Successfully built 41ee55c443b6 06:25:39 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 06:25:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:25:39 06:25:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:25:39 arm64: Pulling from edgex-lftools-log-publisher 06:25:39 8998bd30e6a1: Pulling fs layer 06:25:39 04944245beec: Pulling fs layer 06:25:39 699f458cf7ca: Pulling fs layer 06:25:39 765212b225bb: Pulling fs layer 06:25:39 f23df028b6ca: Pulling fs layer 06:25:39 d65c8cfc05b1: Pulling fs layer 06:25:39 2437ff75d9bd: Pulling fs layer 06:25:39 f23df028b6ca: Waiting 06:25:39 d65c8cfc05b1: Waiting 06:25:39 2437ff75d9bd: Waiting 06:25:39 765212b225bb: Waiting 06:25:40 04944245beec: Verifying Checksum 06:25:40 04944245beec: Download complete 06:25:40 765212b225bb: Verifying Checksum 06:25:40 765212b225bb: Download complete 06:25:40 f23df028b6ca: Verifying Checksum 06:25:40 f23df028b6ca: Download complete 06:25:40 d65c8cfc05b1: Download complete 06:25:40 699f458cf7ca: Verifying Checksum 06:25:40 699f458cf7ca: Download complete 06:25:40 8998bd30e6a1: Verifying Checksum 06:25:40 8998bd30e6a1: Download complete 06:25:43 2437ff75d9bd: Verifying Checksum 06:25:43 2437ff75d9bd: Download complete 06:25:45 8998bd30e6a1: Pull complete 06:25:45 04944245beec: Pull complete 06:25:47 699f458cf7ca: Pull complete 06:25:47 765212b225bb: Pull complete 06:25:48 f23df028b6ca: Pull complete 06:25:48 d65c8cfc05b1: Pull complete 06:26:06 2437ff75d9bd: Pull complete 06:26:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:26:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:07 prd-ubuntu20.04-docker-arm64-4c-16g-18065 does not seem to be running inside a container 06:26:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:26:09 $ docker top cfaea24df39bf19cde9b2d6c854e4ec3ea54bec7fa91b610d0635fdb955b4542 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:10 ---> job-cost.sh 06:26:10 lf-activate-venv: SKIPPING 06:26:10 INFO: No Stack... 06:26:10 INFO: Retrieving Pricing Info for: v3-standard-4 06:26:11 INFO: Archiving Costs [Pipeline] sh 06:26:12 + cat /w/workspace/device-usb-camera/4/archives/cost.csv 06:26:12 + cut -d, -f6 [Pipeline] lock 06:26:12 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-309-4-stack-cost] 06:26:12 Resource [jenkins-edgexfoundry-device-usb-camera-PR-309-4-stack-cost] did not exist. Created. 06:26:12 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-309-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:26:12 /w/workspace/device-usb-camera/4@tmp/durable-2faedc35/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:26:13 + echo total: 0.10999999940395355 [Pipeline] stash 06:26:13 Warning: overwriting stash ‘stack-cost’ 06:26:13 Stashed 1 file(s) [Pipeline] } 06:26:13 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-309-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:26:13 $ docker stop --time=1 cfaea24df39bf19cde9b2d6c854e4ec3ea54bec7fa91b610d0635fdb955b4542 06:26:14 $ docker rm -f --volumes cfaea24df39bf19cde9b2d6c854e4ec3ea54bec7fa91b610d0635fdb955b4542 [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 06:26:15 provisioning config files... 06:26:15 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-309@tmp/config7346733990665424354tmp [Pipeline] { [Pipeline] sh 06:26:15 + set +x 06:26:15 + + curl -s https://codecov.io/bash 06:26:15 bash -s -- 06:26:15 06:26:15 _____ _ 06:26:15 / ____| | | 06:26:15 | | ___ __| | ___ ___ _____ __ 06:26:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:26:15 | |___| (_) | (_| | __/ (_| (_) \ V / 06:26:15 \_____\___/ \__,_|\___|\___\___/ \_/ 06:26:15 Bash-1.0.6 06:26:15 06:26:15 06:26:15 ==> git version 2.25.1 found 06:26:15 ==> 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 06:26:15 Release-Date: 2020-01-08 06:26:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:26:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:26:15 ==> Jenkins CI detected. 06:26:15 current dir:  /w/workspace/foundry_device-usb-camera_PR-309 06:26:15 project root: . 06:26:15 --> token set from env 06:26:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:26:15 ==> Running gcov in . (disable via -X gcov) 06:26:15 ==> Python coveragepy not found 06:26:15 ==> Searching for coverage reports in: 06:26:15 + . 06:26:15 -> Found 1 reports 06:26:15 ==> Detecting git/mercurial file structure 06:26:15 ==> Reading reports 06:26:15 + ./coverage.out bytes=54703 06:26:15 ==> Appending adjustments 06:26:15 https://docs.codecov.io/docs/fixing-reports 06:26:15 + Found adjustments 06:26:15 ==> Gzipping contents 06:26:15 8.0K /tmp/codecov.WtrQfA.gz 06:26:15 ==> Uploading reports 06:26:15 url: https://codecov.io 06:26:15 query: branch=PR-309&commit=66912457f38a9c2cc7ce3d24aa774debc4019482&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-309%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=309&job=&cmd_args= 06:26:15 -> Pinging Codecov 06:26:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-309&commit=66912457f38a9c2cc7ce3d24aa774debc4019482&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-309%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=309&job=&cmd_args= 06:26:15 -> Uploading to 06:26:15 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/73D8F5FF140700D3E01443B452E23636/66912457f38a9c2cc7ce3d24aa774debc4019482/e56c9bbb-043d-4da2-b8ac-8685daa0b177.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T062615Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5aea5d968fcfe81acf887b2f6a76d8dfd4c6185079e143c430dddeef74b8509e 06:26:15 % Total % Received % Xferd Average Speed Time Time Time Current 06:26:15 Dload Upload Total Spent Left Speed 06:26:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 22607 --:--:-- --:--:-- --:--:-- 22533 06:26:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/66912457f38a9c2cc7ce3d24aa774debc4019482 [Pipeline] } 06:26:16 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 06:26:17 + [ -d /w/workspace/foundry_device-usb-camera_PR-309/archives ] 06:26:17 + ls -al /w/workspace/foundry_device-usb-camera_PR-309/archives 06:26:17 total 16 06:26:17 drwxr-xr-x 3 root root 4096 Nov 15 06:18 . 06:26:17 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 06:18 .. 06:26:17 drwxr-xr-x 2 root root 4096 Nov 15 06:18 cost 06:26:17 -rw-r--r-- 1 root root 89 Nov 15 06:18 cost.csv 06:26:17 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-309/archives 06:26:17 + ls -al /w/workspace/foundry_device-usb-camera_PR-309/archives 06:26:17 total 16 06:26:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 06:18 . 06:26:17 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 06:18 .. 06:26:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 06:18 cost 06:26:17 -rw-r--r-- 1 jenkins jenkins 89 Nov 15 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:26:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:26:19 ---> package-listing.sh 06:26:19 ++ facter osfamily 06:26:19 ++ tr '[:upper:]' '[:lower:]' 06:26:19 + OS_FAMILY=debian 06:26:19 + workspace=/w/workspace/foundry_device-usb-camera_PR-309 06:26:19 + START_PACKAGES=/tmp/packages_start.txt 06:26:19 + END_PACKAGES=/tmp/packages_end.txt 06:26:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:26:19 + PACKAGES=/tmp/packages_start.txt 06:26:19 + '[' /w/workspace/foundry_device-usb-camera_PR-309 ']' 06:26:19 + PACKAGES=/tmp/packages_end.txt 06:26:19 + case "${OS_FAMILY}" in 06:26:19 + dpkg -l 06:26:19 + grep '^ii' 06:26:19 + '[' -f /tmp/packages_start.txt ']' 06:26:19 + '[' -f /tmp/packages_end.txt ']' 06:26:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:26:19 + '[' /w/workspace/foundry_device-usb-camera_PR-309 ']' 06:26:19 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-309/archives/ 06:26:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-309/archives/ [Pipeline] echo 06:26:19 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-309/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:26:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:20 prd-ubuntu20.04-docker-8c-8g-18064 does not seem to be running inside a container 06:26:20 $ 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-309/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-309 -v /w/workspace/foundry_device-usb-camera_PR-309:/w/workspace/foundry_device-usb-camera_PR-309:rw,z -v /w/workspace/foundry_device-usb-camera_PR-309@tmp:/w/workspace/foundry_device-usb-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:26:20 $ docker top 4c5ae6130e62bb791be846ef275537f0f7000afdfad29949447810327c446241 -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:20 + touch /tmp/pre-build-complete [Pipeline] sh 06:26:21 + mkdir -p /var/log/sysstat [Pipeline] sh 06:26:21 + ls /var/log/sa-host 06:26:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:21 provisioning config files... 06:26:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-309@tmp/config9178476949972498876tmp [Pipeline] { [Pipeline] echo 06:26:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:26:21 ---> create-netrc.sh [Pipeline] } 06:26:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:26:22 ---> python-tools-install.sh [Pipeline] echo 06:26:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:26:22 ---> sudo-logs.sh 06:26:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:26:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:26:22 ---> job-cost.sh 06:26:22 lf-activate-venv: SKIPPING 06:26:22 DEBUG: total: 0.2199999988079071 06:26:22 INFO: Retrieving Stack Cost... 06:26:23 INFO: Retrieving Pricing Info for: v3-standard-8 06:26:23 INFO: Archiving Costs [Pipeline] echo 06:26:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:26:23 ---> logs-deploy.sh 06:26:23 lf-activate-venv: SKIPPING 06:26:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-309/4 06:26:23 INFO: archiving workspace using pattern(s): 06:26:24 Archives upload complete. 06:26:25 INFO: archiving logs to Nexus 06:26:25 ---> uname -a: 06:26:25 Linux prd-ubuntu20-04-docker-8c-8g-18064 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:26:25 06:26:25 06:26:25 ---> lscpu: 06:26:25 Architecture: x86_64 06:26:25 CPU op-mode(s): 32-bit, 64-bit 06:26:25 Byte Order: Little Endian 06:26:25 Address sizes: 40 bits physical, 48 bits virtual 06:26:25 CPU(s): 8 06:26:25 On-line CPU(s) list: 0-7 06:26:25 Thread(s) per core: 1 06:26:25 Core(s) per socket: 1 06:26:25 Socket(s): 8 06:26:25 NUMA node(s): 1 06:26:25 Vendor ID: AuthenticAMD 06:26:25 CPU family: 23 06:26:25 Model: 49 06:26:25 Model name: AMD EPYC-Rome Processor 06:26:25 Stepping: 0 06:26:25 CPU MHz: 2799.998 06:26:25 BogoMIPS: 5599.99 06:26:25 Virtualization: AMD-V 06:26:25 Hypervisor vendor: KVM 06:26:25 Virtualization type: full 06:26:25 L1d cache: 256 KiB 06:26:25 L1i cache: 256 KiB 06:26:25 L2 cache: 4 MiB 06:26:25 L3 cache: 128 MiB 06:26:25 NUMA node0 CPU(s): 0-7 06:26:25 Vulnerability Itlb multihit: Not affected 06:26:25 Vulnerability L1tf: Not affected 06:26:25 Vulnerability Mds: Not affected 06:26:25 Vulnerability Meltdown: Not affected 06:26:25 Vulnerability Mmio stale data: Not affected 06:26:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:26:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:26:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:26:25 Vulnerability Srbds: Not affected 06:26:25 Vulnerability Tsx async abort: Not affected 06:26:25 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 06:26:25 06:26:25 06:26:25 ---> nproc: 06:26:25 8 06:26:25 06:26:25 06:26:25 ---> df -h: 06:26:25 Filesystem Size Used Avail Use% Mounted on 06:26:25 overlay 155G 12G 144G 8% / 06:26:25 tmpfs 64M 0 64M 0% /dev 06:26:25 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:26:25 shm 64M 0 64M 0% /dev/shm 06:26:25 /dev/vda1 155G 12G 144G 8% /facter-os 06:26:25 06:26:25 06:26:25 ---> sar -b -r -n DEV: 06:26:25 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-18064) 11/15/23 _x86_64_ (8 CPU) 06:26:25 06:26:25 06:14:47 LINUX RESTART (8 CPU) 06:26:25 06:26:25 06:15:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:26:25 06:16:01 401.62 48.04 353.57 0.00 5422.03 181213.93 0.00 06:26:25 06:17:01 127.47 0.80 126.67 0.00 6.40 59639.04 0.00 06:26:25 06:18:01 152.86 0.22 152.64 0.00 15.20 25118.88 0.00 06:26:25 06:19:01 185.40 0.10 185.30 0.00 9.60 44527.02 0.00 06:26:25 06:20:01 34.94 10.41 24.53 0.00 5181.40 6201.12 0.00 06:26:25 06:21:01 6.25 1.23 5.01 0.00 242.50 122.98 0.00 06:26:25 06:22:01 1.00 0.00 1.00 0.00 0.00 11.06 0.00 06:26:25 06:23:01 0.85 0.00 0.85 0.00 0.00 10.26 0.00 06:26:25 06:24:01 1.08 0.00 1.08 0.00 0.00 12.26 0.00 06:26:25 06:25:01 1.53 0.03 1.50 0.00 0.27 30.12 0.00 06:26:25 06:26:01 4.37 2.22 2.14 0.00 36.25 74.50 0.00 06:26:25 Average: 83.37 5.73 77.64 0.00 991.69 28804.11 0.00 06:26:25 06:26:25 06:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:26:25 06:16:01 29244300 31546544 774368 2.35 75588 2502900 1982036 5.84 1021760 2243436 476 06:26:25 06:17:01 27738636 31561020 745460 2.27 148424 3817216 1838100 5.42 1208104 3415616 215160 06:26:25 06:18:01 28164788 31550768 750720 2.28 155852 3404656 1938964 5.71 1227972 2999108 98968 06:26:25 06:19:01 27441780 31561968 737500 2.24 168532 4069904 1797220 5.30 1293368 3594224 444 06:26:25 06:20:01 27061768 31527000 761368 2.32 175752 4393648 1804672 5.32 1536236 3705648 768 06:26:25 06:21:01 27074032 31549180 741120 2.25 176504 4402520 1808132 5.33 1522416 3706532 44 06:26:25 06:22:01 27073732 31548928 741332 2.25 176524 4402524 1808132 5.33 1522384 3706540 8 06:26:25 06:23:01 27080552 31556040 734348 2.23 176532 4402652 1808132 5.33 1515772 3706828 160 06:26:25 06:24:01 27081088 31556628 733892 2.23 176540 4402656 1808132 5.33 1515776 3706868 8 06:26:25 06:25:01 27080108 31555952 734552 2.23 176636 4402644 1808132 5.33 1516984 3707012 324 06:26:25 06:26:01 27077972 31556468 733592 2.23 176688 4405000 1808132 5.33 1515944 3709248 16 06:26:25 Average: 27465341 31551863 744387 2.26 162143 4055120 1837253 5.41 1399701 3472824 28761 06:26:25 06:26:25 06:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:26:25 06:16:01 lo 6.93 6.93 0.68 0.68 0.00 0.00 0.00 0.00 06:26:25 06:16:01 ens3 541.24 345.58 5649.61 102.64 0.00 0.00 0.00 0.00 06:26:25 06:16:01 docker0 6.98 9.82 0.69 86.50 0.00 0.00 0.00 0.00 06:26:25 06:16:01 vethfbb9567 2.18 1.65 0.22 1.59 0.00 0.00 0.00 0.00 06:26:25 06:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:26:25 06:17:01 ens3 353.00 221.80 2396.27 24.15 0.00 0.00 0.00 0.00 06:26:25 06:17:01 docker0 218.25 346.90 18.68 2391.69 0.00 0.00 0.00 0.00 06:26:25 06:18:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 06:26:25 06:18:01 ens3 44.83 28.33 69.99 16.65 0.00 0.00 0.00 0.00 06:26:25 06:18:01 docker0 1.97 2.98 0.14 31.12 0.00 0.00 0.00 0.00 06:26:25 06:19:01 lo 2.47 2.47 0.25 0.25 0.00 0.00 0.00 0.00 06:26:25 06:19:01 ens3 171.16 93.50 3684.88 18.66 0.00 0.00 0.00 0.00 06:26:25 06:19:01 docker0 18.08 44.94 1.35 878.98 0.00 0.00 0.00 0.00 06:26:25 06:20:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 06:26:25 06:20:01 ens3 140.39 48.01 2027.83 3.46 0.00 0.00 0.00 0.00 06:26:25 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:26:25 06:21:01 ens3 0.60 0.50 0.28 0.13 0.00 0.00 0.00 0.00 06:26:25 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:22:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:26:25 06:23:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 06:26:25 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:24:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:26:25 06:25:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 06:26:25 06:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 06:26:01 ens3 0.17 0.08 0.08 0.06 0.00 0.00 0.00 0.00 06:26:25 06:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:26:25 Average: lo 0.98 0.98 0.09 0.09 0.00 0.00 0.00 0.00 06:26:25 Average: ens3 113.75 67.07 1256.73 15.06 0.00 0.00 0.00 0.00 06:26:25 Average: docker0 22.30 36.78 1.90 308.00 0.00 0.00 0.00 0.00 06:26:25 06:26:25 06:26:25 ---> sar -P ALL: 06:26:25 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-18064) 11/15/23 _x86_64_ (8 CPU) 06:26:25 06:26:25 06:14:47 LINUX RESTART (8 CPU) 06:26:25 06:26:25 06:15:01 CPU %user %nice %system %iowait %steal %idle 06:26:25 06:16:01 all 9.46 0.00 3.25 3.51 0.06 83.71 06:26:25 06:16:01 0 8.62 0.00 3.13 0.54 0.07 87.64 06:26:25 06:16:01 1 8.96 0.00 2.43 1.58 0.05 86.98 06:26:25 06:16:01 2 9.36 0.00 3.11 1.48 0.05 86.00 06:26:25 06:16:01 3 11.62 0.00 2.45 0.50 0.05 85.38 06:26:25 06:16:01 4 8.02 0.00 3.63 12.11 0.08 76.15 06:26:25 06:16:01 5 8.66 0.00 2.70 0.56 0.05 88.04 06:26:25 06:16:01 6 11.38 0.00 2.96 0.30 0.05 85.30 06:26:25 06:16:01 7 9.06 0.00 5.63 11.13 0.08 74.09 06:26:25 06:17:01 all 4.16 0.00 1.85 2.67 0.04 91.27 06:26:25 06:17:01 0 3.94 0.00 1.31 0.67 0.05 94.03 06:26:25 06:17:01 1 3.67 0.00 1.85 0.82 0.05 93.60 06:26:25 06:17:01 2 4.30 0.00 1.20 0.49 0.03 93.98 06:26:25 06:17:01 3 4.02 0.00 1.91 0.44 0.03 93.61 06:26:25 06:17:01 4 4.01 0.00 2.90 9.03 0.03 84.03 06:26:25 06:17:01 5 4.21 0.00 1.63 0.39 0.03 93.74 06:26:25 06:17:01 6 5.11 0.00 1.59 0.85 0.07 92.38 06:26:25 06:17:01 7 4.03 0.00 2.45 8.71 0.05 84.75 06:26:25 06:18:01 all 41.74 0.00 5.16 2.23 0.16 50.71 06:26:25 06:18:01 0 44.49 0.00 5.55 0.42 0.08 49.45 06:26:25 06:18:01 1 40.98 0.00 5.19 1.55 0.10 52.17 06:26:25 06:18:01 2 41.05 0.00 4.66 1.06 0.10 53.13 06:26:25 06:18:01 3 41.44 0.00 5.36 2.78 0.10 50.33 06:26:25 06:18:01 4 41.27 0.00 4.96 5.26 0.10 48.41 06:26:25 06:18:01 5 41.30 0.00 5.13 0.71 0.57 52.29 06:26:25 06:18:01 6 41.96 0.00 5.43 1.08 0.10 51.43 06:26:25 06:18:01 7 41.46 0.00 5.02 4.95 0.10 48.48 06:26:25 06:19:01 all 4.49 0.00 2.16 2.92 0.04 90.39 06:26:25 06:19:01 0 4.08 0.00 2.28 7.91 0.08 85.64 06:26:25 06:19:01 1 4.39 0.00 2.23 7.38 0.03 85.97 06:26:25 06:19:01 2 4.21 0.00 1.74 0.02 0.02 94.01 06:26:25 06:19:01 3 4.14 0.00 2.19 1.99 0.03 91.65 06:26:25 06:19:01 4 7.10 0.00 2.18 1.19 0.03 89.50 06:26:25 06:19:01 5 3.68 0.00 1.67 1.18 0.05 93.42 06:26:25 06:19:01 6 4.93 0.00 2.45 2.09 0.03 90.50 06:26:25 06:19:01 7 3.41 0.00 2.57 1.60 0.03 92.38 06:26:25 06:20:01 all 1.17 0.00 0.53 0.38 0.02 97.89 06:26:25 06:20:01 0 0.67 0.00 0.47 0.15 0.03 98.68 06:26:25 06:20:01 1 3.18 0.00 0.77 0.02 0.02 96.01 06:26:25 06:20:01 2 0.93 0.00 0.65 0.32 0.02 98.08 06:26:25 06:20:01 3 0.97 0.00 0.50 0.03 0.02 98.48 06:26:25 06:20:01 4 0.68 0.00 0.52 0.33 0.02 98.45 06:26:25 06:20:01 5 0.60 0.00 0.35 0.34 0.02 98.69 06:26:25 06:20:01 6 1.84 0.00 0.67 1.05 0.02 96.43 06:26:25 06:20:01 7 0.50 0.00 0.33 0.82 0.02 98.33 06:26:25 06:21:01 all 0.07 0.00 0.10 0.03 0.20 99.59 06:26:25 06:21:01 0 0.07 0.00 0.15 0.08 0.12 99.58 06:26:25 06:21:01 1 0.03 0.00 0.08 0.03 0.45 99.40 06:26:25 06:21:01 2 0.02 0.00 0.08 0.10 0.02 99.78 06:26:25 06:21:01 3 0.10 0.00 0.15 0.00 0.02 99.73 06:26:25 06:21:01 4 0.03 0.00 0.10 0.00 0.33 99.53 06:26:25 06:21:01 5 0.13 0.00 0.10 0.00 0.33 99.43 06:26:25 06:21:01 6 0.08 0.00 0.07 0.00 0.15 99.70 06:26:25 06:21:01 7 0.10 0.00 0.10 0.00 0.22 99.58 06:26:25 06:22:01 all 0.01 0.00 0.01 0.00 0.01 99.97 06:26:25 06:22:01 0 0.03 0.00 0.00 0.00 0.00 99.97 06:26:25 06:22:01 1 0.00 0.00 0.00 0.00 0.02 99.98 06:26:25 06:22:01 2 0.02 0.00 0.00 0.02 0.00 99.97 06:26:25 06:22:01 3 0.05 0.00 0.02 0.00 0.02 99.92 06:26:25 06:22:01 4 0.00 0.00 0.03 0.00 0.00 99.97 06:26:25 06:22:01 5 0.02 0.00 0.00 0.00 0.02 99.97 06:26:25 06:22:01 6 0.00 0.00 0.00 0.00 0.00 100.00 06:26:25 06:22:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:26:25 06:23:01 all 0.02 0.00 0.02 0.00 0.00 99.96 06:26:25 06:23:01 0 0.07 0.00 0.02 0.00 0.00 99.92 06:26:25 06:23:01 1 0.00 0.00 0.00 0.02 0.00 99.98 06:26:25 06:23:01 2 0.00 0.00 0.00 0.00 0.00 100.00 06:26:25 06:23:01 3 0.00 0.00 0.03 0.00 0.02 99.95 06:26:25 06:23:01 4 0.03 0.00 0.03 0.00 0.02 99.92 06:26:25 06:23:01 5 0.03 0.00 0.03 0.00 0.00 99.93 06:26:25 06:23:01 6 0.00 0.00 0.02 0.00 0.00 99.98 06:26:25 06:23:01 7 0.03 0.00 0.00 0.00 0.00 99.97 06:26:25 06:24:01 all 0.02 0.00 0.01 0.00 0.00 99.97 06:26:25 06:24:01 0 0.07 0.00 0.02 0.00 0.02 99.90 06:26:25 06:24:01 1 0.00 0.00 0.00 0.00 0.00 100.00 06:26:25 06:24:01 2 0.02 0.00 0.00 0.02 0.00 99.97 06:26:25 06:24:01 3 0.03 0.00 0.00 0.00 0.02 99.95 06:26:25 06:24:01 4 0.00 0.00 0.02 0.00 0.00 99.98 06:26:25 06:24:01 5 0.02 0.00 0.02 0.00 0.00 99.97 06:26:25 06:24:01 6 0.03 0.00 0.00 0.00 0.00 99.97 06:26:25 06:24:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:26:25 06:25:01 all 0.05 0.00 0.02 0.02 0.01 99.90 06:26:25 06:25:01 0 0.03 0.00 0.02 0.00 0.00 99.95 06:26:25 06:25:01 1 0.02 0.00 0.02 0.03 0.02 99.92 06:26:25 06:25:01 2 0.02 0.00 0.03 0.03 0.00 99.92 06:26:25 06:25:01 3 0.02 0.00 0.02 0.03 0.00 99.93 06:26:25 06:25:01 4 0.18 0.00 0.08 0.00 0.03 99.70 06:26:25 06:25:01 5 0.05 0.00 0.00 0.03 0.00 99.92 06:26:25 06:25:01 6 0.03 0.00 0.02 0.00 0.02 99.93 06:26:25 06:25:01 7 0.03 0.00 0.00 0.00 0.02 99.95 06:26:25 06:26:01 all 0.05 0.00 0.03 0.09 0.02 99.81 06:26:25 06:26:01 0 0.03 0.00 0.05 0.00 0.02 99.90 06:26:25 06:26:01 1 0.00 0.00 0.02 0.35 0.00 99.63 06:26:25 06:26:01 2 0.02 0.00 0.02 0.28 0.03 99.65 06:26:25 06:26:01 3 0.00 0.00 0.05 0.00 0.00 99.95 06:26:25 06:26:01 4 0.08 0.00 0.03 0.02 0.05 99.82 06:26:25 06:26:01 5 0.03 0.00 0.03 0.08 0.03 99.82 06:26:25 06:26:01 6 0.25 0.00 0.02 0.00 0.00 99.73 06:26:25 06:26:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:26:25 06:26:25 Average: CPU %user %nice %system %iowait %steal %idle 06:26:25 Average: all 5.53 0.00 1.19 1.07 0.05 92.15 06:26:25 Average: 0 5.62 0.00 1.18 0.88 0.04 92.28 06:26:25 Average: 1 5.53 0.00 1.14 1.06 0.07 92.21 06:26:25 Average: 2 5.41 0.00 1.04 0.34 0.02 93.18 06:26:25 Average: 3 5.63 0.00 1.15 0.52 0.03 92.67 06:26:25 Average: 4 5.56 0.00 1.31 2.53 0.06 90.54 06:26:25 Average: 5 5.30 0.00 1.05 0.30 0.10 93.25 06:26:25 Average: 6 5.93 0.00 1.19 0.49 0.04 92.35 06:26:25 Average: 7 5.29 0.00 1.45 2.45 0.05 90.75 06:26:25 06:26:25 06:26:25