Pull request #254 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 faedb975756ffdd1f5d612842f042894232ce807 rather than a7aa7f027762502ccab20492bb8d27a332565d02 Obtained Jenkinsfile from faedb975756ffdd1f5d612842f042894232ce807 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-ssh5626788466959327270.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1212674463422775889.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-254/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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8103038157042833207.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh13265813328314540403.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-254/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-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16724132704192230750.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 ‘prd-ubuntu20.04-docker-8c-8g-16160’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16161 in /w/workspace/foundry_device-usb-camera_PR-254 [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-254 # 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 faedb975756ffdd1f5d612842f042894232ce807 into PR head commit a7aa7f027762502ccab20492bb8d27a332565d02 > 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/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 Merge succeeded, producing a7aa7f027762502ccab20492bb8d27a332565d02 Checking out Revision a7aa7f027762502ccab20492bb8d27a332565d02 (PR-254) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 Commit message: "fix: remove G204 warning from ffmpeg call" > git rev-list --no-walk ef9f42283f305e50e736a234c58fc345ccf8cd39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:48:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:48:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:48:27 ========================================================= 01:48:27 EdgeX Global Pipelines Version Info 01:48:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:48:27 ------------------- 01:48:27 stable info: 01:48:27 ------------------- 01:48:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:48:27 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:48:27 Message: update stable to v1.0.249 01:48:28 ------------------- 01:48:28 experimental info: 01:48:28 ------------------- 01:48:28 Commited By: **** collab-it+edgex@linuxfoundation.org 01:48:28 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:48:28 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7aa7f0 [Pipeline] echo 01:48:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:29 provisioning config files... 01:48:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config10521551422188125579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:29 ---> docker-login.sh 01:48:29 nexus3.edgexfoundry.org:10001 01:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:29 Configure a credential helper to remove this warning. See 01:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:29 01:48:29 Login Succeeded 01:48:29 nexus3.edgexfoundry.org:10002 01:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:29 Configure a credential helper to remove this warning. See 01:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:29 01:48:29 Login Succeeded 01:48:29 nexus3.edgexfoundry.org:10003 01:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:30 Configure a credential helper to remove this warning. See 01:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:30 01:48:30 Login Succeeded 01:48:30 nexus3.edgexfoundry.org:10004 01:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:30 Configure a credential helper to remove this warning. See 01:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:30 01:48:30 Login Succeeded 01:48:30 docker.io 01:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:30 Configure a credential helper to remove this warning. See 01:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:30 01:48:30 Login Succeeded 01:48:30 ---> docker-login.sh ends [Pipeline] } 01:48:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:48:30 + git rev-list -1 --merges a7aa7f027762502ccab20492bb8d27a332565d02~1..a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] echo 01:48:30 -----------> git rev-list -1 --merges a7aa7f027762502ccab20492bb8d27a332565d02~1..a7aa7f027762502ccab20492bb8d27a332565d02 a7aa7f027762502ccab20492bb8d27a332565d02 [false] [Pipeline] sh 01:48:31 + git log --format=format:%s -1 a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] echo 01:48:31 ========================================================= 01:48:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:48:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:31 + git log --format=format:%s -1 a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] echo 01:48:31 [semverPrep] GIT_COMMIT: a7aa7f027762502ccab20492bb8d27a332565d02, Commit Message: fix: remove G204 warning from ffmpeg call [Pipeline] echo 01:48:31 [semverPrep] This is not a build commit. [Pipeline] sh 01:48:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:31 + grep -v github /etc/ssh/ssh_known_hosts 01:48:31 + [ -e /tmp/ssh_known_hosts ] 01:48:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:48:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:48:31 + sudo tee -a /etc/ssh/ssh_known_hosts 01:48:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:32 01:48:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:32 0.1.4: Pulling from edgex-devops/py-git-semver 01:48:32 b85a868b505f: Pulling fs layer 01:48:32 e2be974225ed: Pulling fs layer 01:48:32 339a4e72a1f5: Pulling fs layer 01:48:32 988bab9f4d93: Pulling fs layer 01:48:32 1469e6f7b9e6: Pulling fs layer 01:48:32 eaf3925da568: Pulling fs layer 01:48:32 bab4dde63d76: Pulling fs layer 01:48:32 bde34c3a00c8: Pulling fs layer 01:48:32 b352a97aabf1: Pulling fs layer 01:48:32 4872d77fe225: Pulling fs layer 01:48:32 5851b861e8e6: Pulling fs layer 01:48:32 988bab9f4d93: Waiting 01:48:32 1469e6f7b9e6: Waiting 01:48:32 eaf3925da568: Waiting 01:48:32 bab4dde63d76: Waiting 01:48:32 bde34c3a00c8: Waiting 01:48:32 b352a97aabf1: Waiting 01:48:32 4872d77fe225: Waiting 01:48:32 e2be974225ed: Download complete 01:48:32 988bab9f4d93: Download complete 01:48:32 1469e6f7b9e6: Verifying Checksum 01:48:32 1469e6f7b9e6: Download complete 01:48:32 339a4e72a1f5: Verifying Checksum 01:48:32 339a4e72a1f5: Download complete 01:48:32 eaf3925da568: Verifying Checksum 01:48:32 eaf3925da568: Download complete 01:48:32 bde34c3a00c8: Verifying Checksum 01:48:32 bde34c3a00c8: Download complete 01:48:32 b352a97aabf1: Download complete 01:48:32 4872d77fe225: Download complete 01:48:32 5851b861e8e6: Verifying Checksum 01:48:32 5851b861e8e6: Download complete 01:48:32 b85a868b505f: Verifying Checksum 01:48:32 b85a868b505f: Download complete 01:48:33 bab4dde63d76: Verifying Checksum 01:48:33 bab4dde63d76: Download complete 01:48:34 b85a868b505f: Pull complete 01:48:34 e2be974225ed: Pull complete 01:48:34 339a4e72a1f5: Pull complete 01:48:34 988bab9f4d93: Pull complete 01:48:35 1469e6f7b9e6: Pull complete 01:48:35 eaf3925da568: Pull complete 01:48:37 bab4dde63d76: Pull complete 01:48:37 bde34c3a00c8: Pull complete 01:48:37 b352a97aabf1: Pull complete 01:48:37 4872d77fe225: Pull complete 01:48:37 5851b861e8e6: Pull complete 01:48:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:48:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:37 prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container 01:48:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:48:41 $ docker top 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 -eo pid,comm 01:48:42 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). 01:48:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:42 [ssh-agent] Looking for ssh-agent implementation... 01:48:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:42 $ docker exec 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 ssh-agent 01:48:42 SSH_AUTH_SOCK=/tmp/ssh-ePdI8Z91iNyA/agent.32 01:48:42 SSH_AGENT_PID=38 01:48:42 Running ssh-add (command line suppressed) 01:48:42 Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_4749265289491942165.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_4749265289491942165.key) 01:48:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:42 + git tag --points-at HEAD [Pipeline] } 01:48:42 $ docker exec --env ******** --env ******** 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 ssh-agent -k 01:48:42 unset SSH_AUTH_SOCK; 01:48:42 unset SSH_AGENT_PID; 01:48:42 echo Agent pid 38 killed; 01:48:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:48:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:42 [ssh-agent] Looking for ssh-agent implementation... 01:48:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:42 $ docker exec 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 ssh-agent 01:48:43 SSH_AUTH_SOCK=/tmp/ssh-QmYemSHq99Mx/agent.70 01:48:43 SSH_AGENT_PID=76 01:48:43 Running ssh-add (command line suppressed) 01:48:43 Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_866778802230488704.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_866778802230488704.key) 01:48:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:43 + git semver init 01:48:43 2023-05-20 01:48:43,668 [run_init] DEBUG init version:0.0.0 force:False 01:48:43 2023-05-20 01:48:43,669 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-254/.semver 01:48:43 2023-05-20 01:48:43,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-254/.semver 01:48:43 2023-05-20 01:48:43,669 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-254/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-254, universal_newlines=False, shell=None, istream=None) 01:48:44 2023-05-20 01:48:44,366 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-254/.git/info/exclude 01:48:44 2023-05-20 01:48:44,367 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 with force:False 01:48:44 2023-05-20 01:48:44,367 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 01:48:44 2023-05-20 01:48:44,372 [execute] INFO git cat-file --batch-check 01:48:44 2023-05-20 01:48:44,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) 01:48:44 2023-05-20 01:48:44,379 [execute] INFO git cat-file --batch 01:48:44 2023-05-20 01:48:44,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) 01:48:44 2023-05-20 01:48:44,385 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 01:48:44 0.0.0 [Pipeline] } 01:48:44 $ docker exec --env ******** --env ******** 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 ssh-agent -k 01:48:44 unset SSH_AUTH_SOCK; 01:48:44 unset SSH_AGENT_PID; 01:48:44 echo Agent pid 76 killed; 01:48:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:45 + git semver [Pipeline] } 01:48:45 $ docker stop --time=1 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 01:48:46 $ docker rm -f --volumes 228087adfebf124ba52eebf725a23e9725aa57f8c8a514542ebd401da0fefaa6 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:48:47 Stashed 1 file(s) [Pipeline] echo 01:48:47 [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 01:48:47 provisioning config files... 01:48:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config3448547995505561441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:47 ---> docker-login.sh 01:48:47 nexus3.edgexfoundry.org:10001 01:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:47 Configure a credential helper to remove this warning. See 01:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:47 01:48:47 Login Succeeded 01:48:47 nexus3.edgexfoundry.org:10002 01:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:47 Configure a credential helper to remove this warning. See 01:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:47 01:48:47 Login Succeeded 01:48:47 nexus3.edgexfoundry.org:10003 01:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:47 Configure a credential helper to remove this warning. See 01:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:47 01:48:47 Login Succeeded 01:48:47 nexus3.edgexfoundry.org:10004 01:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:47 Configure a credential helper to remove this warning. See 01:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:47 01:48:47 Login Succeeded 01:48:47 docker.io 01:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:48 Configure a credential helper to remove this warning. See 01:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:48 01:48:48 Login Succeeded 01:48:48 ---> docker-login.sh ends [Pipeline] } 01:48:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:48 ========================================================= 01:48:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:48:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:48 + 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 . 01:48:48 Sending build context to Docker daemon 1.953MB 01:48:48 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:48:48 Step 2/13 : FROM ${BASE} AS builder 01:48:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:48:48 f56be85fc22e: Pulling fs layer 01:48:48 85791d961cd3: Pulling fs layer 01:48:48 d694b5ae8c79: Pulling fs layer 01:48:48 9f32a84ed3da: Pulling fs layer 01:48:48 4d19c01a9841: Pulling fs layer 01:48:48 9325e15d5711: Pulling fs layer 01:48:48 556b6ee489ea: Pulling fs layer 01:48:48 c5a4b2cf53e6: Pulling fs layer 01:48:48 9f32a84ed3da: Waiting 01:48:48 4d19c01a9841: Waiting 01:48:48 9325e15d5711: Waiting 01:48:48 556b6ee489ea: Waiting 01:48:48 c5a4b2cf53e6: Waiting 01:48:48 85791d961cd3: Verifying Checksum 01:48:48 85791d961cd3: Download complete 01:48:48 9f32a84ed3da: Download complete 01:48:48 4d19c01a9841: Verifying Checksum 01:48:48 4d19c01a9841: Download complete 01:48:48 f56be85fc22e: Download complete 01:48:48 9325e15d5711: Verifying Checksum 01:48:48 9325e15d5711: Download complete 01:48:49 f56be85fc22e: Pull complete 01:48:49 85791d961cd3: Pull complete 01:48:50 c5a4b2cf53e6: Verifying Checksum 01:48:50 c5a4b2cf53e6: Download complete 01:48:50 d694b5ae8c79: Verifying Checksum 01:48:50 d694b5ae8c79: Download complete 01:48:50 556b6ee489ea: Verifying Checksum 01:48:50 556b6ee489ea: Download complete 01:48:53 d694b5ae8c79: Pull complete 01:48:54 9f32a84ed3da: Pull complete 01:48:54 4d19c01a9841: Pull complete 01:48:54 9325e15d5711: Pull complete 01:48:56 556b6ee489ea: Pull complete 01:48:58 c5a4b2cf53e6: Pull complete 01:48:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:48:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:48:58 ---> c4be618373d6 01:48:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:49:02 Still waiting to schedule task 01:49:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16158’ 01:49:16 ---> Running in eca247b530da 01:49:16 Removing intermediate container eca247b530da 01:49:16 ---> 8eba812e0e49 01:49:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:16 ---> Running in 3f18e38ffccd 01:49:16 Removing intermediate container 3f18e38ffccd 01:49:16 ---> c735e294a98c 01:49:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:49:16 ---> Running in 3631e72b85e3 01:49:16 Removing intermediate container 3631e72b85e3 01:49:16 ---> c328e10c8ece 01:49:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:49:16 ---> Running in a22abe301d54 01:49:16 Removing intermediate container a22abe301d54 01:49:16 ---> eb5c12996aa5 01:49:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:16 ---> Running in 5bda0d240770 01:49:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:49:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:49:16 (1/14) Installing libintl (0.21.1-r1) 01:49:16 (2/14) Installing eudev-libs (3.2.11-r4) 01:49:16 (3/14) Installing libjpeg-turbo (2.1.4-r0) 01:49:16 (4/14) Installing v4l-utils-libs (1.22.1-r2) 01:49:16 (5/14) Installing v4l-utils (1.22.1-r2) 01:49:16 (6/14) Installing udev-init-scripts (35-r1) 01:49:16 (7/14) Installing libblkid (2.38.1-r1) 01:49:16 (8/14) Installing xz-libs (5.2.9-r0) 01:49:16 (9/14) Installing zstd-libs (1.5.5-r0) 01:49:16 (10/14) Installing kmod-libs (30-r1) 01:49:16 (11/14) Installing eudev (3.2.11-r4) 01:49:16 (12/14) Installing eudev-dev (3.2.11-r4) 01:49:16 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 01:49:16 (14/14) Installing v4l-utils-dev (1.22.1-r2) 01:49:16 Executing busybox-1.35.0-r29.trigger 01:49:16 Executing eudev-3.2.11-r4.trigger 01:49:16 OK: 272 MiB in 67 packages 01:49:16 Removing intermediate container 5bda0d240770 01:49:16 ---> 247e56d6043e 01:49:16 Step 8/13 : WORKDIR /device-usb-camera 01:49:16 ---> Running in d31d8b0c22e1 01:49:16 Removing intermediate container d31d8b0c22e1 01:49:16 ---> bbddc86214fc 01:49:16 Step 9/13 : COPY go.mod vendor* ./ 01:49:17 ---> 53a00af0decf 01:49:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:17 ---> Running in e45988669a4b 01:50:13 Removing intermediate container e45988669a4b 01:50:13 ---> b913bff0e9ee 01:50:13 Step 11/13 : COPY . . 01:50:13 ---> 58415ce3868c 01:50:13 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:50:13 ---> Running in c4bc9edec362 01:50:13  % Total % Received % Xferd Average Speed Time Time Time Current 01:50:13    Dload Upload Total Spent Left Speed 01:50:13  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6436 0 --:--:-- --:--:-- --:--:-- 6475 01:50:13 Removing intermediate container c4bc9edec362 01:50:13 ---> 9a8754eb9cb8 01:50:13 Step 13/13 : RUN ${MAKE} 01:50:13 ---> Running in 3143535c5038 01:50:13 noop 01:50:13 Removing intermediate container 3143535c5038 01:50:13 ---> 9481e6be220b 01:50:13 Successfully built 9481e6be220b 01:50:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:13 + docker inspect -f . ci-base-image-x86_64 01:50:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:13 prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container 01:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:50:14 $ docker top e05976b70ad4e5d5d54dec083b591593bd9d45aa3925833ab1887ed6443404ff -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:14 + go version 01:50:14 go version go1.20.2 linux/amd64 [Pipeline] } 01:50:14 $ docker stop --time=1 e05976b70ad4e5d5d54dec083b591593bd9d45aa3925833ab1887ed6443404ff 01:50:15 $ docker rm -f --volumes e05976b70ad4e5d5d54dec083b591593bd9d45aa3925833ab1887ed6443404ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:16 + docker inspect -f . ci-base-image-x86_64 01:50:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:16 prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container 01:50:16 $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:50:16 $ docker top 3fcefb452f80da73058b3eded4b65af1aff82517c33bba67325035ae0cc74fc4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:17 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] fileExists [Pipeline] sh 01:50:17 + make test 01:50:17 go test ./... -coverprofile=coverage.out ./... 01:50:22 ? github.com/edgexfoundry/device-usb-camera [no test files] 01:50:32 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 01:50:32 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.6% of statements 01:50:37 go vet ./... 01:50:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:50:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:50:42 ./bin/test-attribution-txt.sh [Pipeline] echo 01:50:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:50:42 $ docker stop --time=1 3fcefb452f80da73058b3eded4b65af1aff82517c33bba67325035ae0cc74fc4 01:50:48 $ docker rm -f --volumes 3fcefb452f80da73058b3eded4b65af1aff82517c33bba67325035ae0cc74fc4 [Pipeline] // withDockerContainer [Pipeline] sh 01:50:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:50:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:50:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:49 + ls -al . 01:50:49 total 192 01:50:49 drwxrwxr-x 10 jenkins jenkins 4096 May 20 01:50 . 01:50:49 drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:48 .. 01:50:49 drwxrwxr-x 8 jenkins jenkins 4096 May 20 01:48 .git 01:50:49 drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:48 .github 01:50:49 -rw-rw-r-- 1 jenkins jenkins 414 May 20 01:48 .gitignore 01:50:49 -rw-rw-r-- 1 jenkins jenkins 45 May 20 01:48 .golangci.yml 01:50:49 -rw-rw-r-- 1 jenkins jenkins 77 May 20 01:48 .hadolint.yml 01:50:49 drwxr-xr-x 3 jenkins jenkins 4096 May 20 01:48 .semver 01:50:49 -rw-rw-r-- 1 jenkins jenkins 9665 May 20 01:48 Attribution.txt 01:50:49 -rw-rw-r-- 1 jenkins jenkins 6219 May 20 01:48 CHANGELOG.md 01:50:49 -rw-rw-r-- 1 jenkins jenkins 2453 May 20 01:48 Dockerfile 01:50:49 -rw-rw-r-- 1 jenkins jenkins 678 May 20 01:48 GOVERNANCE.md 01:50:49 -rw-rw-r-- 1 jenkins jenkins 659 May 20 01:48 Jenkinsfile 01:50:49 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 01:48 LICENSE 01:50:49 -rw-rw-r-- 1 jenkins jenkins 2364 May 20 01:48 Makefile 01:50:49 -rw-rw-r-- 1 jenkins jenkins 622 May 20 01:48 OWNERS.md 01:50:49 -rw-rw-r-- 1 jenkins jenkins 2477 May 20 01:48 README.md 01:50:49 -rw-rw-r-- 1 jenkins jenkins 5 May 20 01:48 VERSION 01:50:49 drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:48 bin 01:50:49 drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:48 cmd 01:50:49 -rw-r--r-- 1 jenkins jenkins 35308 May 20 01:50 coverage.out 01:50:49 -rwxrwxr-x 1 jenkins jenkins 140 May 20 01:48 docker-entrypoint.sh 01:50:49 drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:48 docs 01:50:49 -rw-rw-r-- 1 jenkins jenkins 3419 May 20 01:48 go.mod 01:50:49 -rw-rw-r-- 1 jenkins jenkins 31488 May 20 01:48 go.sum 01:50:49 drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:48 internal 01:50:49 drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:48 snap 01:50:49 -rw-rw-r-- 1 jenkins jenkins 231 May 20 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:50 + 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=a7aa7f027762502ccab20492bb8d27a332565d02 --label arch=amd64 --label version=0.0.0 . 01:50:50 Sending build context to Docker daemon 1.989MB 01:50:50 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 01:50:50 Step 2/36 : FROM ${BASE} AS builder 01:50:50 ---> 9481e6be220b 01:50:50 Step 3/36 : ARG ADD_BUILD_TAGS="" 01:50:50 ---> Running in a5de61353131 01:50:50 Removing intermediate container a5de61353131 01:50:50 ---> 10e69885a566 01:50:50 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:50:50 ---> Running in 113a8bafe094 01:50:50 Removing intermediate container 113a8bafe094 01:50:50 ---> d7bb54359ef4 01:50:50 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:50:50 ---> Running in dc67c78a3566 01:50:50 Removing intermediate container dc67c78a3566 01:50:50 ---> cc3320ccca9a 01:50:50 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:50:50 ---> Running in d0d3c427e01d 01:50:50 Removing intermediate container d0d3c427e01d 01:50:50 ---> a77dc3d0338d 01:50:50 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:50 ---> Running in 68d429e6aa9e 01:50:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:50:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:50:51 OK: 272 MiB in 67 packages 01:50:51 Removing intermediate container 68d429e6aa9e 01:50:51 ---> c32e3bd8feb7 01:50:51 Step 8/36 : WORKDIR /device-usb-camera 01:50:51 ---> Running in b0622aa7ab70 01:50:51 Removing intermediate container b0622aa7ab70 01:50:51 ---> a3d989b844f0 01:50:51 Step 9/36 : COPY go.mod vendor* ./ 01:50:51 ---> 6e195d676c8a 01:50:51 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:51 ---> Running in a5ea7d2d18e1 01:50:52 Removing intermediate container a5ea7d2d18e1 01:50:52 ---> e59c3d2d79ae 01:50:52 Step 11/36 : COPY . . 01:50:53 ---> dc981db7db55 01:50:53 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:50:53 ---> Running in 7a1cb6141462 01:50:53  % Total % Received % Xferd Average Speed Time  Time Time Current 01:50:53 Dload Upload Total  Spent Left Speed 01:50:53 0 0  0 0 0  0 0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 21846 0 --:--:-- --:--:-- --:--:-- 22125 01:50:53 Removing intermediate container 7a1cb6141462 01:50:53 ---> a54d6da9c388 01:50:53 Step 13/36 : RUN ${MAKE} 01:50:53 ---> Running in 26c0bee419a2 01:50:53 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 01:51:20 Removing intermediate container 26c0bee419a2 01:51:20 ---> 87566f0507a7 01:51:20 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 01:51:20 v0.21.6: Pulling from aler9/rtsp-simple-server 01:51:20 4acc49c71d14: Pulling fs layer 01:51:20 4acc49c71d14: Verifying Checksum 01:51:20 4acc49c71d14: Download complete 01:51:20 4acc49c71d14: Pull complete 01:51:20 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 01:51:20 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 01:51:20 ---> 01a2bd3e5fff 01:51:20 Step 15/36 : FROM alpine:3.17 01:51:20 3.17: Pulling from library/alpine 01:51:20 f56be85fc22e: Already exists 01:51:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:51:20 Status: Downloaded newer image for alpine:3.17 01:51:20 ---> 9ed4aefc74f6 01:51:20 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:51:20 ---> Running in 3e5fc88a14d7 01:51:20 Removing intermediate container 3e5fc88a14d7 01:51:20 ---> 2dd2e92a9183 01:51:20 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 01:51:20 ---> Running in f4c1336f1fb5 01:51:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:51:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:51:20 (1/86) Installing dumb-init (1.2.5-r2) 01:51:20 (2/86) Installing sdl2 (2.26.5-r0) 01:51:20 (3/86) Installing svt-av1-libs (1.3.0-r0) 01:51:20 (4/86) Installing libxau (1.0.10-r0) 01:51:20 (5/86) Installing libmd (1.0.4-r0) 01:51:20 (6/86) Installing libbsd (0.11.7-r0) 01:51:20 (7/86) Installing libxdmcp (1.1.4-r0) 01:51:20 (8/86) Installing libxcb (1.15-r0) 01:51:20 (9/86) Installing libx11 (1.8.4-r0) 01:51:20 (10/86) Installing aom-libs (3.5.0-r0) 01:51:20 (11/86) Installing alsa-lib (1.2.8-r0) 01:51:20 (12/86) Installing libexpat (2.5.0-r0) 01:51:20 (13/86) Installing brotli-libs (1.0.9-r9) 01:51:20 (14/86) Installing libbz2 (1.0.8-r4) 01:51:20 (15/86) Installing libpng (1.6.38-r0) 01:51:20 (16/86) Installing freetype (2.12.1-r0) 01:51:20 (17/86) Installing fontconfig (2.14.1-r0) 01:51:20 (18/86) Installing fribidi (1.0.12-r0) 01:51:20 (19/86) Installing libffi (3.4.4-r0) 01:51:20 (20/86) Installing libintl (0.21.1-r1) 01:51:20 (21/86) Installing libblkid (2.38.1-r1) 01:51:20 (22/86) Installing libmount (2.38.1-r1) 01:51:20 (23/86) Installing pcre2 (10.42-r0) 01:51:20 (24/86) Installing glib (2.74.6-r0) 01:51:20 (25/86) Installing graphite2 (1.3.14-r2) 01:51:20 (26/86) Installing harfbuzz (5.3.1-r1) 01:51:20 (27/86) Installing libass (0.16.0-r1) 01:51:20 (28/86) Installing libdav1d (1.0.0-r2) 01:51:20 (29/86) Installing hwdata-pci (0.364-r0) 01:51:21 (30/86) Installing libpciaccess (0.17-r0) 01:51:21 (31/86) Installing libdrm (2.4.114-r0) 01:51:21 (32/86) Installing gmp (6.2.1-r2) 01:51:21 (33/86) Installing nettle (3.8.1-r0) 01:51:21 (34/86) Installing p11-kit (0.24.1-r1) 01:51:21 (35/86) Installing libtasn1 (4.19.0-r0) 01:51:21 (36/86) Installing libunistring (1.1-r0) 01:51:21 (37/86) Installing gnutls (3.7.8-r3) 01:51:21 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 01:51:21 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 01:51:21 (40/86) Installing lame (3.100-r2) 01:51:21 (41/86) Installing opus (1.3.1-r1) 01:51:21 (42/86) Installing libasyncns (0.8-r1) 01:51:21 (43/86) Installing dbus-libs (1.14.4-r0) 01:51:21 (44/86) Installing libltdl (2.4.7-r1) 01:51:21 (45/86) Installing orc (0.4.33-r0) 01:51:21 (46/86) Installing libgcc (12.2.1_git20220924-r4) 01:51:21 (47/86) Installing libogg (1.3.5-r2) 01:51:21 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 01:51:21 (49/86) Installing flac-libs (1.4.2-r0) 01:51:21 (50/86) Installing libvorbis (1.3.7-r0) 01:51:21 (51/86) Installing libsndfile (1.1.0-r2) 01:51:21 (52/86) Installing libgomp (12.2.1_git20220924-r4) 01:51:21 (53/86) Installing soxr (0.1.3-r3) 01:51:21 (54/86) Installing speexdsp (1.2.1-r0) 01:51:21 (55/86) Installing tdb-libs (1.4.6-r0) 01:51:21 (56/86) Installing libpulse (16.1-r6) 01:51:21 (57/86) Installing cjson (1.7.15-r3) 01:51:21 (58/86) Installing mbedtls (2.28.3-r0) 01:51:21 (59/86) Installing librist (0.2.7-r0) 01:51:21 (60/86) Installing libsrt (1.5.1-r0) 01:51:21 (61/86) Installing libssh (0.10.5-r0) 01:51:21 (62/86) Installing libtheora (1.1.1-r16) 01:51:21 (63/86) Installing libjpeg-turbo (2.1.4-r0) 01:51:21 (64/86) Installing v4l-utils-libs (1.22.1-r2) 01:51:21 (65/86) Installing libxext (1.3.5-r0) 01:51:21 (66/86) Installing libxfixes (6.0.0-r0) 01:51:21 (67/86) Installing wayland-libs-client (1.21.0-r1) 01:51:21 (68/86) Installing libva (2.16.0-r0) 01:51:21 (69/86) Installing libvdpau (1.5-r0) 01:51:21 (70/86) Installing vidstab (1.1.0-r2) 01:51:21 (71/86) Installing libvpx (1.12.0-r1) 01:51:21 (72/86) Installing libwebp (1.2.4-r1) 01:51:21 (73/86) Installing x264-libs (0.164_git20220602-r0) 01:51:21 (74/86) Installing numactl (2.0.16-r1) 01:51:21 (75/86) Installing x265-libs (3.5-r3) 01:51:21 (76/86) Installing xvidcore (1.3.7-r1) 01:51:21 (77/86) Installing libsodium (1.0.18-r2) 01:51:21 (78/86) Installing libzmq (4.3.4-r1) 01:51:21 (79/86) Installing ffmpeg-libs (5.1.3-r0) 01:51:21 (80/86) Installing ffmpeg (5.1.3-r0) 01:51:21 (81/86) Installing udev-init-scripts (35-r1) 01:51:21 (82/86) Installing eudev-libs (3.2.11-r4) 01:51:21 (83/86) Installing xz-libs (5.2.9-r0) 01:51:21 (84/86) Installing zstd-libs (1.5.5-r0) 01:51:22 (85/86) Installing kmod-libs (30-r1) 01:51:22 (86/86) Installing eudev (3.2.11-r4) 01:51:22 Executing busybox-1.35.0-r29.trigger 01:51:22 Executing eudev-3.2.11-r4.trigger 01:51:22 OK: 112 MiB in 101 packages 01:51:25 Removing intermediate container f4c1336f1fb5 01:51:25 ---> f7ed407c776e 01:51:25 Step 18/36 : WORKDIR / 01:51:25 ---> Running in 5d5bbab90155 01:51:25 Removing intermediate container 5d5bbab90155 01:51:25 ---> d0c8f6e3654b 01:51:25 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 01:51:26 ---> 40ca883b5d85 01:51:26 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 01:51:26 ---> 44392bb18acd 01:51:26 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 01:51:26 ---> af348c7e9513 01:51:26 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 01:51:26 ---> 802d1751b6de 01:51:26 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 01:51:26 ---> 05714bedfd2a 01:51:26 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 01:51:26 ---> e56db3080b6f 01:51:26 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 01:51:27 ---> cda424887175 01:51:27 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 01:51:27 ---> Running in 0397daa60e07 01:51:28 Removing intermediate container 0397daa60e07 01:51:28 ---> f8e77893b7de 01:51:28 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 01:51:28 ---> Running in 2a070ef9dea9 01:51:29 Removing intermediate container 2a070ef9dea9 01:51:29 ---> 73a345b5c895 01:51:29 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 01:51:29 ---> Running in d097a1d5826e 01:51:29 Removing intermediate container d097a1d5826e 01:51:29 ---> 4326ef663791 01:51:29 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 01:51:29 ---> Running in 60dcbbfa03b4 01:51:30 Removing intermediate container 60dcbbfa03b4 01:51:30 ---> 8b2fdca95768 01:51:30 Step 30/36 : EXPOSE 59983 01:51:30 ---> Running in f3ac52263ca9 01:51:30 Removing intermediate container f3ac52263ca9 01:51:30 ---> c28c9a0f5765 01:51:30 Step 31/36 : EXPOSE 8554 01:51:30 ---> Running in 1297d42aacbb 01:51:30 Removing intermediate container 1297d42aacbb 01:51:30 ---> f8b246780a0a 01:51:30 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 01:51:30 ---> Running in edfb6af3f38c 01:51:30 Removing intermediate container edfb6af3f38c 01:51:30 ---> c50460a9f501 01:51:30 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 01:51:30 ---> Running in f384da2ff8ff 01:51:30 Removing intermediate container f384da2ff8ff 01:51:30 ---> 56b3fd06800a 01:51:30 Step 34/36 : LABEL arch=amd64 01:51:30 ---> Running in da3afb4c1b01 01:51:30 Removing intermediate container da3afb4c1b01 01:51:30 ---> fc384680e5a0 01:51:30 Step 35/36 : LABEL git_sha=a7aa7f027762502ccab20492bb8d27a332565d02 01:51:30 ---> Running in d3cc9f01a3da 01:51:30 Removing intermediate container d3cc9f01a3da 01:51:30 ---> 9a5434ba7c6e 01:51:30 Step 36/36 : LABEL version=0.0.0 01:51:30 ---> Running in 023e7a91ac40 01:51:30 Removing intermediate container 023e7a91ac40 01:51:30 ---> 46bad4f4488f 01:51:30 [Warning] One or more build-args [ARCH] were not consumed 01:51:30 Successfully built 46bad4f4488f 01:51:30 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 01:51:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:31 01:51:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:31 latest: Pulling from edgex-lftools-log-publisher 01:51:31 5eb5b503b376: Pulling fs layer 01:51:31 5c69ac0246d0: Pulling fs layer 01:51:31 ec43610c2a17: Pulling fs layer 01:51:31 3a2ae6a8a46f: Pulling fs layer 01:51:31 33b1e0a273af: Pulling fs layer 01:51:31 5d3b04190fa2: Pulling fs layer 01:51:31 2f39f015ded8: Pulling fs layer 01:51:31 3a2ae6a8a46f: Waiting 01:51:31 33b1e0a273af: Waiting 01:51:31 5d3b04190fa2: Waiting 01:51:31 2f39f015ded8: Waiting 01:51:31 5c69ac0246d0: Download complete 01:51:31 3a2ae6a8a46f: Verifying Checksum 01:51:31 3a2ae6a8a46f: Download complete 01:51:32 33b1e0a273af: Verifying Checksum 01:51:32 5d3b04190fa2: Download complete 01:51:32 ec43610c2a17: Verifying Checksum 01:51:32 ec43610c2a17: Download complete 01:51:32 5eb5b503b376: Verifying Checksum 01:51:32 5eb5b503b376: Download complete 01:51:33 5eb5b503b376: Pull complete 01:51:33 5c69ac0246d0: Pull complete 01:51:33 ec43610c2a17: Pull complete 01:51:33 3a2ae6a8a46f: Pull complete 01:51:33 33b1e0a273af: Pull complete 01:51:33 5d3b04190fa2: Pull complete 01:51:38 2f39f015ded8: Pull complete 01:51:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:38 prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container 01:51:38 $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:51:45 $ docker top 1a37a5521ec43d02dc2bcfb1fd05af97b531c2096c7d1d7bd801d95732c9cd71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:45 ---> job-cost.sh 01:51:45 lf-activate-venv: SKIPPING 01:51:45 INFO: No Stack... 01:51:46 INFO: Retrieving Pricing Info for: v3-standard-8 01:51:46 INFO: Archiving Costs [Pipeline] sh 01:51:47 + cat /w/workspace/foundry_device-usb-camera_PR-254/archives/cost.csv 01:51:47 + cut -d, -f6 [Pipeline] lock 01:51:47 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] 01:51:47 Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] did not exist. Created. 01:51:47 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:51:47 + echo total: 0.2199999988079071 [Pipeline] stash 01:51:47 Stashed 1 file(s) [Pipeline] } 01:51:47 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:51:47 $ docker stop --time=1 1a37a5521ec43d02dc2bcfb1fd05af97b531c2096c7d1d7bd801d95732c9cd71 01:51:48 $ docker rm -f --volumes 1a37a5521ec43d02dc2bcfb1fd05af97b531c2096c7d1d7bd801d95732c9cd71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:52:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16162 in /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] { [Pipeline] ws 01:52:42 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 01:52:42 Selected Git installation does not exist. Using Default 01:52:42 The recommended git tool is: NONE 01:52:49 using credential edgex-jenkins-ssh 01:52:49 Cloning the remote Git repository 01:52:49 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 01:52:49 > git init /w/workspace/device-usb-camera/3 # timeout=10 01:52:49 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 01:52:49 > git --version # timeout=10 01:52:49 > git --version # 'git version 2.25.1' 01:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:50 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 01:52:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:52 Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit a7aa7f027762502ccab20492bb8d27a332565d02 01:52:52 Merge succeeded, producing a7aa7f027762502ccab20492bb8d27a332565d02 01:52:52 Checking out Revision a7aa7f027762502ccab20492bb8d27a332565d02 (PR-254) 01:52:51 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 01:52:51 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 01:52:51 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:52:52 > git config core.sparsecheckout # timeout=10 01:52:52 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 01:52:52 > git remote # timeout=10 01:52:52 > git config --get remote.origin.url # timeout=10 01:52:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:52 > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 01:52:52 > git rev-parse HEAD^{commit} # timeout=10 01:52:52 > git config core.sparsecheckout # timeout=10 01:52:52 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 01:52:56 Commit message: "fix: remove G204 warning from ffmpeg call" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:52:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:52:57 Dload Upload Total Spent Left Speed 01:52:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh 01:52:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:52:58 + sudo tee /etc/docker/daemon.new 01:52:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:52:58 { 01:52:58 "registry-mirrors": [ 01:52:58 "https://nexus3.edgexfoundry.org:10001" 01:52:58 ], 01:52:58 "bip": "10.250.0.254/24", 01:52:58 "hosts": [ 01:52:58 "tcp://0.0.0.0:5555", 01:52:58 "unix:///var/run/docker.sock" 01:52:58 ], 01:52:58 "mtu": 1458, 01:52:58 "selinux-enabled": true, 01:52:58 "seccomp-profile": "/etc/docker/seccomp.json" 01:52:58 } [Pipeline] sh 01:52:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:52:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:18 provisioning config files... 01:53:18 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config15968180564911083416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:18 ---> docker-login.sh 01:53:18 nexus3.edgexfoundry.org:10001 01:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:19 Configure a credential helper to remove this warning. See 01:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:19 01:53:19 Login Succeeded 01:53:19 nexus3.edgexfoundry.org:10002 01:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:19 Configure a credential helper to remove this warning. See 01:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:19 01:53:19 Login Succeeded 01:53:19 nexus3.edgexfoundry.org:10003 01:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:19 Configure a credential helper to remove this warning. See 01:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:19 01:53:19 Login Succeeded 01:53:19 nexus3.edgexfoundry.org:10004 01:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:20 Configure a credential helper to remove this warning. See 01:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:20 01:53:20 Login Succeeded 01:53:20 docker.io 01:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:20 Configure a credential helper to remove this warning. See 01:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:20 01:53:20 Login Succeeded 01:53:20 ---> docker-login.sh ends [Pipeline] } 01:53:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:53:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:53:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:53:21 ========================================================= 01:53:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:53:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:21 + 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 . 01:53:23 Sending build context to Docker daemon 1.177MB 01:53:23 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:53:23 Step 2/13 : FROM ${BASE} AS builder 01:53:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:53:23 c41833b44d91: Pulling fs layer 01:53:23 ed15518f5707: Pulling fs layer 01:53:23 feae8fd75edb: Pulling fs layer 01:53:23 242c74f7c9fa: Pulling fs layer 01:53:23 3cdef696dda3: Pulling fs layer 01:53:23 2ced38df9373: Pulling fs layer 01:53:23 58f1dce35555: Pulling fs layer 01:53:23 3cdef696dda3: Waiting 01:53:23 242c74f7c9fa: Waiting 01:53:23 58f1dce35555: Waiting 01:53:23 ed15518f5707: Verifying Checksum 01:53:23 ed15518f5707: Download complete 01:53:23 242c74f7c9fa: Verifying Checksum 01:53:23 242c74f7c9fa: Download complete 01:53:23 3cdef696dda3: Verifying Checksum 01:53:23 3cdef696dda3: Download complete 01:53:23 c41833b44d91: Download complete 01:53:24 c41833b44d91: Pull complete 01:53:24 58f1dce35555: Verifying Checksum 01:53:24 58f1dce35555: Download complete 01:53:25 ed15518f5707: Pull complete 01:53:26 feae8fd75edb: Download complete 01:53:26 2ced38df9373: Verifying Checksum 01:53:26 2ced38df9373: Download complete 01:53:41 feae8fd75edb: Pull complete 01:53:41 242c74f7c9fa: Pull complete 01:53:41 3cdef696dda3: Pull complete 01:53:46 2ced38df9373: Pull complete 01:53:48 58f1dce35555: Pull complete 01:53:48 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:53:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:53:48 ---> fadd8f120f05 01:53:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:53:50 ---> Running in 367c84af8561 01:53:50 Removing intermediate container 367c84af8561 01:53:50 ---> abaa0e02e633 01:53:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:53:50 ---> Running in be2db1b31a6f 01:53:50 Removing intermediate container be2db1b31a6f 01:53:50 ---> efc783fed692 01:53:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:53:50 ---> Running in dc2b6e202c1c 01:53:51 Removing intermediate container dc2b6e202c1c 01:53:51 ---> c391ecbdd288 01:53:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:53:51 ---> Running in 3c34b72008a1 01:53:51 Removing intermediate container 3c34b72008a1 01:53:51 ---> 9e2e80f4961e 01:53:51 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:51 ---> Running in 6083df29bc17 01:53:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:53:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:53:54 (1/14) Installing libintl (0.21.1-r1) 01:53:54 (2/14) Installing eudev-libs (3.2.11-r4) 01:53:54 (3/14) Installing libjpeg-turbo (2.1.4-r0) 01:53:54 (4/14) Installing v4l-utils-libs (1.22.1-r2) 01:53:54 (5/14) Installing v4l-utils (1.22.1-r2) 01:53:54 (6/14) Installing udev-init-scripts (35-r1) 01:53:54 (7/14) Installing libblkid (2.38.1-r1) 01:53:54 (8/14) Installing xz-libs (5.2.9-r0) 01:53:54 (9/14) Installing zstd-libs (1.5.5-r0) 01:53:54 (10/14) Installing kmod-libs (30-r1) 01:53:54 (11/14) Installing eudev (3.2.11-r4) 01:53:54 (12/14) Installing eudev-dev (3.2.11-r4) 01:53:54 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 01:53:54 (14/14) Installing v4l-utils-dev (1.22.1-r2) 01:53:55 Executing busybox-1.35.0-r29.trigger 01:53:55 Executing eudev-3.2.11-r4.trigger 01:53:55 OK: 271 MiB in 67 packages 01:53:56 Removing intermediate container 6083df29bc17 01:53:56 ---> 5591e1e45f14 01:53:56 Step 8/13 : WORKDIR /device-usb-camera 01:53:56 ---> Running in 3eb44a1f2c8f 01:53:56 Removing intermediate container 3eb44a1f2c8f 01:53:56 ---> c053d5a95b46 01:53:56 Step 9/13 : COPY go.mod vendor* ./ 01:53:57 ---> 86fafbab798e 01:53:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:57 ---> Running in 9ee7197554e8 01:55:05 Removing intermediate container 9ee7197554e8 01:55:05 ---> 0ac5d2602f8a 01:55:05 Step 11/13 : COPY . . 01:55:05 ---> 840bad8c7019 01:55:05 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:55:05 ---> Running in 5ac1bf419327 01:55:05  % Total % Received % Xferd Average Speed Time Time  Time Current 01:55:05 Dload Upload Total Spent Left Speed 01:55:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3679 0 --:--:-- --:--:-- --:--:-- 3687 01:55:05 Removing intermediate container 5ac1bf419327 01:55:05 ---> cd54d863d880 01:55:05 Step 13/13 : RUN ${MAKE} 01:55:05 ---> Running in fc61ef434809 01:55:05 noop 01:55:05 Removing intermediate container fc61ef434809 01:55:05 ---> de95dea4db3a 01:55:05 Successfully built de95dea4db3a 01:55:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:05 + docker inspect -f . ci-base-image-arm64 01:55:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:05 prd-ubuntu20.04-docker-arm64-4c-16g-16162 does not seem to be running inside a container 01:55:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:55:07 $ docker top 639202176ee2233bc97ae2611c1eaa19078c71fa8e0ff4dfab840b9c0e95434f -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:08 + go version 01:55:08 go version go1.20.2 linux/arm64 [Pipeline] } 01:55:08 $ docker stop --time=1 639202176ee2233bc97ae2611c1eaa19078c71fa8e0ff4dfab840b9c0e95434f 01:55:09 $ docker rm -f --volumes 639202176ee2233bc97ae2611c1eaa19078c71fa8e0ff4dfab840b9c0e95434f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:10 + docker inspect -f . ci-base-image-arm64 01:55:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:10 prd-ubuntu20.04-docker-arm64-4c-16g-16162 does not seem to be running inside a container 01:55:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:55:14 $ docker top bff474d906b79945e71d81111965543c82c1eae15c775ed9c076dd5f88fff6fd -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:15 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 01:55:16 + make test 01:55:16 go test ./... -coverprofile=coverage.out ./... 01:55:54 ? github.com/edgexfoundry/device-usb-camera [no test files] 01:58:31 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 01:58:31 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.078s coverage: 1.6% of statements 01:58:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:58:31 go vet ./... 01:58:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:58:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:58:58 ./bin/test-attribution-txt.sh [Pipeline] echo 01:58:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:58:58 $ docker stop --time=1 bff474d906b79945e71d81111965543c82c1eae15c775ed9c076dd5f88fff6fd 01:59:02 $ docker rm -f --volumes bff474d906b79945e71d81111965543c82c1eae15c775ed9c076dd5f88fff6fd [Pipeline] // withDockerContainer [Pipeline] sh 01:59:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:59:03 Warning: overwriting stash ‘coverage-report’ 01:59:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:59:05 + ls -al . 01:59:05 total 188 01:59:05 drwxrwxr-x 9 jenkins jenkins 4096 May 20 01:55 . 01:59:05 drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:52 .. 01:59:05 drwxrwxr-x 8 jenkins jenkins 4096 May 20 01:52 .git 01:59:05 drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:52 .github 01:59:05 -rw-rw-r-- 1 jenkins jenkins 414 May 20 01:52 .gitignore 01:59:05 -rw-rw-r-- 1 jenkins jenkins 45 May 20 01:52 .golangci.yml 01:59:05 -rw-rw-r-- 1 jenkins jenkins 77 May 20 01:52 .hadolint.yml 01:59:05 -rw-rw-r-- 1 jenkins jenkins 9665 May 20 01:52 Attribution.txt 01:59:05 -rw-rw-r-- 1 jenkins jenkins 6219 May 20 01:52 CHANGELOG.md 01:59:05 -rw-rw-r-- 1 jenkins jenkins 2453 May 20 01:52 Dockerfile 01:59:05 -rw-rw-r-- 1 jenkins jenkins 678 May 20 01:52 GOVERNANCE.md 01:59:05 -rw-rw-r-- 1 jenkins jenkins 659 May 20 01:52 Jenkinsfile 01:59:05 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 01:52 LICENSE 01:59:05 -rw-rw-r-- 1 jenkins jenkins 2364 May 20 01:52 Makefile 01:59:05 -rw-rw-r-- 1 jenkins jenkins 622 May 20 01:52 OWNERS.md 01:59:05 -rw-rw-r-- 1 jenkins jenkins 2477 May 20 01:52 README.md 01:59:05 -rw-rw-r-- 1 jenkins jenkins 5 May 20 01:48 VERSION 01:59:05 drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:52 bin 01:59:05 drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:52 cmd 01:59:05 -rw-r--r-- 1 jenkins jenkins 35308 May 20 01:58 coverage.out 01:59:05 -rwxrwxr-x 1 jenkins jenkins 140 May 20 01:52 docker-entrypoint.sh 01:59:05 drwxrwxr-x 2 jenkins jenkins 4096 May 20 01:52 docs 01:59:05 -rw-rw-r-- 1 jenkins jenkins 3419 May 20 01:52 go.mod 01:59:05 -rw-rw-r-- 1 jenkins jenkins 31488 May 20 01:52 go.sum 01:59:05 drwxrwxr-x 3 jenkins jenkins 4096 May 20 01:52 internal 01:59:05 drwxrwxr-x 4 jenkins jenkins 4096 May 20 01:52 snap 01:59:05 -rw-rw-r-- 1 jenkins jenkins 231 May 20 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:05 + 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=a7aa7f027762502ccab20492bb8d27a332565d02 --label arch=arm64 --label version=0.0.0 . 01:59:05 Sending build context to Docker daemon 1.212MB 01:59:05 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 01:59:05 Step 2/36 : FROM ${BASE} AS builder 01:59:05 ---> de95dea4db3a 01:59:05 Step 3/36 : ARG ADD_BUILD_TAGS="" 01:59:05 ---> Running in 1eed5faabc20 01:59:06 Removing intermediate container 1eed5faabc20 01:59:06 ---> 96c6aa263739 01:59:06 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:06 ---> Running in 6ef962443d11 01:59:06 Removing intermediate container 6ef962443d11 01:59:06 ---> c5423282ee2a 01:59:06 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:59:06 ---> Running in 940bbc89494b 01:59:06 Removing intermediate container 940bbc89494b 01:59:06 ---> c12d92b3b005 01:59:06 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:59:06 ---> Running in a93d1c818a25 01:59:07 Removing intermediate container a93d1c818a25 01:59:07 ---> 5be170913045 01:59:07 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:07 ---> Running in fcc322cb6255 01:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:59:10 OK: 271 MiB in 67 packages 01:59:10 Removing intermediate container fcc322cb6255 01:59:10 ---> 1965603489d7 01:59:10 Step 8/36 : WORKDIR /device-usb-camera 01:59:10 ---> Running in 5150bb9bdee7 01:59:11 Removing intermediate container 5150bb9bdee7 01:59:11 ---> 785e98f9a040 01:59:11 Step 9/36 : COPY go.mod vendor* ./ 01:59:11 ---> 354384433642 01:59:11 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:11 ---> Running in 35af66b7db7d 01:59:14 Removing intermediate container 35af66b7db7d 01:59:14 ---> 3e9e781f39e0 01:59:14 Step 11/36 : COPY . . 01:59:15 ---> 6df6563f2542 01:59:15 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:59:15 ---> Running in 35a41a83f839 01:59:16  % Total  % Received % Xferd Average Speed Time Time Time Current 01:59:16   Dload Upload Total Spent Left Speed 01:59:17 0 0 0 0 0 0  0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3109 0 --:--:-- --:--:-- --:--:-- 3114 01:59:17 Removing intermediate container 35a41a83f839 01:59:17 ---> 2105d34ce65a 01:59:17 Step 13/36 : RUN ${MAKE} 01:59:17 ---> Running in 82c01fa3fde9 01:59:18 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 02:02:10 Removing intermediate container 82c01fa3fde9 02:02:10 ---> 0582264d5840 02:02:10 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 02:02:10 v0.21.6: Pulling from aler9/rtsp-simple-server 02:02:10 8766b47fe142: Pulling fs layer 02:02:10 8766b47fe142: Verifying Checksum 02:02:10 8766b47fe142: Download complete 02:02:10 8766b47fe142: Pull complete 02:02:10 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 02:02:10 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 02:02:10 ---> 69d40e2cb93c 02:02:10 Step 15/36 : FROM alpine:3.17 02:02:10 3.17: Pulling from library/alpine 02:02:10 c41833b44d91: Already exists 02:02:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:02:10 Status: Downloaded newer image for alpine:3.17 02:02:10 ---> 51e60588ff2c 02:02:10 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:02:10 ---> Running in e18a0b2e7f30 02:02:10 Removing intermediate container e18a0b2e7f30 02:02:10 ---> 1579ac0266e2 02:02:10 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 02:02:10 ---> Running in a5508681f3a7 02:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:02:10 (1/83) Installing dumb-init (1.2.5-r2) 02:02:10 (2/83) Installing sdl2 (2.26.5-r0) 02:02:10 (3/83) Installing libxau (1.0.10-r0) 02:02:10 (4/83) Installing libmd (1.0.4-r0) 02:02:10 (5/83) Installing libbsd (0.11.7-r0) 02:02:10 (6/83) Installing libxdmcp (1.1.4-r0) 02:02:10 (7/83) Installing libxcb (1.15-r0) 02:02:10 (8/83) Installing libx11 (1.8.4-r0) 02:02:10 (9/83) Installing aom-libs (3.5.0-r0) 02:02:10 (10/83) Installing alsa-lib (1.2.8-r0) 02:02:10 (11/83) Installing libexpat (2.5.0-r0) 02:02:10 (12/83) Installing brotli-libs (1.0.9-r9) 02:02:10 (13/83) Installing libbz2 (1.0.8-r4) 02:02:10 (14/83) Installing libpng (1.6.38-r0) 02:02:10 (15/83) Installing freetype (2.12.1-r0) 02:02:10 (16/83) Installing fontconfig (2.14.1-r0) 02:02:10 (17/83) Installing fribidi (1.0.12-r0) 02:02:10 (18/83) Installing libffi (3.4.4-r0) 02:02:10 (19/83) Installing libintl (0.21.1-r1) 02:02:10 (20/83) Installing libblkid (2.38.1-r1) 02:02:10 (21/83) Installing libmount (2.38.1-r1) 02:02:10 (22/83) Installing pcre2 (10.42-r0) 02:02:10 (23/83) Installing glib (2.74.6-r0) 02:02:10 (24/83) Installing graphite2 (1.3.14-r2) 02:02:10 (25/83) Installing harfbuzz (5.3.1-r1) 02:02:10 (26/83) Installing libass (0.16.0-r1) 02:02:10 (27/83) Installing libdav1d (1.0.0-r2) 02:02:10 (28/83) Installing libdrm (2.4.114-r0) 02:02:10 (29/83) Installing gmp (6.2.1-r2) 02:02:10 (30/83) Installing nettle (3.8.1-r0) 02:02:10 (31/83) Installing p11-kit (0.24.1-r1) 02:02:10 (32/83) Installing libtasn1 (4.19.0-r0) 02:02:10 (33/83) Installing libunistring (1.1-r0) 02:02:10 (34/83) Installing gnutls (3.7.8-r3) 02:02:10 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 02:02:10 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 02:02:10 (37/83) Installing lame (3.100-r2) 02:02:10 (38/83) Installing opus (1.3.1-r1) 02:02:10 (39/83) Installing libasyncns (0.8-r1) 02:02:10 (40/83) Installing dbus-libs (1.14.4-r0) 02:02:10 (41/83) Installing libltdl (2.4.7-r1) 02:02:10 (42/83) Installing orc (0.4.33-r0) 02:02:10 (43/83) Installing libgcc (12.2.1_git20220924-r4) 02:02:10 (44/83) Installing libogg (1.3.5-r2) 02:02:10 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 02:02:10 (46/83) Installing flac-libs (1.4.2-r0) 02:02:10 (47/83) Installing libvorbis (1.3.7-r0) 02:02:10 (48/83) Installing libsndfile (1.1.0-r2) 02:02:10 (49/83) Installing libgomp (12.2.1_git20220924-r4) 02:02:10 (50/83) Installing soxr (0.1.3-r3) 02:02:10 (51/83) Installing speexdsp (1.2.1-r0) 02:02:10 (52/83) Installing tdb-libs (1.4.6-r0) 02:02:10 (53/83) Installing libpulse (16.1-r6) 02:02:10 (54/83) Installing cjson (1.7.15-r3) 02:02:10 (55/83) Installing mbedtls (2.28.3-r0) 02:02:10 (56/83) Installing librist (0.2.7-r0) 02:02:10 (57/83) Installing libsrt (1.5.1-r0) 02:02:10 (58/83) Installing libssh (0.10.5-r0) 02:02:10 (59/83) Installing libtheora (1.1.1-r16) 02:02:10 (60/83) Installing libjpeg-turbo (2.1.4-r0) 02:02:10 (61/83) Installing v4l-utils-libs (1.22.1-r2) 02:02:10 (62/83) Installing libxext (1.3.5-r0) 02:02:10 (63/83) Installing libxfixes (6.0.0-r0) 02:02:10 (64/83) Installing wayland-libs-client (1.21.0-r1) 02:02:10 (65/83) Installing libva (2.16.0-r0) 02:02:10 (66/83) Installing libvdpau (1.5-r0) 02:02:10 (67/83) Installing vidstab (1.1.0-r2) 02:02:10 (68/83) Installing libvpx (1.12.0-r1) 02:02:10 (69/83) Installing libwebp (1.2.4-r1) 02:02:10 (70/83) Installing x264-libs (0.164_git20220602-r0) 02:02:10 (71/83) Installing numactl (2.0.16-r1) 02:02:10 (72/83) Installing x265-libs (3.5-r3) 02:02:10 (73/83) Installing xvidcore (1.3.7-r1) 02:02:10 (74/83) Installing libsodium (1.0.18-r2) 02:02:10 (75/83) Installing libzmq (4.3.4-r1) 02:02:10 (76/83) Installing ffmpeg-libs (5.1.3-r0) 02:02:10 (77/83) Installing ffmpeg (5.1.3-r0) 02:02:10 (78/83) Installing udev-init-scripts (35-r1) 02:02:10 (79/83) Installing eudev-libs (3.2.11-r4) 02:02:10 (80/83) Installing xz-libs (5.2.9-r0) 02:02:10 (81/83) Installing zstd-libs (1.5.5-r0) 02:02:10 (82/83) Installing kmod-libs (30-r1) 02:02:10 (83/83) Installing eudev (3.2.11-r4) 02:02:10 Executing busybox-1.35.0-r29.trigger 02:02:10 Executing eudev-3.2.11-r4.trigger 02:02:10 OK: 86 MiB in 98 packages 02:02:13 Removing intermediate container a5508681f3a7 02:02:13 ---> da36212100bd 02:02:13 Step 18/36 : WORKDIR / 02:02:13 ---> Running in 1f8a177e2236 02:02:13 Removing intermediate container 1f8a177e2236 02:02:13 ---> cfabe676d40d 02:02:13 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 02:02:14 ---> 68156ce57ec6 02:02:14 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 02:02:15 ---> dac5d8857f4b 02:02:15 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 02:02:15 ---> aa6902bd6237 02:02:15 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 02:02:16 ---> e3acacaf85d1 02:02:16 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 02:02:16 ---> b56743c5f230 02:02:16 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 02:02:17 ---> 6e5303a32410 02:02:17 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 02:02:18 ---> 4487fc856bc9 02:02:18 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 02:02:18 ---> Running in a2678dafb028 02:02:20 Removing intermediate container a2678dafb028 02:02:20 ---> eb412ff5756b 02:02:20 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 02:02:20 ---> Running in 4900e7b3fa8d 02:02:22 Removing intermediate container 4900e7b3fa8d 02:02:22 ---> 48ccda5ca9a9 02:02:22 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 02:02:22 ---> Running in 559c211f6173 02:02:24 Removing intermediate container 559c211f6173 02:02:24 ---> ed6c100442fd 02:02:24 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 02:02:24 ---> Running in 6122965ae987 02:02:26 Removing intermediate container 6122965ae987 02:02:26 ---> 07d8341115c1 02:02:26 Step 30/36 : EXPOSE 59983 02:02:26 ---> Running in 3d1ad5f1d7a9 02:02:26 Removing intermediate container 3d1ad5f1d7a9 02:02:26 ---> 335963bc2e48 02:02:26 Step 31/36 : EXPOSE 8554 02:02:26 ---> Running in 37e56e758989 02:02:26 Removing intermediate container 37e56e758989 02:02:26 ---> b39721893e61 02:02:26 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 02:02:26 ---> Running in d77866299f8b 02:02:26 Removing intermediate container d77866299f8b 02:02:26 ---> 65b561b12df0 02:02:26 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 02:02:27 ---> Running in b9f7214e7133 02:02:27 Removing intermediate container b9f7214e7133 02:02:27 ---> bcc9ca9f77f7 02:02:27 Step 34/36 : LABEL arch=arm64 02:02:27 ---> Running in 2c549f049b04 02:02:27 Removing intermediate container 2c549f049b04 02:02:27 ---> 628419239683 02:02:27 Step 35/36 : LABEL git_sha=a7aa7f027762502ccab20492bb8d27a332565d02 02:02:27 ---> Running in b87d032a889f 02:02:28 Removing intermediate container b87d032a889f 02:02:28 ---> 84e17e1e8e69 02:02:28 Step 36/36 : LABEL version=0.0.0 02:02:28 ---> Running in f19d2372fc99 02:02:28 Removing intermediate container f19d2372fc99 02:02:28 ---> e3fadf771324 02:02:28 [Warning] One or more build-args [ARCH] were not consumed 02:02:28 Successfully built e3fadf771324 02:02:28 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 02:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:28 02:02:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:29 arm64: Pulling from edgex-lftools-log-publisher 02:02:29 8998bd30e6a1: Pulling fs layer 02:02:29 04944245beec: Pulling fs layer 02:02:29 699f458cf7ca: Pulling fs layer 02:02:29 765212b225bb: Pulling fs layer 02:02:29 f23df028b6ca: Pulling fs layer 02:02:29 d65c8cfc05b1: Pulling fs layer 02:02:29 2437ff75d9bd: Pulling fs layer 02:02:29 765212b225bb: Waiting 02:02:29 f23df028b6ca: Waiting 02:02:29 d65c8cfc05b1: Waiting 02:02:29 2437ff75d9bd: Waiting 02:02:29 04944245beec: Verifying Checksum 02:02:29 04944245beec: Download complete 02:02:29 765212b225bb: Verifying Checksum 02:02:29 765212b225bb: Download complete 02:02:29 f23df028b6ca: Download complete 02:02:29 d65c8cfc05b1: Download complete 02:02:29 699f458cf7ca: Verifying Checksum 02:02:29 699f458cf7ca: Download complete 02:02:30 8998bd30e6a1: Verifying Checksum 02:02:30 8998bd30e6a1: Download complete 02:02:32 2437ff75d9bd: Verifying Checksum 02:02:32 2437ff75d9bd: Download complete 02:02:34 8998bd30e6a1: Pull complete 02:02:34 04944245beec: Pull complete 02:02:35 699f458cf7ca: Pull complete 02:02:37 765212b225bb: Pull complete 02:02:38 f23df028b6ca: Pull complete 02:02:38 d65c8cfc05b1: Pull complete 02:02:53 2437ff75d9bd: Pull complete 02:02:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:02:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:53 prd-ubuntu20.04-docker-arm64-4c-16g-16162 does not seem to be running inside a container 02:02:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:02:56 $ docker top 465e0bc6b638e62b8c023aec67c82d2b10271d9ef256506b26d17adcda3d6e8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:56 ---> job-cost.sh 02:02:56 lf-activate-venv: SKIPPING 02:02:56 INFO: No Stack... 02:02:57 INFO: Retrieving Pricing Info for: v3-standard-4 02:02:58 INFO: Archiving Costs [Pipeline] sh 02:02:58 + cat /w/workspace/device-usb-camera/3/archives/cost.csv 02:02:58 + cut -d, -f6 [Pipeline] lock 02:02:58 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] 02:02:58 Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] did not exist. Created. 02:02:58 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:02:59 /w/workspace/device-usb-camera/3@tmp/durable-9ffb1c31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:03:00 + echo total: 0.10999999940395355 [Pipeline] stash 02:03:00 Warning: overwriting stash ‘stack-cost’ 02:03:00 Stashed 1 file(s) [Pipeline] } 02:03:00 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:00 $ docker stop --time=1 465e0bc6b638e62b8c023aec67c82d2b10271d9ef256506b26d17adcda3d6e8f 02:03:01 $ docker rm -f --volumes 465e0bc6b638e62b8c023aec67c82d2b10271d9ef256506b26d17adcda3d6e8f [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 02:03:02 provisioning config files... 02:03:02 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config2978389509907012496tmp [Pipeline] { [Pipeline] sh 02:03:02 + set +x 02:03:02 + bash -s -- 02:03:02 + curl -s https://codecov.io/bash 02:03:02 02:03:02 _____ _ 02:03:02 / ____| | | 02:03:02 | | ___ __| | ___ ___ _____ __ 02:03:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:03:02 | |___| (_) | (_| | __/ (_| (_) \ V / 02:03:02 \_____\___/ \__,_|\___|\___\___/ \_/ 02:03:02 Bash-1.0.6 02:03:02 02:03:02 02:03:02 ==> git version 2.25.1 found 02:03:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:03:02 Release-Date: 2020-01-08 02:03:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:03:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:03:02 ==> Jenkins CI detected. 02:03:02 current dir:  /w/workspace/foundry_device-usb-camera_PR-254 02:03:02 project root: . 02:03:02 --> token set from env 02:03:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:03:02 ==> Running gcov in . (disable via -X gcov) 02:03:02 ==> Python coveragepy not found 02:03:02 ==> Searching for coverage reports in: 02:03:02 + . 02:03:02 -> Found 1 reports 02:03:02 ==> Detecting git/mercurial file structure 02:03:02 ==> Reading reports 02:03:02 + ./coverage.out bytes=35308 02:03:02 ==> Appending adjustments 02:03:02 https://docs.codecov.io/docs/fixing-reports 02:03:02 + Found adjustments 02:03:02 ==> Gzipping contents 02:03:02 8.0K /tmp/codecov.Oeu9EE.gz 02:03:02 ==> Uploading reports 02:03:02 url: https://codecov.io 02:03:02 query: branch=PR-254&commit=a7aa7f027762502ccab20492bb8d27a332565d02&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-254%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=254&job=&cmd_args= 02:03:02 -> Pinging Codecov 02:03:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-254&commit=a7aa7f027762502ccab20492bb8d27a332565d02&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-254%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=254&job=&cmd_args= 02:03:03 -> Uploading to 02:03:03 https://storage.googleapis.com/codecov/v4/raw/2023-05-20/73D8F5FF140700D3E01443B452E23636/a7aa7f027762502ccab20492bb8d27a332565d02/4290ce28-d750-4f88-aac2-0e7317f57ded.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230520T020302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81d4468b643ef140bb0f79a8b6004f74bcd999fdf21a5a014072faf7a9361bf8 02:03:03 % Total % Received % Xferd Average Speed Time Time Time Current 02:03:03 Dload Upload Total Spent Left Speed 02:03:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4798 0 0 100 4798 0 22525 --:--:-- --:--:-- --:--:-- 22632 02:03:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/a7aa7f027762502ccab20492bb8d27a332565d02 [Pipeline] } 02:03:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:03:04 + [ -d /w/workspace/foundry_device-usb-camera_PR-254/archives ] 02:03:04 + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives 02:03:04 total 16 02:03:04 drwxr-xr-x 3 root root 4096 May 20 01:51 . 02:03:04 drwxrwxr-x 11 jenkins jenkins 4096 May 20 01:51 .. 02:03:04 drwxr-xr-x 2 root root 4096 May 20 01:51 cost 02:03:04 -rw-r--r-- 1 root root 89 May 20 01:51 cost.csv 02:03:04 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-254/archives 02:03:04 + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives 02:03:04 total 16 02:03:04 drwxr-xr-x 3 jenkins jenkins 4096 May 20 01:51 . 02:03:04 drwxrwxr-x 11 jenkins jenkins 4096 May 20 01:51 .. 02:03:04 drwxr-xr-x 2 jenkins jenkins 4096 May 20 01:51 cost 02:03:04 -rw-r--r-- 1 jenkins jenkins 89 May 20 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:03:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:03:05 ---> package-listing.sh 02:03:05 ++ facter osfamily 02:03:05 ++ tr '[:upper:]' '[:lower:]' 02:03:05 + OS_FAMILY=debian 02:03:05 + workspace=/w/workspace/foundry_device-usb-camera_PR-254 02:03:05 + START_PACKAGES=/tmp/packages_start.txt 02:03:05 + END_PACKAGES=/tmp/packages_end.txt 02:03:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:03:05 + PACKAGES=/tmp/packages_start.txt 02:03:05 + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' 02:03:05 + PACKAGES=/tmp/packages_end.txt 02:03:05 + case "${OS_FAMILY}" in 02:03:05 + dpkg -l 02:03:05 + grep '^ii' 02:03:05 + '[' -f /tmp/packages_start.txt ']' 02:03:05 + '[' -f /tmp/packages_end.txt ']' 02:03:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:03:05 + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' 02:03:05 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-254/archives/ 02:03:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-254/archives/ [Pipeline] echo 02:03:05 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:03:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:06 prd-ubuntu20.04-docker-8c-8g-16161 does not seem to be running inside a container 02:03:06 $ 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-254/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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@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 02:03:09 $ docker top c9cce1d69430b0046e3c4ae5fd06e7d49093dc44ccc9fbde7c933ece50bc22db -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:09 + touch /tmp/pre-build-complete [Pipeline] sh 02:03:10 + mkdir -p /var/log/sysstat [Pipeline] sh 02:03:10 + ls /var/log/sa-host 02:03:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:10 provisioning config files... 02:03:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config15577582190686189861tmp [Pipeline] { [Pipeline] echo 02:03:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:03:10 ---> create-netrc.sh [Pipeline] } 02:03:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:03:11 ---> python-tools-install.sh [Pipeline] echo 02:03:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:03:11 ---> sudo-logs.sh 02:03:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:03:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:03:11 ---> job-cost.sh 02:03:11 lf-activate-venv: SKIPPING 02:03:11 DEBUG: total: 0.2199999988079071 02:03:11 INFO: Retrieving Stack Cost... 02:03:12 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:12 INFO: Archiving Costs [Pipeline] echo 02:03:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:03:13 ---> logs-deploy.sh 02:03:13 lf-activate-venv: SKIPPING 02:03:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-254/3 02:03:13 INFO: archiving workspace using pattern(s): 02:03:13 Archives upload complete. 02:03:13 INFO: archiving logs to Nexus