Pull request #262 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than 3307c6d2d3b8864045263ee25b9fcecb1506d5cc Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b 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-ssh18354995681670109581.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh136812757824145165.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-262/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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh186528260695358482.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh13335054167825900027.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-262/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-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh277867346675324288.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-192 in /w/workspace/foundry_device-usb-camera_PR-262 [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-262 # 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 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit 3307c6d2d3b8864045263ee25b9fcecb1506d5cc > 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/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3307c6d2d3b8864045263ee25b9fcecb1506d5cc # timeout=10 Merge succeeded, producing 3307c6d2d3b8864045263ee25b9fcecb1506d5cc Checking out Revision 3307c6d2d3b8864045263ee25b9fcecb1506d5cc (PR-262) Commit message: "test: fix getPaths test" > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3307c6d2d3b8864045263ee25b9fcecb1506d5cc # timeout=10 > git rev-list --no-walk b60069efaff03ec5032551d86ab44005fb8433b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:38:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:38:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:38:30 ========================================================= 21:38:30 EdgeX Global Pipelines Version Info 21:38:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:38:30 ------------------- 21:38:30 stable info: 21:38:30 ------------------- 21:38:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:38:30 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:38:30 Message: update stable to v1.0.250 21:38:31 ------------------- 21:38:31 experimental info: 21:38:31 ------------------- 21:38:31 Commited By: **** collab-it+edgex@linuxfoundation.org 21:38:31 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:38:31 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo 21:38:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo 21:38:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3307c6d2d3b8864045263ee25b9fcecb1506d5cc [Pipeline] echo 21:38:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3307c6d [Pipeline] echo 21:38:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:32 provisioning config files... 21:38:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config4792488587103240156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:32 ---> docker-login.sh 21:38:32 nexus3.edgexfoundry.org:10001 21:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:32 Configure a credential helper to remove this warning. See 21:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:32 21:38:32 Login Succeeded 21:38:32 nexus3.edgexfoundry.org:10002 21:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:32 Configure a credential helper to remove this warning. See 21:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:32 21:38:32 Login Succeeded 21:38:32 nexus3.edgexfoundry.org:10003 21:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:32 Configure a credential helper to remove this warning. See 21:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:32 21:38:32 Login Succeeded 21:38:32 nexus3.edgexfoundry.org:10004 21:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:33 Configure a credential helper to remove this warning. See 21:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:33 21:38:33 Login Succeeded 21:38:33 docker.io 21:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:33 Configure a credential helper to remove this warning. See 21:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:33 21:38:33 Login Succeeded 21:38:33 ---> docker-login.sh ends [Pipeline] } 21:38:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:38:33 + git rev-list -1 --merges 3307c6d2d3b8864045263ee25b9fcecb1506d5cc~1..3307c6d2d3b8864045263ee25b9fcecb1506d5cc [Pipeline] echo 21:38:33 -----------> git rev-list -1 --merges 3307c6d2d3b8864045263ee25b9fcecb1506d5cc~1..3307c6d2d3b8864045263ee25b9fcecb1506d5cc 3307c6d2d3b8864045263ee25b9fcecb1506d5cc [false] [Pipeline] sh 21:38:34 + git log --format=format:%s -1 3307c6d2d3b8864045263ee25b9fcecb1506d5cc [Pipeline] echo 21:38:34 ========================================================= 21:38:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:38:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:34 + git log --format=format:%s -1 3307c6d2d3b8864045263ee25b9fcecb1506d5cc [Pipeline] echo 21:38:34 [semverPrep] GIT_COMMIT: 3307c6d2d3b8864045263ee25b9fcecb1506d5cc, Commit Message: test: fix getPaths test [Pipeline] echo 21:38:34 [semverPrep] This is not a build commit. [Pipeline] sh 21:38:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:34 + grep -v github /etc/ssh/ssh_known_hosts 21:38:34 + [ -e /tmp/ssh_known_hosts ] 21:38:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:38:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:38:34 + sudo tee -a /etc/ssh/ssh_known_hosts 21:38:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:35 21:38:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:35 0.1.4: Pulling from edgex-devops/py-git-semver 21:38:35 b85a868b505f: Pulling fs layer 21:38:35 e2be974225ed: Pulling fs layer 21:38:35 339a4e72a1f5: Pulling fs layer 21:38:35 988bab9f4d93: Pulling fs layer 21:38:35 1469e6f7b9e6: Pulling fs layer 21:38:35 eaf3925da568: Pulling fs layer 21:38:35 bab4dde63d76: Pulling fs layer 21:38:35 bde34c3a00c8: Pulling fs layer 21:38:35 b352a97aabf1: Pulling fs layer 21:38:35 4872d77fe225: Pulling fs layer 21:38:35 5851b861e8e6: Pulling fs layer 21:38:35 bab4dde63d76: Waiting 21:38:35 1469e6f7b9e6: Waiting 21:38:35 b352a97aabf1: Waiting 21:38:35 988bab9f4d93: Waiting 21:38:35 4872d77fe225: Waiting 21:38:35 bde34c3a00c8: Waiting 21:38:35 eaf3925da568: Waiting 21:38:35 e2be974225ed: Download complete 21:38:35 988bab9f4d93: Verifying Checksum 21:38:35 988bab9f4d93: Download complete 21:38:35 1469e6f7b9e6: Verifying Checksum 21:38:35 1469e6f7b9e6: Download complete 21:38:35 eaf3925da568: Verifying Checksum 21:38:35 eaf3925da568: Download complete 21:38:35 339a4e72a1f5: Verifying Checksum 21:38:35 339a4e72a1f5: Download complete 21:38:35 bde34c3a00c8: Verifying Checksum 21:38:35 bde34c3a00c8: Download complete 21:38:35 b352a97aabf1: Verifying Checksum 21:38:35 b352a97aabf1: Download complete 21:38:35 4872d77fe225: Verifying Checksum 21:38:35 4872d77fe225: Download complete 21:38:35 5851b861e8e6: Download complete 21:38:35 b85a868b505f: Download complete 21:38:36 bab4dde63d76: Verifying Checksum 21:38:36 bab4dde63d76: Download complete 21:38:37 b85a868b505f: Pull complete 21:38:37 e2be974225ed: Pull complete 21:38:37 339a4e72a1f5: Pull complete 21:38:37 988bab9f4d93: Pull complete 21:38:38 1469e6f7b9e6: Pull complete 21:38:38 eaf3925da568: Pull complete 21:38:40 bab4dde63d76: Pull complete 21:38:40 bde34c3a00c8: Pull complete 21:38:40 b352a97aabf1: Pull complete 21:38:40 4872d77fe225: Pull complete 21:38:40 5851b861e8e6: Pull complete 21:38:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:38:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:40 prd-ubuntu20.04-docker-8c-8g-192 does not seem to be running inside a container 21:38:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:38:43 $ docker top 51994778b594c9e33b46764531654b4dee890f7559eeeb8a5cc6d9eceb49bc6e -eo pid,comm 21:38:43 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). 21:38:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:43 [ssh-agent] Looking for ssh-agent implementation... 21:38:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:43 $ docker exec 51994778b594c9e33b46764531654b4dee890f7559eeeb8a5cc6d9eceb49bc6e ssh-agent 21:38:43 SSH_AUTH_SOCK=/tmp/ssh-CXtL5PcGHlIC/agent.32 21:38:43 SSH_AGENT_PID=38 21:38:43 Running ssh-add (command line suppressed) 21:38:44 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_6484482841401949931.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_6484482841401949931.key) 21:38:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:44 + git tag --points-at HEAD [Pipeline] } 21:38:44 $ docker exec --env ******** --env ******** 51994778b594c9e33b46764531654b4dee890f7559eeeb8a5cc6d9eceb49bc6e ssh-agent -k 21:38:44 unset SSH_AUTH_SOCK; 21:38:44 unset SSH_AGENT_PID; 21:38:44 echo Agent pid 38 killed; 21:38:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:38:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:44 [ssh-agent] Looking for ssh-agent implementation... 21:38:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:44 $ docker exec 51994778b594c9e33b46764531654b4dee890f7559eeeb8a5cc6d9eceb49bc6e ssh-agent 21:38:44 SSH_AUTH_SOCK=/tmp/ssh-uS3eulHLpevi/agent.70 21:38:44 SSH_AGENT_PID=76 21:38:44 Running ssh-add (command line suppressed) 21:38:44 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_7958369037637343662.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_7958369037637343662.key) 21:38:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:45 + git semver init 21:38:45 2023-06-29 21:38:45,313 [run_init] DEBUG init version:0.0.0 force:False 21:38:45 2023-06-29 21:38:45,314 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver 21:38:45 2023-06-29 21:38:45,314 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver 21:38:45 2023-06-29 21:38:45,314 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) 21:38:46 2023-06-29 21:38:46,008 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude 21:38:46 2023-06-29 21:38:46,009 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False 21:38:46 2023-06-29 21:38:46,009 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 21:38:46 2023-06-29 21:38:46,013 [execute] INFO git cat-file --batch-check 21:38:46 2023-06-29 21:38:46,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 21:38:46 2023-06-29 21:38:46,020 [execute] INFO git cat-file --batch 21:38:46 2023-06-29 21:38:46,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 21:38:46 2023-06-29 21:38:46,025 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 21:38:46 0.0.0 [Pipeline] } 21:38:46 $ docker exec --env ******** --env ******** 51994778b594c9e33b46764531654b4dee890f7559eeeb8a5cc6d9eceb49bc6e ssh-agent -k 21:38:46 unset SSH_AUTH_SOCK; 21:38:46 unset SSH_AGENT_PID; 21:38:46 echo Agent pid 76 killed; 21:38:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:46 + git semver [Pipeline] } 21:38:47 $ docker stop --time=1 51994778b594c9e33b46764531654b4dee890f7559eeeb8a5cc6d9eceb49bc6e 21:38:48 $ docker rm -f --volumes 51994778b594c9e33b46764531654b4dee890f7559eeeb8a5cc6d9eceb49bc6e [Pipeline] // withDockerContainer [Pipeline] sh 21:38:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:38:48 Stashed 1 file(s) [Pipeline] echo 21:38:48 [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 21:38:49 provisioning config files... 21:38:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config13530546463921606215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:49 ---> docker-login.sh 21:38:49 nexus3.edgexfoundry.org:10001 21:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:49 Configure a credential helper to remove this warning. See 21:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:49 21:38:49 Login Succeeded 21:38:49 nexus3.edgexfoundry.org:10002 21:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:49 Configure a credential helper to remove this warning. See 21:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:49 21:38:49 Login Succeeded 21:38:49 nexus3.edgexfoundry.org:10003 21:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:49 Configure a credential helper to remove this warning. See 21:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:49 21:38:49 Login Succeeded 21:38:49 nexus3.edgexfoundry.org:10004 21:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:49 Configure a credential helper to remove this warning. See 21:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:49 21:38:49 Login Succeeded 21:38:49 docker.io 21:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:49 Configure a credential helper to remove this warning. See 21:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:49 21:38:49 Login Succeeded 21:38:49 ---> docker-login.sh ends [Pipeline] } 21:38:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:38:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:49 ========================================================= 21:38:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:38:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:38:50 Sending build context to Docker daemon 2.042MB 21:38:50 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:38:50 Step 2/13 : FROM ${BASE} AS builder 21:38:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:38:50 f56be85fc22e: Pulling fs layer 21:38:50 85791d961cd3: Pulling fs layer 21:38:50 d694b5ae8c79: Pulling fs layer 21:38:50 9f32a84ed3da: Pulling fs layer 21:38:50 4d19c01a9841: Pulling fs layer 21:38:50 9325e15d5711: Pulling fs layer 21:38:50 556b6ee489ea: Pulling fs layer 21:38:50 c5a4b2cf53e6: Pulling fs layer 21:38:50 9325e15d5711: Waiting 21:38:50 556b6ee489ea: Waiting 21:38:50 c5a4b2cf53e6: Waiting 21:38:50 9f32a84ed3da: Waiting 21:38:50 4d19c01a9841: Waiting 21:38:50 85791d961cd3: Verifying Checksum 21:38:50 85791d961cd3: Download complete 21:38:50 9f32a84ed3da: Verifying Checksum 21:38:50 9f32a84ed3da: Download complete 21:38:50 4d19c01a9841: Verifying Checksum 21:38:50 4d19c01a9841: Download complete 21:38:50 f56be85fc22e: Download complete 21:38:50 9325e15d5711: Verifying Checksum 21:38:50 9325e15d5711: Download complete 21:38:50 f56be85fc22e: Pull complete 21:38:50 85791d961cd3: Pull complete 21:38:51 c5a4b2cf53e6: Verifying Checksum 21:38:51 c5a4b2cf53e6: Download complete 21:38:51 d694b5ae8c79: Download complete 21:38:51 556b6ee489ea: Verifying Checksum 21:38:51 556b6ee489ea: Download complete 21:38:54 d694b5ae8c79: Pull complete 21:38:54 9f32a84ed3da: Pull complete 21:38:54 4d19c01a9841: Pull complete 21:38:54 9325e15d5711: Pull complete 21:38:57 556b6ee489ea: Pull complete 21:38:58 c5a4b2cf53e6: Pull complete 21:38:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:38:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:38:58 ---> c4be618373d6 21:38:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:39:02 ---> Running in 240e77baad8b 21:39:02 Removing intermediate container 240e77baad8b 21:39:02 ---> 7f9b4a308f98 21:39:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:02 ---> Running in b62c059098e6 21:39:02 Removing intermediate container b62c059098e6 21:39:02 ---> 443d3fc52508 21:39:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:39:02 ---> Running in 5f52613e4f51 21:39:02 Removing intermediate container 5f52613e4f51 21:39:02 ---> 1fb2829aadfd 21:39:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:39:02 ---> Running in 1406cd45f9ac 21:39:02 Removing intermediate container 1406cd45f9ac 21:39:02 ---> 3719f642f657 21:39:02 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:02 ---> Running in d309d4feea2f 21:39:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:39:03 (1/14) Installing libintl (0.21.1-r1) 21:39:03 (2/14) Installing eudev-libs (3.2.11-r4) 21:39:03 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:39:03 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:39:03 (5/14) Installing v4l-utils (1.22.1-r2) 21:39:03 (6/14) Installing udev-init-scripts (35-r1) 21:39:03 (7/14) Installing libblkid (2.38.1-r1) 21:39:03 (8/14) Installing xz-libs (5.2.9-r0) 21:39:03 (9/14) Installing zstd-libs (1.5.5-r0) 21:39:03 (10/14) Installing kmod-libs (30-r1) 21:39:03 (11/14) Installing eudev (3.2.11-r4) 21:39:03 (12/14) Installing eudev-dev (3.2.11-r4) 21:39:03 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:39:03 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:39:03 Executing busybox-1.35.0-r29.trigger 21:39:03 Executing eudev-3.2.11-r4.trigger 21:39:03 OK: 272 MiB in 67 packages 21:39:03 Removing intermediate container d309d4feea2f 21:39:03 ---> 1373283d56fd 21:39:03 Step 8/13 : WORKDIR /device-usb-camera 21:39:03 ---> Running in a1922e8098e3 21:39:03 Removing intermediate container a1922e8098e3 21:39:03 ---> 5f585df35e0b 21:39:03 Step 9/13 : COPY go.mod vendor* ./ 21:39:04 Still waiting to schedule task 21:39:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:39:04 ---> 39ef60069daf 21:39:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:04 ---> Running in 4d6720aad61d 21:39:36 Removing intermediate container 4d6720aad61d 21:39:36 ---> 6e93915bbe4b 21:39:36 Step 11/13 : COPY . . 21:39:36 ---> 96bbebedaddb 21:39:36 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:39:36 ---> Running in 3d774c7dd79a 21:39:36  % Total % Received % Xferd Average Speed Time Time Time Current 21:39:36 Dload Upload Total Spent Left Speed 21:39:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8063 0 --:--:-- --:--:-- --:--:-- 8106 21:39:36 Removing intermediate container 3d774c7dd79a 21:39:36 ---> 69d8d0c8b557 21:39:36 Step 13/13 : RUN ${MAKE} 21:39:36 ---> Running in 0f57bc5e1815 21:39:36 noop 21:39:36 Removing intermediate container 0f57bc5e1815 21:39:36 ---> fe1f868ecdfd 21:39:36 Successfully built fe1f868ecdfd 21:39:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:36 + docker inspect -f . ci-base-image-x86_64 21:39:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:36 prd-ubuntu20.04-docker-8c-8g-192 does not seem to be running inside a container 21:39:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:39:37 $ docker top b7b1e4f80006260526e830f6b0f06e7b4cce78a4cc7ebe8e8f9e397f396fcc0d -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:37 + go version 21:39:37 go version go1.20.2 linux/amd64 [Pipeline] } 21:39:37 $ docker stop --time=1 b7b1e4f80006260526e830f6b0f06e7b4cce78a4cc7ebe8e8f9e397f396fcc0d 21:39:38 $ docker rm -f --volumes b7b1e4f80006260526e830f6b0f06e7b4cce78a4cc7ebe8e8f9e397f396fcc0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:39 + docker inspect -f . ci-base-image-x86_64 21:39:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:39 prd-ubuntu20.04-docker-8c-8g-192 does not seem to be running inside a container 21:39:39 $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:39:39 $ docker top c9a9d22d590bdaba2043f1b45e9699453afbaa44f14906b32b47110f48d5a8c4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:39 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh 21:39:40 + make test 21:39:40 go test ./... -coverprofile=coverage.out ./... 21:39:45 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:39:55 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:39:56 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 3.6% of statements 21:40:04 go vet ./... 21:40:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:40:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:40:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:40:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:40:07 $ docker stop --time=1 c9a9d22d590bdaba2043f1b45e9699453afbaa44f14906b32b47110f48d5a8c4 21:40:10 $ docker rm -f --volumes c9a9d22d590bdaba2043f1b45e9699453afbaa44f14906b32b47110f48d5a8c4 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:40:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:40:11 + ls -al . 21:40:11 total 200 21:40:11 drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 21:39 . 21:40:11 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 21:38 .. 21:40:11 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 21:38 .git 21:40:11 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 21:38 .github 21:40:11 -rw-rw-r-- 1 jenkins jenkins 414 Jun 29 21:38 .gitignore 21:40:11 -rw-rw-r-- 1 jenkins jenkins 45 Jun 29 21:38 .golangci.yml 21:40:11 -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 21:38 .hadolint.yml 21:40:11 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 21:38 .semver 21:40:11 -rw-rw-r-- 1 jenkins jenkins 9783 Jun 29 21:38 Attribution.txt 21:40:11 -rw-rw-r-- 1 jenkins jenkins 11903 Jun 29 21:38 CHANGELOG.md 21:40:11 -rw-rw-r-- 1 jenkins jenkins 2453 Jun 29 21:38 Dockerfile 21:40:11 -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 21:38 GOVERNANCE.md 21:40:11 -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 21:38 Jenkinsfile 21:40:11 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 21:38 LICENSE 21:40:11 -rw-rw-r-- 1 jenkins jenkins 2364 Jun 29 21:38 Makefile 21:40:11 -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 21:38 OWNERS.md 21:40:11 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 29 21:38 README.md 21:40:11 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 21:38 VERSION 21:40:11 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 21:38 bin 21:40:11 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 21:38 cmd 21:40:11 -rw-r--r-- 1 jenkins jenkins 38041 Jun 29 21:39 coverage.out 21:40:11 -rwxrwxr-x 1 jenkins jenkins 140 Jun 29 21:38 docker-entrypoint.sh 21:40:11 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 21:38 docs 21:40:11 -rw-rw-r-- 1 jenkins jenkins 3416 Jun 29 21:38 go.mod 21:40:11 -rw-rw-r-- 1 jenkins jenkins 31482 Jun 29 21:38 go.sum 21:40:11 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 21:38 internal 21:40:11 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 21:38 snap 21:40:11 -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 21:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:12 + 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=3307c6d2d3b8864045263ee25b9fcecb1506d5cc --label arch=amd64 --label version=0.0.0 . 21:40:12 Sending build context to Docker daemon 2.081MB 21:40:12 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:40:12 Step 2/36 : FROM ${BASE} AS builder 21:40:12 ---> fe1f868ecdfd 21:40:12 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:40:12 ---> Running in 5fb545eb385b 21:40:12 Removing intermediate container 5fb545eb385b 21:40:12 ---> 9acf21a2a3d0 21:40:12 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:40:12 ---> Running in bdf8f9758559 21:40:12 Removing intermediate container bdf8f9758559 21:40:12 ---> 7806648ac754 21:40:12 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:40:12 ---> Running in 1c7be2d84bb9 21:40:12 Removing intermediate container 1c7be2d84bb9 21:40:12 ---> b4112bea61f2 21:40:12 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:40:12 ---> Running in 695aaef2bb6e 21:40:12 Removing intermediate container 695aaef2bb6e 21:40:12 ---> 2887dcbc1ab4 21:40:12 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:40:12 ---> Running in 2c5b9648ebf3 21:40:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:40:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:40:13 OK: 272 MiB in 67 packages 21:40:13 Removing intermediate container 2c5b9648ebf3 21:40:13 ---> 4c0c29ba3ab5 21:40:13 Step 8/36 : WORKDIR /device-usb-camera 21:40:13 ---> Running in 5cabed483085 21:40:13 Removing intermediate container 5cabed483085 21:40:13 ---> 7a7b752bbcc9 21:40:13 Step 9/36 : COPY go.mod vendor* ./ 21:40:14 ---> 95d0e9670c1b 21:40:14 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:14 ---> Running in 9302d7d02be5 21:40:15 Removing intermediate container 9302d7d02be5 21:40:15 ---> 60c6813c4957 21:40:15 Step 11/36 : COPY . . 21:40:15 ---> d41a7199a87d 21:40:15 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:40:15 ---> Running in 0bcda1721c6e 21:40:15  % Total % Received % Xferd Average Speed Time Time Time Current 21:40:15 Dload Upload Total Spent Left Speed 21:40:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0   0  21696    0 --:--:-- --:--:-- --:--:-- 22125 21:40:15 Removing intermediate container 0bcda1721c6e 21:40:15 ---> a2d71b37c89a 21:40:15 Step 13/36 : RUN ${MAKE} 21:40:15 ---> Running in cbca6b407f5c 21:40:16 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:40:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-193 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws 21:40:31 Running in /w/workspace/device-usb-camera/20 [Pipeline] { [Pipeline] checkout 21:40:31 Selected Git installation does not exist. Using Default 21:40:31 The recommended git tool is: NONE 21:40:36 using credential edgex-jenkins-ssh 21:40:36 Cloning the remote Git repository 21:40:37 Removing intermediate container cbca6b407f5c 21:40:37 ---> b42b3bb4b72f 21:40:37 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:40:37 v0.21.6: Pulling from aler9/rtsp-simple-server 21:40:36 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:40:36 > git init /w/workspace/device-usb-camera/20 # timeout=10 21:40:37 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:40:37 > git --version # timeout=10 21:40:37 > git --version # 'git version 2.25.1' 21:40:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:38 4acc49c71d14: Pulling fs layer 21:40:38 4acc49c71d14: Verifying Checksum 21:40:38 4acc49c71d14: Download complete 21:40:38 4acc49c71d14: Pull complete 21:40:38 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:40:38 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:40:38 ---> 01a2bd3e5fff 21:40:38 Step 15/36 : FROM alpine:3.17 21:40:39 3.17: Pulling from library/alpine 21:40:39 4db1b89c0bd1: Pulling fs layer 21:40:39 4db1b89c0bd1: Download complete 21:40:38 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:40:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:38 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:40:38 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:40:38 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:40:39 4db1b89c0bd1: Pull complete 21:40:39 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:40:39 Status: Downloaded newer image for alpine:3.17 21:40:39 ---> 1f73a9d63274 21:40:39 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:40:39 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit 3307c6d2d3b8864045263ee25b9fcecb1506d5cc 21:40:39 ---> Running in b90a9c3b109f 21:40:39 Removing intermediate container b90a9c3b109f 21:40:39 ---> 7e37005cabe3 21:40:39 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:40:39 ---> Running in d704d3226161 21:40:39 Merge succeeded, producing 3307c6d2d3b8864045263ee25b9fcecb1506d5cc 21:40:39 Checking out Revision 3307c6d2d3b8864045263ee25b9fcecb1506d5cc (PR-262) 21:40:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:40:40 Commit message: "test: fix getPaths test" 21:40:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:40:40 (1/86) Installing dumb-init (1.2.5-r2) 21:40:40 (2/86) Installing sdl2 (2.26.5-r0) 21:40:40 (3/86) Installing svt-av1-libs (1.3.0-r0) 21:40:40 (4/86) Installing libxau (1.0.10-r0) 21:40:40 (5/86) Installing libmd (1.0.4-r0) 21:40:40 (6/86) Installing libbsd (0.11.7-r0) 21:40:40 (7/86) Installing libxdmcp (1.1.4-r0) 21:40:40 (8/86) Installing libxcb (1.15-r0) 21:40:39 > git config core.sparsecheckout # timeout=10 21:40:39 > git checkout -f 3307c6d2d3b8864045263ee25b9fcecb1506d5cc # timeout=10 21:40:39 > git remote # timeout=10 21:40:39 > git config --get remote.origin.url # timeout=10 21:40:39 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:39 > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 21:40:39 > git rev-parse HEAD^{commit} # timeout=10 21:40:39 > git config core.sparsecheckout # timeout=10 21:40:39 > git checkout -f 3307c6d2d3b8864045263ee25b9fcecb1506d5cc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:40 (9/86) Installing libx11 (1.8.4-r1) 21:40:40 (10/86) Installing aom-libs (3.5.0-r0) 21:40:40 (11/86) Installing alsa-lib (1.2.8-r0) 21:40:40 (12/86) Installing libexpat (2.5.0-r0) 21:40:40 (13/86) Installing brotli-libs (1.0.9-r9) 21:40:40 (14/86) Installing libbz2 (1.0.8-r4) 21:40:40 (15/86) Installing libpng (1.6.38-r0) 21:40:40 (16/86) Installing freetype (2.12.1-r0) 21:40:40 (17/86) Installing fontconfig (2.14.1-r0) 21:40:40 (18/86) Installing fribidi (1.0.12-r0) 21:40:40 (19/86) Installing libffi (3.4.4-r0) 21:40:40 (20/86) Installing libintl (0.21.1-r1) 21:40:40 (21/86) Installing libblkid (2.38.1-r1) 21:40:40 (22/86) Installing libmount (2.38.1-r1) 21:40:40 (23/86) Installing pcre2 (10.42-r0) 21:40:40 (24/86) Installing glib (2.74.7-r0) 21:40:40 (25/86) Installing graphite2 (1.3.14-r2) 21:40:40 (26/86) Installing harfbuzz (5.3.1-r1) 21:40:41 (27/86) Installing libass (0.16.0-r1) 21:40:41 (28/86) Installing libdav1d (1.0.0-r2) 21:40:41 (29/86) Installing hwdata-pci (0.364-r0) 21:40:41 (30/86) Installing libpciaccess (0.17-r0) 21:40:41 (31/86) Installing libdrm (2.4.114-r0) 21:40:41 (32/86) Installing gmp (6.2.1-r2) 21:40:41 (33/86) Installing nettle (3.8.1-r0) 21:40:41 (34/86) Installing p11-kit (0.24.1-r1) 21:40:41 (35/86) Installing libtasn1 (4.19.0-r0) 21:40:41 (36/86) Installing libunistring (1.1-r0) 21:40:41 (37/86) Installing gnutls (3.7.8-r3) 21:40:41 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:40:41 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 21:40:41 (40/86) Installing lame (3.100-r2) 21:40:41 (41/86) Installing opus (1.3.1-r1) 21:40:41 (42/86) Installing libasyncns (0.8-r1) 21:40:41 (43/86) Installing dbus-libs (1.14.8-r0) 21:40:41 (44/86) Installing libltdl (2.4.7-r1) 21:40:41 (45/86) Installing orc (0.4.33-r0) 21:40:41 (46/86) Installing libgcc (12.2.1_git20220924-r4) 21:40:41 (47/86) Installing libogg (1.3.5-r2) 21:40:41 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 21:40:41 (49/86) Installing flac-libs (1.4.2-r0) 21:40:41 (50/86) Installing libvorbis (1.3.7-r0) 21:40:41 (51/86) Installing libsndfile (1.1.0-r2) 21:40:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:40:41 % Total % Received % Xferd Average Speed Time Time Time Current 21:40:41 Dload Upload Total Spent Left Speed 21:40:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 21:40:41 (52/86) Installing libgomp (12.2.1_git20220924-r4) 21:40:41 (53/86) Installing soxr (0.1.3-r3) 21:40:41 (54/86) Installing speexdsp (1.2.1-r0) 21:40:41 (55/86) Installing tdb-libs (1.4.6-r0) 21:40:41 (56/86) Installing libpulse (16.1-r6) 21:40:41 (57/86) Installing cjson (1.7.15-r3) 21:40:41 (58/86) Installing mbedtls (2.28.3-r0) 21:40:41 (59/86) Installing librist (0.2.7-r0) 21:40:41 (60/86) Installing libsrt (1.5.1-r0) 21:40:41 (61/86) Installing libssh (0.10.5-r0) 21:40:41 (62/86) Installing libtheora (1.1.1-r16) 21:40:41 (63/86) Installing libjpeg-turbo (2.1.4-r0) 21:40:41 (64/86) Installing v4l-utils-libs (1.22.1-r2) 21:40:41 (65/86) Installing libxext (1.3.5-r0) 21:40:41 (66/86) Installing libxfixes (6.0.0-r0) 21:40:41 (67/86) Installing wayland-libs-client (1.21.0-r1) 21:40:41 (68/86) Installing libva (2.16.0-r0) 21:40:41 (69/86) Installing libvdpau (1.5-r0) 21:40:41 (70/86) Installing vidstab (1.1.0-r2) 21:40:41 (71/86) Installing libvpx (1.12.0-r1) 21:40:41 (72/86) Installing libwebp (1.2.4-r2) 21:40:41 (73/86) Installing x264-libs (0.164_git20220602-r0) 21:40:41 (74/86) Installing numactl (2.0.16-r1) 21:40:41 (75/86) Installing x265-libs (3.5-r3) [Pipeline] sh 21:40:41 (76/86) Installing xvidcore (1.3.7-r1) 21:40:41 (77/86) Installing libsodium (1.0.18-r2) 21:40:41 (78/86) Installing libzmq (4.3.4-r1) 21:40:41 (79/86) Installing ffmpeg-libs (5.1.3-r0) 21:40:41 (80/86) Installing ffmpeg (5.1.3-r0) 21:40:41 (81/86) Installing udev-init-scripts (35-r1) 21:40:41 (82/86) Installing eudev-libs (3.2.11-r4) 21:40:41 (83/86) Installing xz-libs (5.2.9-r0) 21:40:41 (84/86) Installing zstd-libs (1.5.5-r0) 21:40:41 (85/86) Installing kmod-libs (30-r1) 21:40:41 (86/86) Installing eudev (3.2.11-r4) 21:40:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:40:41 Executing busybox-1.35.0-r29.trigger 21:40:41 Executing eudev-3.2.11-r4.trigger 21:40:41 OK: 112 MiB in 101 packages 21:40:42 + sudo tee /etc/docker/daemon.new 21:40:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:40:42 { 21:40:42 "registry-mirrors": [ 21:40:42 "https://nexus3.edgexfoundry.org:10001" 21:40:42 ], 21:40:42 "bip": "10.250.0.254/24", 21:40:42 "hosts": [ 21:40:42 "tcp://0.0.0.0:5555", 21:40:42 "unix:///var/run/docker.sock" 21:40:42 ], 21:40:42 "mtu": 1458, 21:40:42 "selinux-enabled": true, 21:40:42 "seccomp-profile": "/etc/docker/seccomp.json" 21:40:42 } [Pipeline] sh 21:40:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:40:42 + sudo service docker restart 21:40:44 Removing intermediate container d704d3226161 21:40:44 ---> ec50fff721c8 21:40:44 Step 18/36 : WORKDIR / 21:40:44 ---> Running in 3ea6b9559bc7 21:40:44 Removing intermediate container 3ea6b9559bc7 21:40:44 ---> ba0c658c1fd0 21:40:44 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:40:44 ---> d19bfcac9265 21:40:44 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:40:45 ---> 946708d8d9f7 21:40:45 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:40:45 ---> 12e70d0a57ba 21:40:45 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:40:45 ---> e77f70ae776c 21:40:45 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:40:45 ---> 8b48ef82b260 21:40:45 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:40:45 ---> 6045e0dadf5e 21:40:45 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:40:46 ---> 0d2384122fba 21:40:46 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:40:46 ---> Running in 958b55355bc1 21:40:46 Removing intermediate container 958b55355bc1 21:40:46 ---> acb7dca444c8 21:40:46 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:40:46 ---> Running in 1b8983e783d9 21:40:47 Removing intermediate container 1b8983e783d9 21:40:47 ---> 2fc7f6984040 21:40:47 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:40:47 ---> Running in 8b1f94e34ec9 21:40:47 Removing intermediate container 8b1f94e34ec9 21:40:47 ---> ad7a9af995a0 21:40:47 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:40:47 ---> Running in a70d8700bafe 21:40:48 Removing intermediate container a70d8700bafe 21:40:48 ---> 01b87891204c 21:40:48 Step 30/36 : EXPOSE 59983 21:40:48 ---> Running in 07252fbafbb5 21:40:48 Removing intermediate container 07252fbafbb5 21:40:48 ---> 55dbcff4b80b 21:40:48 Step 31/36 : EXPOSE 8554 21:40:48 ---> Running in f8af41989eb9 21:40:48 Removing intermediate container f8af41989eb9 21:40:48 ---> 613ad7acd5e9 21:40:48 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:40:48 ---> Running in 9c242c3d3dc4 21:40:48 Removing intermediate container 9c242c3d3dc4 21:40:48 ---> cb76f9636872 21:40:48 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:40:48 ---> Running in e600b4417f19 21:40:49 Removing intermediate container e600b4417f19 21:40:49 ---> d71747926b6a 21:40:49 Step 34/36 : LABEL arch=amd64 21:40:49 ---> Running in 4b9fa3f7220f 21:40:49 Removing intermediate container 4b9fa3f7220f 21:40:49 ---> 504bffe315e2 21:40:49 Step 35/36 : LABEL git_sha=3307c6d2d3b8864045263ee25b9fcecb1506d5cc 21:40:49 ---> Running in 822a8da3736e 21:40:49 Removing intermediate container 822a8da3736e 21:40:49 ---> 95cad8c9fadb 21:40:49 Step 36/36 : LABEL version=0.0.0 21:40:49 ---> Running in 7ae61a9acfa8 21:40:49 Removing intermediate container 7ae61a9acfa8 21:40:49 ---> a8359415da19 21:40:49 [Warning] One or more build-args [ARCH] were not consumed 21:40:49 Successfully built a8359415da19 21:40:49 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 21:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:49 21:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:50 latest: Pulling from edgex-lftools-log-publisher 21:40:50 5eb5b503b376: Pulling fs layer 21:40:50 5c69ac0246d0: Pulling fs layer 21:40:50 ec43610c2a17: Pulling fs layer 21:40:50 3a2ae6a8a46f: Pulling fs layer 21:40:50 33b1e0a273af: Pulling fs layer 21:40:50 5d3b04190fa2: Pulling fs layer 21:40:50 2f39f015ded8: Pulling fs layer 21:40:50 3a2ae6a8a46f: Waiting 21:40:50 33b1e0a273af: Waiting 21:40:50 5d3b04190fa2: Waiting 21:40:50 2f39f015ded8: Waiting 21:40:50 5c69ac0246d0: Download complete 21:40:50 3a2ae6a8a46f: Verifying Checksum 21:40:50 3a2ae6a8a46f: Download complete 21:40:50 33b1e0a273af: Verifying Checksum 21:40:50 33b1e0a273af: Download complete 21:40:50 ec43610c2a17: Verifying Checksum 21:40:50 ec43610c2a17: Download complete 21:40:50 5d3b04190fa2: Download complete 21:40:50 5eb5b503b376: Verifying Checksum 21:40:50 5eb5b503b376: Download complete 21:40:50 2f39f015ded8: Download complete 21:40:51 5eb5b503b376: Pull complete 21:40:51 5c69ac0246d0: Pull complete 21:40:52 ec43610c2a17: Pull complete 21:40:52 3a2ae6a8a46f: Pull complete 21:40:52 33b1e0a273af: Pull complete 21:40:52 5d3b04190fa2: Pull complete 21:40:57 2f39f015ded8: Pull complete 21:40:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:57 prd-ubuntu20.04-docker-8c-8g-192 does not seem to be running inside a container 21:40:58 $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:41:01 $ docker top d88db77d4dd435a5d0c237e6dceea66e553b5235663fa1dcf1c81259449a2825 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 21:41:01 provisioning config files... 21:41:01 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/20@tmp/config1728038890751641902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:01 ---> job-cost.sh 21:41:01 lf-activate-venv: SKIPPING 21:41:01 INFO: No Stack... 21:41:01 ---> docker-login.sh 21:41:01 nexus3.edgexfoundry.org:10001 21:41:01 INFO: Retrieving Pricing Info for: v3-standard-8 21:41:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:02 INFO: Archiving Costs [Pipeline] sh 21:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:02 Configure a credential helper to remove this warning. See 21:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:02 21:41:02 Login Succeeded 21:41:02 nexus3.edgexfoundry.org:10002 21:41:02 + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv 21:41:02 + cut -d, -f6 [Pipeline] lock 21:41:02 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-20-stack-cost] 21:41:02 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-20-stack-cost] did not exist. Created. 21:41:02 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:02 Configure a credential helper to remove this warning. See 21:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:02 21:41:02 Login Succeeded 21:41:02 nexus3.edgexfoundry.org:10003 21:41:02 + echo total: 0.2199999988079071 [Pipeline] stash 21:41:02 Stashed 1 file(s) [Pipeline] } 21:41:02 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-20-stack-cost] [Pipeline] // lock [Pipeline] } 21:41:02 $ docker stop --time=1 d88db77d4dd435a5d0c237e6dceea66e553b5235663fa1dcf1c81259449a2825 21:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:03 Configure a credential helper to remove this warning. See 21:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:03 21:41:03 Login Succeeded 21:41:03 nexus3.edgexfoundry.org:10004 21:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:03 Configure a credential helper to remove this warning. See 21:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:03 21:41:03 Login Succeeded 21:41:03 docker.io 21:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:03 Configure a credential helper to remove this warning. See 21:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:03 21:41:03 Login Succeeded 21:41:03 ---> docker-login.sh ends 21:41:03 $ docker rm -f --volumes d88db77d4dd435a5d0c237e6dceea66e553b5235663fa1dcf1c81259449a2825 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 21:41:04 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 21:41:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:04 ========================================================= 21:41:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:41:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:41:04 Sending build context to Docker daemon 1.237MB 21:41:04 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:41:04 Step 2/13 : FROM ${BASE} AS builder 21:41:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:41:05 c41833b44d91: Pulling fs layer 21:41:05 ed15518f5707: Pulling fs layer 21:41:05 feae8fd75edb: Pulling fs layer 21:41:05 242c74f7c9fa: Pulling fs layer 21:41:05 3cdef696dda3: Pulling fs layer 21:41:05 2ced38df9373: Pulling fs layer 21:41:05 58f1dce35555: Pulling fs layer 21:41:05 3cdef696dda3: Waiting 21:41:05 58f1dce35555: Waiting 21:41:05 2ced38df9373: Waiting 21:41:05 242c74f7c9fa: Waiting 21:41:05 ed15518f5707: Verifying Checksum 21:41:05 ed15518f5707: Download complete 21:41:05 242c74f7c9fa: Verifying Checksum 21:41:05 242c74f7c9fa: Download complete 21:41:05 3cdef696dda3: Verifying Checksum 21:41:05 3cdef696dda3: Download complete 21:41:05 c41833b44d91: Download complete 21:41:06 c41833b44d91: Pull complete 21:41:06 58f1dce35555: Verifying Checksum 21:41:06 58f1dce35555: Download complete 21:41:06 ed15518f5707: Pull complete 21:41:07 feae8fd75edb: Verifying Checksum 21:41:07 feae8fd75edb: Download complete 21:41:07 2ced38df9373: Verifying Checksum 21:41:07 2ced38df9373: Download complete 21:41:20 feae8fd75edb: Pull complete 21:41:20 242c74f7c9fa: Pull complete 21:41:20 3cdef696dda3: Pull complete 21:41:25 2ced38df9373: Pull complete 21:41:28 58f1dce35555: Pull complete 21:41:28 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:41:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:41:28 ---> fadd8f120f05 21:41:28 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:41:29 ---> Running in 8954bba222d2 21:41:29 Removing intermediate container 8954bba222d2 21:41:29 ---> 6c794d3fb865 21:41:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:41:30 ---> Running in 14e67d5c85e6 21:41:30 Removing intermediate container 14e67d5c85e6 21:41:30 ---> e797f0663dea 21:41:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:41:30 ---> Running in 707f1426f743 21:41:30 Removing intermediate container 707f1426f743 21:41:30 ---> 20d559d52f39 21:41:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:41:30 ---> Running in 999c5cfdebd1 21:41:31 Removing intermediate container 999c5cfdebd1 21:41:31 ---> eeea781ab0e2 21:41:31 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:41:31 ---> Running in 614b595dbc3d 21:41:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:41:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:41:33 (1/14) Installing libintl (0.21.1-r1) 21:41:33 (2/14) Installing eudev-libs (3.2.11-r4) 21:41:33 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:41:33 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:41:33 (5/14) Installing v4l-utils (1.22.1-r2) 21:41:33 (6/14) Installing udev-init-scripts (35-r1) 21:41:33 (7/14) Installing libblkid (2.38.1-r1) 21:41:33 (8/14) Installing xz-libs (5.2.9-r0) 21:41:33 (9/14) Installing zstd-libs (1.5.5-r0) 21:41:33 (10/14) Installing kmod-libs (30-r1) 21:41:33 (11/14) Installing eudev (3.2.11-r4) 21:41:33 (12/14) Installing eudev-dev (3.2.11-r4) 21:41:34 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:41:34 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:41:34 Executing busybox-1.35.0-r29.trigger 21:41:34 Executing eudev-3.2.11-r4.trigger 21:41:34 OK: 271 MiB in 67 packages 21:41:38 Removing intermediate container 614b595dbc3d 21:41:38 ---> 71093c1bf1dd 21:41:38 Step 8/13 : WORKDIR /device-usb-camera 21:41:38 ---> Running in 2aaab9c82b96 21:41:38 Removing intermediate container 2aaab9c82b96 21:41:38 ---> fe184f60691f 21:41:38 Step 9/13 : COPY go.mod vendor* ./ 21:41:38 ---> dc7b5ee460cd 21:41:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:41:38 ---> Running in b8a661ece0a6 21:42:46 Removing intermediate container b8a661ece0a6 21:42:46 ---> d91eff81d04d 21:42:46 Step 11/13 : COPY . . 21:42:46 ---> b65a7cd60dcf 21:42:46 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:42:46 ---> Running in 9980d109eb02 21:42:46  % Total  % Received % Xferd Average Speed Time Time Time Current 21:42:46   Dload Upload Total Spent Left Speed 21:42:46  0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4287 0 --:--:-- --:--:-- --:--:-- 4299 21:42:46 Removing intermediate container 9980d109eb02 21:42:46 ---> 4f626d9b909c 21:42:46 Step 13/13 : RUN ${MAKE} 21:42:46 ---> Running in 5571d28ec7c8 21:42:46 noop 21:42:46 Removing intermediate container 5571d28ec7c8 21:42:46 ---> 13331d31d577 21:42:46 Successfully built 13331d31d577 21:42:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:46 + docker inspect -f . ci-base-image-arm64 21:42:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:46 prd-ubuntu20.04-docker-arm64-4c-16g-193 does not seem to be running inside a container 21:42:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:42:47 $ docker top 2ecfb15fb0cc33a3c65f43653b57734f7c2191ca97f2ea5d6ab27d3be9f77134 -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:48 + go version 21:42:48 go version go1.20.2 linux/arm64 [Pipeline] } 21:42:48 $ docker stop --time=1 2ecfb15fb0cc33a3c65f43653b57734f7c2191ca97f2ea5d6ab27d3be9f77134 21:42:50 $ docker rm -f --volumes 2ecfb15fb0cc33a3c65f43653b57734f7c2191ca97f2ea5d6ab27d3be9f77134 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:50 + docker inspect -f . ci-base-image-arm64 21:42:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:51 prd-ubuntu20.04-docker-arm64-4c-16g-193 does not seem to be running inside a container 21:42:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:42:52 $ docker top c8ce4f97cb4cf79b3af99917e79170b35abe026ddff7e7941b6ab6bca1cf1e51 -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:52 + git config --global --add safe.directory /w/workspace/device-usb-camera/20 [Pipeline] fileExists [Pipeline] sh 21:42:53 + make test 21:42:53 go test ./... -coverprofile=coverage.out ./... 21:43:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:45:16 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:45:21 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.082s coverage: 3.6% of statements 21:45:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:45:21 go vet ./... 21:45:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:45:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:45:54 ./bin/test-attribution-txt.sh [Pipeline] echo 21:45:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:45:54 $ docker stop --time=1 c8ce4f97cb4cf79b3af99917e79170b35abe026ddff7e7941b6ab6bca1cf1e51 21:45:56 $ docker rm -f --volumes c8ce4f97cb4cf79b3af99917e79170b35abe026ddff7e7941b6ab6bca1cf1e51 [Pipeline] // withDockerContainer [Pipeline] sh 21:45:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:45:57 Warning: overwriting stash ‘coverage-report’ 21:45:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:45:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:45:58 + ls -al . 21:45:58 total 196 21:45:58 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 21:42 . 21:45:58 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 21:40 .. 21:45:58 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 21:40 .git 21:45:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 21:40 .github 21:45:58 -rw-rw-r-- 1 jenkins jenkins 414 Jun 29 21:40 .gitignore 21:45:58 -rw-rw-r-- 1 jenkins jenkins 45 Jun 29 21:40 .golangci.yml 21:45:58 -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 21:40 .hadolint.yml 21:45:58 -rw-rw-r-- 1 jenkins jenkins 9783 Jun 29 21:40 Attribution.txt 21:45:58 -rw-rw-r-- 1 jenkins jenkins 11903 Jun 29 21:40 CHANGELOG.md 21:45:58 -rw-rw-r-- 1 jenkins jenkins 2453 Jun 29 21:40 Dockerfile 21:45:58 -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 21:40 GOVERNANCE.md 21:45:58 -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 21:40 Jenkinsfile 21:45:58 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 21:40 LICENSE 21:45:58 -rw-rw-r-- 1 jenkins jenkins 2364 Jun 29 21:40 Makefile 21:45:58 -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 21:40 OWNERS.md 21:45:58 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 29 21:40 README.md 21:45:58 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 21:38 VERSION 21:45:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 21:40 bin 21:45:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 21:40 cmd 21:45:58 -rw-r--r-- 1 jenkins jenkins 38041 Jun 29 21:45 coverage.out 21:45:58 -rwxrwxr-x 1 jenkins jenkins 140 Jun 29 21:40 docker-entrypoint.sh 21:45:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 21:40 docs 21:45:58 -rw-rw-r-- 1 jenkins jenkins 3416 Jun 29 21:40 go.mod 21:45:58 -rw-rw-r-- 1 jenkins jenkins 31482 Jun 29 21:40 go.sum 21:45:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 21:40 internal 21:45:58 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 21:40 snap 21:45:58 -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 21:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:59 + 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=3307c6d2d3b8864045263ee25b9fcecb1506d5cc --label arch=arm64 --label version=0.0.0 . 21:46:00 Sending build context to Docker daemon 1.276MB 21:46:00 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:46:00 Step 2/36 : FROM ${BASE} AS builder 21:46:00 ---> 13331d31d577 21:46:00 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:46:00 ---> Running in 1134102798bb 21:46:00 Removing intermediate container 1134102798bb 21:46:00 ---> 5ea85d56b06f 21:46:00 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:46:00 ---> Running in d70265b0d538 21:46:02 Removing intermediate container d70265b0d538 21:46:02 ---> 3e926a738533 21:46:02 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:46:02 ---> Running in 935b51dc57f9 21:46:02 Removing intermediate container 935b51dc57f9 21:46:02 ---> 56e403a61271 21:46:02 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:46:02 ---> Running in 0202f17b84e3 21:46:02 Removing intermediate container 0202f17b84e3 21:46:02 ---> c644451a6505 21:46:02 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:46:03 ---> Running in 9c334a64f148 21:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:46:06 OK: 271 MiB in 67 packages 21:46:06 Removing intermediate container 9c334a64f148 21:46:06 ---> e3f126fc60eb 21:46:06 Step 8/36 : WORKDIR /device-usb-camera 21:46:06 ---> Running in 06d720d651c3 21:46:07 Removing intermediate container 06d720d651c3 21:46:07 ---> 9b7fdcd23250 21:46:07 Step 9/36 : COPY go.mod vendor* ./ 21:46:07 ---> c5f7b04c0a53 21:46:07 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:46:07 ---> Running in 7a91c409deb6 21:46:10 Removing intermediate container 7a91c409deb6 21:46:10 ---> 3722ae0bc0e2 21:46:10 Step 11/36 : COPY . . 21:46:11 ---> a24a0aa4f1a7 21:46:11 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:46:11 ---> Running in b83aaaa5c5dd 21:46:12  % Total % Received % Xferd Average Speed Time Time Time Current 21:46:12 Dload Upload  Total Spent Left Speed 21:46:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3178 0 --:--:-- --:--:-- --:--:-- 3179 100 1062 100 1062 0 0 3166 0 --:--:-- --:--:-- --:--:-- 3170 21:46:12 Removing intermediate container b83aaaa5c5dd 21:46:12 ---> 5896159ea547 21:46:12 Step 13/36 : RUN ${MAKE} 21:46:12 ---> Running in 94950fe2777b 21:46:13 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:48:35 Removing intermediate container 94950fe2777b 21:48:35 ---> 5d13aee72850 21:48:35 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:48:35 v0.21.6: Pulling from aler9/rtsp-simple-server 21:48:35 8766b47fe142: Pulling fs layer 21:48:35 8766b47fe142: Verifying Checksum 21:48:35 8766b47fe142: Download complete 21:48:35 8766b47fe142: Pull complete 21:48:35 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:48:35 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:48:35 ---> 69d40e2cb93c 21:48:35 Step 15/36 : FROM alpine:3.17 21:48:35 3.17: Pulling from library/alpine 21:48:35 edb6bdbacee9: Pulling fs layer 21:48:35 edb6bdbacee9: Download complete 21:48:36 edb6bdbacee9: Pull complete 21:48:36 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:48:36 Status: Downloaded newer image for alpine:3.17 21:48:36 ---> 779605e5fbc0 21:48:36 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:48:36 ---> Running in f039af1f15dd 21:48:37 Removing intermediate container f039af1f15dd 21:48:37 ---> 48225ca7327d 21:48:37 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:48:37 ---> Running in 4dfc6155af29 21:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:48:39 (1/83) Installing dumb-init (1.2.5-r2) 21:48:39 (2/83) Installing sdl2 (2.26.5-r0) 21:48:39 (3/83) Installing libxau (1.0.10-r0) 21:48:39 (4/83) Installing libmd (1.0.4-r0) 21:48:39 (5/83) Installing libbsd (0.11.7-r0) 21:48:39 (6/83) Installing libxdmcp (1.1.4-r0) 21:48:39 (7/83) Installing libxcb (1.15-r0) 21:48:39 (8/83) Installing libx11 (1.8.4-r1) 21:48:39 (9/83) Installing aom-libs (3.5.0-r0) 21:48:40 (10/83) Installing alsa-lib (1.2.8-r0) 21:48:40 (11/83) Installing libexpat (2.5.0-r0) 21:48:40 (12/83) Installing brotli-libs (1.0.9-r9) 21:48:40 (13/83) Installing libbz2 (1.0.8-r4) 21:48:40 (14/83) Installing libpng (1.6.38-r0) 21:48:40 (15/83) Installing freetype (2.12.1-r0) 21:48:40 (16/83) Installing fontconfig (2.14.1-r0) 21:48:40 (17/83) Installing fribidi (1.0.12-r0) 21:48:40 (18/83) Installing libffi (3.4.4-r0) 21:48:40 (19/83) Installing libintl (0.21.1-r1) 21:48:40 (20/83) Installing libblkid (2.38.1-r1) 21:48:40 (21/83) Installing libmount (2.38.1-r1) 21:48:40 (22/83) Installing pcre2 (10.42-r0) 21:48:40 (23/83) Installing glib (2.74.7-r0) 21:48:40 (24/83) Installing graphite2 (1.3.14-r2) 21:48:40 (25/83) Installing harfbuzz (5.3.1-r1) 21:48:40 (26/83) Installing libass (0.16.0-r1) 21:48:40 (27/83) Installing libdav1d (1.0.0-r2) 21:48:40 (28/83) Installing libdrm (2.4.114-r0) 21:48:40 (29/83) Installing gmp (6.2.1-r2) 21:48:40 (30/83) Installing nettle (3.8.1-r0) 21:48:40 (31/83) Installing p11-kit (0.24.1-r1) 21:48:40 (32/83) Installing libtasn1 (4.19.0-r0) 21:48:40 (33/83) Installing libunistring (1.1-r0) 21:48:40 (34/83) Installing gnutls (3.7.8-r3) 21:48:40 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:48:40 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 21:48:40 (37/83) Installing lame (3.100-r2) 21:48:40 (38/83) Installing opus (1.3.1-r1) 21:48:40 (39/83) Installing libasyncns (0.8-r1) 21:48:40 (40/83) Installing dbus-libs (1.14.8-r0) 21:48:40 (41/83) Installing libltdl (2.4.7-r1) 21:48:40 (42/83) Installing orc (0.4.33-r0) 21:48:40 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:48:40 (44/83) Installing libogg (1.3.5-r2) 21:48:40 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:48:40 (46/83) Installing flac-libs (1.4.2-r0) 21:48:40 (47/83) Installing libvorbis (1.3.7-r0) 21:48:40 (48/83) Installing libsndfile (1.1.0-r2) 21:48:40 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:48:40 (50/83) Installing soxr (0.1.3-r3) 21:48:40 (51/83) Installing speexdsp (1.2.1-r0) 21:48:40 (52/83) Installing tdb-libs (1.4.6-r0) 21:48:40 (53/83) Installing libpulse (16.1-r6) 21:48:40 (54/83) Installing cjson (1.7.15-r3) 21:48:40 (55/83) Installing mbedtls (2.28.3-r0) 21:48:40 (56/83) Installing librist (0.2.7-r0) 21:48:40 (57/83) Installing libsrt (1.5.1-r0) 21:48:41 (58/83) Installing libssh (0.10.5-r0) 21:48:41 (59/83) Installing libtheora (1.1.1-r16) 21:48:41 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:48:41 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:48:41 (62/83) Installing libxext (1.3.5-r0) 21:48:41 (63/83) Installing libxfixes (6.0.0-r0) 21:48:41 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:48:41 (65/83) Installing libva (2.16.0-r0) 21:48:41 (66/83) Installing libvdpau (1.5-r0) 21:48:41 (67/83) Installing vidstab (1.1.0-r2) 21:48:41 (68/83) Installing libvpx (1.12.0-r1) 21:48:41 (69/83) Installing libwebp (1.2.4-r2) 21:48:41 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:48:41 (71/83) Installing numactl (2.0.16-r1) 21:48:41 (72/83) Installing x265-libs (3.5-r3) 21:48:41 (73/83) Installing xvidcore (1.3.7-r1) 21:48:41 (74/83) Installing libsodium (1.0.18-r2) 21:48:41 (75/83) Installing libzmq (4.3.4-r1) 21:48:41 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:48:41 (77/83) Installing ffmpeg (5.1.3-r0) 21:48:41 (78/83) Installing udev-init-scripts (35-r1) 21:48:41 (79/83) Installing eudev-libs (3.2.11-r4) 21:48:41 (80/83) Installing xz-libs (5.2.9-r0) 21:48:41 (81/83) Installing zstd-libs (1.5.5-r0) 21:48:41 (82/83) Installing kmod-libs (30-r1) 21:48:41 (83/83) Installing eudev (3.2.11-r4) 21:48:41 Executing busybox-1.35.0-r29.trigger 21:48:41 Executing eudev-3.2.11-r4.trigger 21:48:41 OK: 86 MiB in 98 packages 21:48:45 Removing intermediate container 4dfc6155af29 21:48:45 ---> e49646744c4f 21:48:45 Step 18/36 : WORKDIR / 21:48:45 ---> Running in 193498cb8ba4 21:48:45 Removing intermediate container 193498cb8ba4 21:48:45 ---> a1dcd344cdc8 21:48:45 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:48:48 ---> 0bd506e047d8 21:48:48 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:48:48 ---> da8c36c84a68 21:48:48 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:48:49 ---> f543730fe889 21:48:49 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:48:49 ---> bc4350f440ef 21:48:49 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:48:49 ---> 31d38b5075f4 21:48:49 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:48:50 ---> e161a8531a6b 21:48:50 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:48:51 ---> fd38c4cac137 21:48:51 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:48:51 ---> Running in 498f57649c6a 21:48:53 Removing intermediate container 498f57649c6a 21:48:53 ---> b40b7878caea 21:48:53 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:48:53 ---> Running in 189a331a02a5 21:48:55 Removing intermediate container 189a331a02a5 21:48:55 ---> dcaec31eee3a 21:48:55 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:48:55 ---> Running in 49d44ea22b9e 21:48:56 Removing intermediate container 49d44ea22b9e 21:48:56 ---> 69c39041506c 21:48:56 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:48:56 ---> Running in d439dcfd1a0e 21:48:58 Removing intermediate container d439dcfd1a0e 21:48:58 ---> b3178f3475c3 21:48:58 Step 30/36 : EXPOSE 59983 21:48:58 ---> Running in 98415a36ed99 21:48:58 Removing intermediate container 98415a36ed99 21:48:58 ---> fb63579dcaf3 21:48:58 Step 31/36 : EXPOSE 8554 21:48:58 ---> Running in 06acb66ba38a 21:48:58 Removing intermediate container 06acb66ba38a 21:48:58 ---> 0afa6afbc843 21:48:58 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:48:58 ---> Running in d1d2464875a0 21:48:59 Removing intermediate container d1d2464875a0 21:48:59 ---> 756f04e557f6 21:48:59 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:48:59 ---> Running in be4aff26b84c 21:48:59 Removing intermediate container be4aff26b84c 21:48:59 ---> 2ff323ee39dd 21:48:59 Step 34/36 : LABEL arch=arm64 21:48:59 ---> Running in b68cf7aaf743 21:49:00 Removing intermediate container b68cf7aaf743 21:49:00 ---> 7bfb21f1e35b 21:49:00 Step 35/36 : LABEL git_sha=3307c6d2d3b8864045263ee25b9fcecb1506d5cc 21:49:00 ---> Running in 0761c80ab0d2 21:49:00 Removing intermediate container 0761c80ab0d2 21:49:00 ---> f6a860a8c53b 21:49:00 Step 36/36 : LABEL version=0.0.0 21:49:00 ---> Running in b2687027fc1c 21:49:00 Removing intermediate container b2687027fc1c 21:49:00 ---> af7f4083e95c 21:49:00 [Warning] One or more build-args [ARCH] were not consumed 21:49:00 Successfully built af7f4083e95c 21:49:00 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 21:49:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:01 21:49:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:01 arm64: Pulling from edgex-lftools-log-publisher 21:49:01 8998bd30e6a1: Pulling fs layer 21:49:01 04944245beec: Pulling fs layer 21:49:01 699f458cf7ca: Pulling fs layer 21:49:01 765212b225bb: Pulling fs layer 21:49:01 f23df028b6ca: Pulling fs layer 21:49:01 d65c8cfc05b1: Pulling fs layer 21:49:01 2437ff75d9bd: Pulling fs layer 21:49:01 765212b225bb: Waiting 21:49:01 f23df028b6ca: Waiting 21:49:01 d65c8cfc05b1: Waiting 21:49:01 2437ff75d9bd: Waiting 21:49:01 04944245beec: Verifying Checksum 21:49:01 04944245beec: Download complete 21:49:01 765212b225bb: Download complete 21:49:01 f23df028b6ca: Download complete 21:49:01 d65c8cfc05b1: Verifying Checksum 21:49:01 d65c8cfc05b1: Download complete 21:49:02 699f458cf7ca: Verifying Checksum 21:49:02 699f458cf7ca: Download complete 21:49:02 8998bd30e6a1: Verifying Checksum 21:49:02 8998bd30e6a1: Download complete 21:49:04 2437ff75d9bd: Verifying Checksum 21:49:04 2437ff75d9bd: Download complete 21:49:06 8998bd30e6a1: Pull complete 21:49:06 04944245beec: Pull complete 21:49:07 699f458cf7ca: Pull complete 21:49:08 765212b225bb: Pull complete 21:49:08 f23df028b6ca: Pull complete 21:49:09 d65c8cfc05b1: Pull complete 21:49:24 2437ff75d9bd: Pull complete 21:49:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:49:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:24 prd-ubuntu20.04-docker-arm64-4c-16g-193 does not seem to be running inside a container 21:49:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:49:26 $ docker top 07ea346aa3dd36f6775a1b37d483e07201d6acb1632bc316ef5834b6020e2804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:27 ---> job-cost.sh 21:49:27 lf-activate-venv: SKIPPING 21:49:27 INFO: No Stack... 21:49:27 INFO: Retrieving Pricing Info for: v3-standard-4 21:49:28 INFO: Archiving Costs [Pipeline] sh 21:49:28 + cat /w/workspace/device-usb-camera/20/archives/cost.csv 21:49:28 + cut -d, -f6 [Pipeline] lock 21:49:29 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-20-stack-cost] 21:49:29 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-20-stack-cost] did not exist. Created. 21:49:29 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:29 /w/workspace/device-usb-camera/20@tmp/durable-04caeb8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:49:29 + echo total: 0.10999999940395355 [Pipeline] stash 21:49:29 Warning: overwriting stash ‘stack-cost’ 21:49:30 Stashed 1 file(s) [Pipeline] } 21:49:30 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-20-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:30 $ docker stop --time=1 07ea346aa3dd36f6775a1b37d483e07201d6acb1632bc316ef5834b6020e2804 21:49:31 $ docker rm -f --volumes 07ea346aa3dd36f6775a1b37d483e07201d6acb1632bc316ef5834b6020e2804 [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 21:49:31 provisioning config files... 21:49:31 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config7889623827451220110tmp [Pipeline] { [Pipeline] sh 21:49:32 + set +x 21:49:32 + curl -s https://codecov.io/bash 21:49:32 + bash -s -- 21:49:32 21:49:32 _____ _ 21:49:32 / ____| | | 21:49:32 | | ___ __| | ___ ___ _____ __ 21:49:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:49:32 | |___| (_) | (_| | __/ (_| (_) \ V / 21:49:32 \_____\___/ \__,_|\___|\___\___/ \_/ 21:49:32 Bash-1.0.6 21:49:32 21:49:32 21:49:32 ==> git version 2.25.1 found 21:49:32 ==> 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 21:49:32 Release-Date: 2020-01-08 21:49:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:49:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:49:32 ==> Jenkins CI detected. 21:49:32 current dir:  /w/workspace/foundry_device-usb-camera_PR-262 21:49:32 project root: . 21:49:32 --> token set from env 21:49:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:49:32 ==> Running gcov in . (disable via -X gcov) 21:49:32 ==> Python coveragepy not found 21:49:32 ==> Searching for coverage reports in: 21:49:32 + . 21:49:32 -> Found 1 reports 21:49:32 ==> Detecting git/mercurial file structure 21:49:32 ==> Reading reports 21:49:32 + ./coverage.out bytes=38041 21:49:32 ==> Appending adjustments 21:49:32 https://docs.codecov.io/docs/fixing-reports 21:49:32 + Found adjustments 21:49:32 ==> Gzipping contents 21:49:32 8.0K /tmp/codecov.t8fn5c.gz 21:49:32 ==> Uploading reports 21:49:32 url: https://codecov.io 21:49:32 query: branch=PR-262&commit=3307c6d2d3b8864045263ee25b9fcecb1506d5cc&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= 21:49:32 -> Pinging Codecov 21:49:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-262&commit=3307c6d2d3b8864045263ee25b9fcecb1506d5cc&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= 21:49:32 -> Uploading to 21:49:32 https://storage.googleapis.com/codecov/v4/raw/2023-06-29/73D8F5FF140700D3E01443B452E23636/3307c6d2d3b8864045263ee25b9fcecb1506d5cc/4ceba200-7bb9-4f87-8b84-c5daf9e8a74b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230629T214932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6da7815ebb285590b9395e1890066339d34845c46b77556f635e70d8656e3c8 21:49:32 % Total % Received % Xferd Average Speed Time Time Time Current 21:49:32 Dload Upload Total Spent Left Speed 21:49:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5220 0 0 100 5220 0 24976 --:--:-- --:--:-- --:--:-- 24976 21:49:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/3307c6d2d3b8864045263ee25b9fcecb1506d5cc [Pipeline] } 21:49:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:49:33 + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] 21:49:33 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 21:49:33 total 16 21:49:33 drwxr-xr-x 3 root root 4096 Jun 29 21:41 . 21:49:33 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 21:41 .. 21:49:33 drwxr-xr-x 2 root root 4096 Jun 29 21:41 cost 21:49:33 -rw-r--r-- 1 root root 90 Jun 29 21:41 cost.csv 21:49:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives 21:49:33 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 21:49:33 total 16 21:49:33 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 21:41 . 21:49:33 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 21:41 .. 21:49:33 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 21:41 cost 21:49:33 -rw-r--r-- 1 jenkins jenkins 90 Jun 29 21:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:49:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:49:34 ---> package-listing.sh 21:49:34 ++ facter osfamily 21:49:34 ++ tr '[:upper:]' '[:lower:]' 21:49:35 + OS_FAMILY=debian 21:49:35 + workspace=/w/workspace/foundry_device-usb-camera_PR-262 21:49:35 + START_PACKAGES=/tmp/packages_start.txt 21:49:35 + END_PACKAGES=/tmp/packages_end.txt 21:49:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:49:35 + PACKAGES=/tmp/packages_start.txt 21:49:35 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 21:49:35 + PACKAGES=/tmp/packages_end.txt 21:49:35 + case "${OS_FAMILY}" in 21:49:35 + dpkg -l 21:49:35 + grep '^ii' 21:49:35 + '[' -f /tmp/packages_start.txt ']' 21:49:35 + '[' -f /tmp/packages_end.txt ']' 21:49:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:49:35 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 21:49:35 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ 21:49:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo 21:49:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:49:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:36 prd-ubuntu20.04-docker-8c-8g-192 does not seem to be running inside a container 21:49:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-262/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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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 21:49:36 $ docker top 8aa9d10e3c2df9438f259d76afc2597ac4d2d175dea0da6ab3f5f2e8456a4461 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:36 + touch /tmp/pre-build-complete [Pipeline] sh 21:49:37 + mkdir -p /var/log/sysstat [Pipeline] sh 21:49:37 + ls /var/log/sa-host 21:49:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:37 provisioning config files... 21:49:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config17593424362398178906tmp [Pipeline] { [Pipeline] echo 21:49:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:49:37 ---> create-netrc.sh [Pipeline] } 21:49:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:49:38 ---> python-tools-install.sh [Pipeline] echo 21:49:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:49:38 ---> sudo-logs.sh 21:49:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:49:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:49:38 ---> job-cost.sh 21:49:38 lf-activate-venv: SKIPPING 21:49:38 DEBUG: total: 0.2199999988079071 21:49:38 INFO: Retrieving Stack Cost... 21:49:39 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:39 INFO: Archiving Costs [Pipeline] echo 21:49:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:49:39 ---> logs-deploy.sh 21:49:39 lf-activate-venv: SKIPPING 21:49:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/20 21:49:39 INFO: archiving workspace using pattern(s): 21:49:40 Archives upload complete. 21:49:41 INFO: archiving logs to Nexus 21:49:41 ---> uname -a: 21:49:41 Linux prd-ubuntu20-04-docker-8c-8g-192 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:49:41 21:49:41 21:49:41 ---> lscpu: 21:49:41 Architecture: x86_64 21:49:41 CPU op-mode(s): 32-bit, 64-bit 21:49:41 Byte Order: Little Endian 21:49:41 Address sizes: 40 bits physical, 48 bits virtual 21:49:41 CPU(s): 8 21:49:41 On-line CPU(s) list: 0-7 21:49:41 Thread(s) per core: 1 21:49:41 Core(s) per socket: 1 21:49:41 Socket(s): 8 21:49:41 NUMA node(s): 1 21:49:41 Vendor ID: AuthenticAMD 21:49:41 CPU family: 23 21:49:41 Model: 49 21:49:41 Model name: AMD EPYC-Rome Processor 21:49:41 Stepping: 0 21:49:41 CPU MHz: 2799.998 21:49:41 BogoMIPS: 5599.99 21:49:41 Virtualization: AMD-V 21:49:41 Hypervisor vendor: KVM 21:49:41 Virtualization type: full 21:49:41 L1d cache: 256 KiB 21:49:41 L1i cache: 256 KiB 21:49:41 L2 cache: 4 MiB 21:49:41 L3 cache: 128 MiB 21:49:41 NUMA node0 CPU(s): 0-7 21:49:41 Vulnerability Itlb multihit: Not affected 21:49:41 Vulnerability L1tf: Not affected 21:49:41 Vulnerability Mds: Not affected 21:49:41 Vulnerability Meltdown: Not affected 21:49:41 Vulnerability Mmio stale data: Not affected 21:49:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:49:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:49:41 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:49:41 Vulnerability Srbds: Not affected 21:49:41 Vulnerability Tsx async abort: Not affected 21:49:41 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 21:49:41 21:49:41 21:49:41 ---> nproc: 21:49:41 8 21:49:41 21:49:41