Pull request #321 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 93cfb85d734a0e750f005937e3bcc351f44eeb17+9c4f5b3d632a15b72762060f59c66cf16383077e (a01bceb19c953b529c0b730ed8732d539725c980) 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-ssh4892213651051041816.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1559343320533035637.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18277738537626518887.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12277300481220005290.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9791768356992689269.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14497970580829815312.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27913 in /w/workspace/foundry_device-usb-camera_PR-321 [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-321 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9c4f5b3d632a15b72762060f59c66cf16383077e into PR head commit 93cfb85d734a0e750f005937e3bcc351f44eeb17 Merge succeeded, producing 93cfb85d734a0e750f005937e3bcc351f44eeb17 Checking out Revision 93cfb85d734a0e750f005937e3bcc351f44eeb17 (PR-321) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f 93cfb85d734a0e750f005937e3bcc351f44eeb17 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9c4f5b3d632a15b72762060f59c66cf16383077e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93cfb85d734a0e750f005937e3bcc351f44eeb17 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:38:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:38:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:38:29 ========================================================= 17:38:29 EdgeX Global Pipelines Version Info 17:38:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:38:31 ------------------- 17:38:31 stable info: 17:38:31 ------------------- 17:38:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:38:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:38:31 Message: update stable to v1.0.258 17:38:31 ------------------- 17:38:31 experimental info: 17:38:31 ------------------- 17:38:31 Commited By: **** collab-it+edgex@linuxfoundation.org 17:38:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:38:31 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:38:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:38:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:38:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:38:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:38:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:38:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-321 [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-321 [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-321 [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93cfb85d734a0e750f005937e3bcc351f44eeb17 [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93cfb85 [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:34 provisioning config files... 17:38:34 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-321@tmp/config1622481329542719365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:34 ---> ****-login.sh 17:38:34 nexus3.edgexfoundry.org:10001 17:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:35 Configure a credential helper to remove this warning. See 17:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:35 17:38:35 Login Succeeded 17:38:35 nexus3.edgexfoundry.org:10002 17:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:35 Configure a credential helper to remove this warning. See 17:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:35 17:38:35 Login Succeeded 17:38:35 nexus3.edgexfoundry.org:10003 17:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:35 Configure a credential helper to remove this warning. See 17:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:35 17:38:35 Login Succeeded 17:38:35 nexus3.edgexfoundry.org:10004 17:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:35 Configure a credential helper to remove this warning. See 17:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:35 17:38:35 Login Succeeded 17:38:35 ****.io 17:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:35 Configure a credential helper to remove this warning. See 17:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:35 17:38:35 Login Succeeded 17:38:35 ---> ****-login.sh ends [Pipeline] } 17:38:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:38:36 + git rev-list -1 --merges 93cfb85d734a0e750f005937e3bcc351f44eeb17~1..93cfb85d734a0e750f005937e3bcc351f44eeb17 [Pipeline] echo 17:38:36 -----------> git rev-list -1 --merges 93cfb85d734a0e750f005937e3bcc351f44eeb17~1..93cfb85d734a0e750f005937e3bcc351f44eeb17 93cfb85d734a0e750f005937e3bcc351f44eeb17 [false] [Pipeline] sh 17:38:36 + git log --format=format:%s -1 93cfb85d734a0e750f005937e3bcc351f44eeb17 [Pipeline] echo 17:38:36 ========================================================= 17:38:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:38:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:38:37 + git log --format=format:%s -1 93cfb85d734a0e750f005937e3bcc351f44eeb17 [Pipeline] echo 17:38:37 [semverPrep] GIT_COMMIT: 93cfb85d734a0e750f005937e3bcc351f44eeb17, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 17:38:37 [semverPrep] This is not a build commit. [Pipeline] sh 17:38:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:38:37 + grep -v github /etc/ssh/ssh_known_hosts 17:38:37 + [ -e /tmp/ssh_known_hosts ] 17:38:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:38:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:38:37 + sudo tee -a /etc/ssh/ssh_known_hosts 17:38:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:38 17:38:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:38 0.1.4: Pulling from edgex-devops/py-git-semver 17:38:38 b85a868b505f: Pulling fs layer 17:38:38 e2be974225ed: Pulling fs layer 17:38:38 339a4e72a1f5: Pulling fs layer 17:38:38 988bab9f4d93: Pulling fs layer 17:38:38 1469e6f7b9e6: Pulling fs layer 17:38:38 eaf3925da568: Pulling fs layer 17:38:38 bab4dde63d76: Pulling fs layer 17:38:38 bde34c3a00c8: Pulling fs layer 17:38:38 b352a97aabf1: Pulling fs layer 17:38:38 4872d77fe225: Pulling fs layer 17:38:38 5851b861e8e6: Pulling fs layer 17:38:38 1469e6f7b9e6: Waiting 17:38:38 bab4dde63d76: Waiting 17:38:38 bde34c3a00c8: Waiting 17:38:38 4872d77fe225: Waiting 17:38:38 eaf3925da568: Waiting 17:38:38 5851b861e8e6: Waiting 17:38:38 988bab9f4d93: Waiting 17:38:38 b352a97aabf1: Waiting 17:38:38 e2be974225ed: Verifying Checksum 17:38:38 e2be974225ed: Download complete 17:38:38 988bab9f4d93: Verifying Checksum 17:38:38 988bab9f4d93: Download complete 17:38:38 1469e6f7b9e6: Verifying Checksum 17:38:38 1469e6f7b9e6: Download complete 17:38:39 339a4e72a1f5: Verifying Checksum 17:38:39 339a4e72a1f5: Download complete 17:38:39 bde34c3a00c8: Download complete 17:38:39 b352a97aabf1: Verifying Checksum 17:38:39 b352a97aabf1: Download complete 17:38:39 4872d77fe225: Verifying Checksum 17:38:39 4872d77fe225: Download complete 17:38:39 5851b861e8e6: Verifying Checksum 17:38:39 5851b861e8e6: Download complete 17:38:39 b85a868b505f: Verifying Checksum 17:38:39 b85a868b505f: Download complete 17:38:39 bab4dde63d76: Verifying Checksum 17:38:40 b85a868b505f: Pull complete 17:38:40 e2be974225ed: Pull complete 17:38:40 339a4e72a1f5: Pull complete 17:38:41 988bab9f4d93: Pull complete 17:38:41 1469e6f7b9e6: Pull complete 17:38:41 eaf3925da568: Pull complete 17:38:43 bab4dde63d76: Pull complete 17:38:43 bde34c3a00c8: Pull complete 17:38:43 b352a97aabf1: Pull complete 17:38:43 4872d77fe225: Pull complete 17:38:43 5851b861e8e6: Pull complete 17:38:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:38:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:38:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:43 prd-ubuntu20.04-docker-8c-8g-27913 does not seem to be running inside a container 17:38:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-321 -v /w/workspace/foundry_device-usb-camera_PR-321:/w/workspace/foundry_device-usb-camera_PR-321:rw,z -v /w/workspace/foundry_device-usb-camera_PR-321@tmp:/w/workspace/foundry_device-usb-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:38:46 $ docker top bdead6f5a10358951d9d804eb75d988a10ab881e10afcc902483a5bea9ac88e1 -eo pid,comm 17:38:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:38:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:38:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:38:46 [ssh-agent] Looking for ssh-agent implementation... 17:38:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:38:47 $ docker exec bdead6f5a10358951d9d804eb75d988a10ab881e10afcc902483a5bea9ac88e1 ssh-agent 17:38:47 SSH_AUTH_SOCK=/tmp/ssh-EsVvnHZztxv7/agent.33 17:38:47 SSH_AGENT_PID=39 17:38:47 Running ssh-add (command line suppressed) 17:38:47 Identity added: /w/workspace/foundry_device-usb-camera_PR-321@tmp/private_key_4106156249225196848.key (/w/workspace/foundry_device-usb-camera_PR-321@tmp/private_key_4106156249225196848.key) 17:38:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:38:47 + git tag --points-at HEAD [Pipeline] } 17:38:47 $ docker exec --env ******** --env ******** bdead6f5a10358951d9d804eb75d988a10ab881e10afcc902483a5bea9ac88e1 ssh-agent -k 17:38:47 unset SSH_AUTH_SOCK; 17:38:47 unset SSH_AGENT_PID; 17:38:47 echo Agent pid 39 killed; 17:38:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:38:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:38:47 [ssh-agent] Looking for ssh-agent implementation... 17:38:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:38:48 $ docker exec bdead6f5a10358951d9d804eb75d988a10ab881e10afcc902483a5bea9ac88e1 ssh-agent 17:38:48 SSH_AUTH_SOCK=/tmp/ssh-AYVylc7reFIG/agent.71 17:38:48 SSH_AGENT_PID=77 17:38:48 Running ssh-add (command line suppressed) 17:38:48 Identity added: /w/workspace/foundry_device-usb-camera_PR-321@tmp/private_key_6509209761940284618.key (/w/workspace/foundry_device-usb-camera_PR-321@tmp/private_key_6509209761940284618.key) 17:38:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:38:48 + git semver init 17:38:48 2024-01-25 17:38:48,757 [run_init] DEBUG init version:0.0.0 force:False 17:38:48 2024-01-25 17:38:48,758 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-321/.semver 17:38:48 2024-01-25 17:38:48,759 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-321/.semver 17:38:48 2024-01-25 17:38:48,759 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-321/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-321, universal_newlines=False, shell=None, istream=None) 17:38:50 2024-01-25 17:38:49,830 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-321/.git/info/exclude 17:38:50 2024-01-25 17:38:49,831 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-321/.semver/PR-321 with force:False 17:38:50 2024-01-25 17:38:49,831 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-321/.semver/PR-321 17:38:50 2024-01-25 17:38:49,835 [execute] INFO git cat-file --batch-check 17:38:50 2024-01-25 17:38:49,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-321/.semver, universal_newlines=False, shell=None, istream=) 17:38:50 2024-01-25 17:38:49,841 [execute] INFO git cat-file --batch 17:38:50 2024-01-25 17:38:49,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-321/.semver, universal_newlines=False, shell=None, istream=) 17:38:50 2024-01-25 17:38:49,846 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-321/.semver/PR-321 17:38:50 0.0.0 [Pipeline] } 17:38:50 $ docker exec --env ******** --env ******** bdead6f5a10358951d9d804eb75d988a10ab881e10afcc902483a5bea9ac88e1 ssh-agent -k 17:38:50 unset SSH_AUTH_SOCK; 17:38:50 unset SSH_AGENT_PID; 17:38:50 echo Agent pid 77 killed; 17:38:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:38:50 + git semver [Pipeline] } 17:38:51 $ docker stop --time=1 bdead6f5a10358951d9d804eb75d988a10ab881e10afcc902483a5bea9ac88e1 17:38:52 $ docker rm -f --volumes bdead6f5a10358951d9d804eb75d988a10ab881e10afcc902483a5bea9ac88e1 [Pipeline] // withDockerContainer [Pipeline] sh 17:38:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:38:53 Stashed 1 file(s) [Pipeline] echo 17:38:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:54 provisioning config files... 17:38:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-321@tmp/config9484519048343312408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:54 ---> ****-login.sh 17:38:54 nexus3.edgexfoundry.org:10001 17:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:54 Configure a credential helper to remove this warning. See 17:38:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:54 17:38:54 Login Succeeded 17:38:54 nexus3.edgexfoundry.org:10002 17:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:54 Configure a credential helper to remove this warning. See 17:38:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:54 17:38:54 Login Succeeded 17:38:54 nexus3.edgexfoundry.org:10003 17:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:54 Configure a credential helper to remove this warning. See 17:38:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:54 17:38:54 Login Succeeded 17:38:54 nexus3.edgexfoundry.org:10004 17:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:54 Configure a credential helper to remove this warning. See 17:38:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:54 17:38:54 Login Succeeded 17:38:54 ****.io 17:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:38:55 Configure a credential helper to remove this warning. See 17:38:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:38:55 17:38:55 Login Succeeded 17:38:55 ---> ****-login.sh ends [Pipeline] } 17:38:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:38:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:38:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:38:55 ========================================================= 17:38:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:38:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:38:56 Sending build context to Docker daemon 14.38MB 17:38:56 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:38:56 Step 2/13 : FROM ${BASE} AS builder 17:38:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:38:56 7264a8db6415: Pulling fs layer 17:38:56 c4d48a809fc2: Pulling fs layer 17:38:56 4f1c88b9dad5: Pulling fs layer 17:38:56 ad3a456e5733: Pulling fs layer 17:38:56 69c7f0334f64: Pulling fs layer 17:38:56 1f1c1a5573a3: Pulling fs layer 17:38:56 ce7588e14bc9: Pulling fs layer 17:38:56 b5e4710f87ac: Pulling fs layer 17:38:56 1f1c1a5573a3: Waiting 17:38:56 ce7588e14bc9: Waiting 17:38:56 b5e4710f87ac: Waiting 17:38:56 ad3a456e5733: Waiting 17:38:56 69c7f0334f64: Waiting 17:38:56 c4d48a809fc2: Verifying Checksum 17:38:56 c4d48a809fc2: Download complete 17:38:56 ad3a456e5733: Verifying Checksum 17:38:56 ad3a456e5733: Download complete 17:38:56 69c7f0334f64: Verifying Checksum 17:38:56 69c7f0334f64: Download complete 17:38:56 7264a8db6415: Verifying Checksum 17:38:56 7264a8db6415: Download complete 17:38:56 1f1c1a5573a3: Verifying Checksum 17:38:56 1f1c1a5573a3: Download complete 17:38:56 7264a8db6415: Pull complete 17:38:56 b5e4710f87ac: Verifying Checksum 17:38:56 b5e4710f87ac: Download complete 17:38:56 c4d48a809fc2: Pull complete 17:38:56 4f1c88b9dad5: Download complete 17:38:57 ce7588e14bc9: Verifying Checksum 17:38:57 ce7588e14bc9: Download complete 17:38:59 4f1c88b9dad5: Pull complete 17:38:59 ad3a456e5733: Pull complete 17:38:59 69c7f0334f64: Pull complete 17:38:59 1f1c1a5573a3: Pull complete 17:39:02 ce7588e14bc9: Pull complete 17:39:02 b5e4710f87ac: Pull complete 17:39:02 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 17:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:39:02 ---> 88b5674ff536 17:39:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:39:07 ---> Running in df8ea4dc42ca 17:39:07 Removing intermediate container df8ea4dc42ca 17:39:07 ---> e892a5900b7b 17:39:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:39:07 ---> Running in ffa6fb240143 17:39:07 Removing intermediate container ffa6fb240143 17:39:07 ---> fadd926d8510 17:39:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:39:07 ---> Running in 23e6abd891e0 17:39:07 Removing intermediate container 23e6abd891e0 17:39:07 ---> c2635f0bc12f 17:39:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:39:07 ---> Running in 7ac781c7a68a 17:39:07 Removing intermediate container 7ac781c7a68a 17:39:07 ---> 44b20476814e 17:39:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:39:07 ---> Running in 2166b8be1eb2 17:39:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:39:08 (1/13) Installing libintl (0.21.1-r7) 17:39:08 (2/13) Installing eudev-libs (3.2.11-r8) 17:39:08 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:39:08 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:39:08 (5/13) Installing v4l-utils (1.24.1-r0) 17:39:08 (6/13) Installing libdvbv5 (1.24.1-r0) 17:39:08 (7/13) Installing udev-init-scripts (35-r1) 17:39:08 (8/13) Installing libblkid (2.38.1-r8) 17:39:08 (9/13) Installing xz-libs (5.4.3-r0) 17:39:08 (10/13) Installing kmod-libs (30-r3) 17:39:08 (11/13) Installing eudev (3.2.11-r8) 17:39:08 (12/13) Installing eudev-dev (3.2.11-r8) 17:39:08 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:39:08 Still waiting to schedule task 17:39:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:39:09 Executing busybox-1.36.1-r5.trigger 17:39:09 Executing eudev-3.2.11-r8.trigger 17:39:09 OK: 271 MiB in 65 packages 17:39:09 Removing intermediate container 2166b8be1eb2 17:39:09 ---> b53083ef69e6 17:39:09 Step 8/13 : WORKDIR /device-usb-camera 17:39:09 ---> Running in 73d144785112 17:39:09 Removing intermediate container 73d144785112 17:39:09 ---> 84cbbd212a9b 17:39:09 Step 9/13 : COPY go.mod vendor* ./ 17:39:09 ---> 7c950f412144 17:39:09 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:09 ---> Running in 96a4fe0d9191 17:39:41 Removing intermediate container 96a4fe0d9191 17:39:41 ---> 72254b4c1da7 17:39:41 Step 11/13 : COPY . . 17:39:41 ---> a332cfb1e666 17:39:41 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:39:41 ---> Running in fc02c6ff7bea 17:39:41  % Total % Received % Xferd Average Speed Time Time Time Current 17:39:41   Dload Upload Total Spent Left Speed 17:39:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 10295 0 --:--:-- --:--:-- --:--:-- 10355 17:39:41 Removing intermediate container fc02c6ff7bea 17:39:41 ---> 6fe73b261c84 17:39:41 Step 13/13 : RUN ${MAKE} 17:39:41 ---> Running in 7fca8335925a 17:39:41 noop 17:39:41 Removing intermediate container 7fca8335925a 17:39:41 ---> 8c330341d207 17:39:41 Successfully built 8c330341d207 17:39:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:42 + docker inspect -f . ci-base-image-x86_64 17:39:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:42 prd-ubuntu20.04-docker-8c-8g-27913 does not seem to be running inside a container 17:39:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-321 -v /w/workspace/foundry_device-usb-camera_PR-321:/w/workspace/foundry_device-usb-camera_PR-321:rw,z -v /w/workspace/foundry_device-usb-camera_PR-321@tmp:/w/workspace/foundry_device-usb-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:39:43 $ docker top 2d1f5c24ef74b8f6ca9c779317c62ff9dc7a4a347c91ee5efc9e7353d9ce5e84 -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:43 + go version 17:39:43 go version go1.21.0 linux/amd64 [Pipeline] } 17:39:43 $ docker stop --time=1 2d1f5c24ef74b8f6ca9c779317c62ff9dc7a4a347c91ee5efc9e7353d9ce5e84 17:39:44 $ docker rm -f --volumes 2d1f5c24ef74b8f6ca9c779317c62ff9dc7a4a347c91ee5efc9e7353d9ce5e84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:45 + docker inspect -f . ci-base-image-x86_64 17:39:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:45 prd-ubuntu20.04-docker-8c-8g-27913 does not seem to be running inside a container 17:39:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-321 -v /w/workspace/foundry_device-usb-camera_PR-321:/w/workspace/foundry_device-usb-camera_PR-321:rw,z -v /w/workspace/foundry_device-usb-camera_PR-321@tmp:/w/workspace/foundry_device-usb-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:39:46 $ docker top b6118472c248ecd9bf85ee334b89b61a596f7ff38b9d2151716f010098c0413e -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:46 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-321 [Pipeline] fileExists [Pipeline] sh 17:39:47 + make test 17:39:47 go test ./... -coverprofile=coverage.out ./... 17:39:48 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:39:58 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:39:58 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 4.4% of statements 17:40:05 go vet ./... 17:40:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:40:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:40:07 ./bin/test-attribution-txt.sh 17:40:07 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 17:40:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:40:07 $ docker stop --time=1 b6118472c248ecd9bf85ee334b89b61a596f7ff38b9d2151716f010098c0413e 17:40:11 $ docker rm -f --volumes b6118472c248ecd9bf85ee334b89b61a596f7ff38b9d2151716f010098c0413e [Pipeline] // withDockerContainer [Pipeline] sh 17:40:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:40:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:40:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:40:13 + ls -al . 17:40:13 total 224 17:40:13 drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 17:39 . 17:40:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 17:38 .. 17:40:13 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 17:39 .git 17:40:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 17:38 .github 17:40:13 -rw-rw-r-- 1 jenkins jenkins 429 Jan 25 17:38 .gitignore 17:40:13 -rw-rw-r-- 1 jenkins jenkins 45 Jan 25 17:38 .golangci.yml 17:40:13 -rw-rw-r-- 1 jenkins jenkins 77 Jan 25 17:38 .hadolint.yml 17:40:13 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 17:38 .semver 17:40:13 -rw-rw-r-- 1 jenkins jenkins 10851 Jan 25 17:38 Attribution.txt 17:40:13 -rw-rw-r-- 1 jenkins jenkins 16561 Jan 25 17:38 CHANGELOG.md 17:40:13 -rw-rw-r-- 1 jenkins jenkins 2562 Jan 25 17:38 Dockerfile 17:40:13 -rw-rw-r-- 1 jenkins jenkins 678 Jan 25 17:38 GOVERNANCE.md 17:40:13 -rw-rw-r-- 1 jenkins jenkins 659 Jan 25 17:38 Jenkinsfile 17:40:13 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 25 17:38 LICENSE 17:40:13 -rw-rw-r-- 1 jenkins jenkins 2611 Jan 25 17:38 Makefile 17:40:13 -rw-rw-r-- 1 jenkins jenkins 622 Jan 25 17:38 OWNERS.md 17:40:13 -rw-rw-r-- 1 jenkins jenkins 2575 Jan 25 17:38 README.md 17:40:13 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 17:38 VERSION 17:40:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 17:38 bin 17:40:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 17:38 cmd 17:40:13 -rw-r--r-- 1 jenkins jenkins 54703 Jan 25 17:39 coverage.out 17:40:13 -rwxrwxr-x 1 jenkins jenkins 84 Jan 25 17:38 docker-entrypoint.sh 17:40:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 17:38 docs 17:40:13 -rw-rw-r-- 1 jenkins jenkins 3968 Jan 25 17:38 go.mod 17:40:13 -rw-rw-r-- 1 jenkins jenkins 34433 Jan 25 17:38 go.sum 17:40:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 17:38 internal 17:40:13 -rw-rw-r-- 1 jenkins jenkins 231 Jan 25 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:14 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=93cfb85d734a0e750f005937e3bcc351f44eeb17 --label arch=amd64 --label version=0.0.0 . 17:40:14 Sending build context to Docker daemon 14.43MB 17:40:14 Step 1/37 : ARG BASE=golang:1.21-alpine3.18 17:40:14 Step 2/37 : FROM ${BASE} AS builder 17:40:14 ---> 8c330341d207 17:40:14 Step 3/37 : ARG ADD_BUILD_TAGS="" 17:40:14 ---> Running in 489c88899337 17:40:14 Removing intermediate container 489c88899337 17:40:14 ---> f5ee27558f58 17:40:14 Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:14 ---> Running in ecb2d2f4d858 17:40:14 Removing intermediate container ecb2d2f4d858 17:40:14 ---> 7929da7d5a06 17:40:14 Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:40:14 ---> Running in 82cb292fb396 17:40:14 Removing intermediate container 82cb292fb396 17:40:14 ---> d2e946cbb42a 17:40:14 Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:40:14 ---> Running in 0e4b99105eac 17:40:14 Removing intermediate container 0e4b99105eac 17:40:14 ---> 83d360da50e7 17:40:14 Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:40:14 ---> Running in 99d24b52a334 17:40:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:40:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:40:15 OK: 271 MiB in 65 packages 17:40:15 Removing intermediate container 99d24b52a334 17:40:15 ---> 8890121c1faa 17:40:15 Step 8/37 : WORKDIR /device-usb-camera 17:40:15 ---> Running in cafd30ebc107 17:40:15 Removing intermediate container cafd30ebc107 17:40:15 ---> 2900534a8308 17:40:15 Step 9/37 : COPY go.mod vendor* ./ 17:40:15 ---> 448da8733670 17:40:15 Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:16 ---> Running in 63e413b31487 17:40:16 Removing intermediate container 63e413b31487 17:40:16 ---> 9d85bfd9ec5b 17:40:16 Step 11/37 : COPY . . 17:40:17 ---> 0eb1c3196ade 17:40:17 Step 12/37 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:40:17 ---> Running in 34c8860fc8ae 17:40:17  % Total % Received % Xferd Average Speed Time  Time Time Current 17:40:17 Dload Upload Total Spent Left Speed 17:40:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1253  100 1253 0 0 45268  0 --:--:-- --:--:-- --:--:-- 46407 17:40:18 Removing intermediate container 34c8860fc8ae 17:40:18 ---> 2dff2cfec5b0 17:40:18 Step 13/37 : RUN ${MAKE} 17:40:18 ---> Running in 4278be3631e6 17:40:18 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:40:40 Removing intermediate container 4278be3631e6 17:40:40 ---> 441cf5d14727 17:40:40 Step 14/37 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:40:40 v0.21.6: Pulling from aler9/rtsp-simple-server 17:40:40 4acc49c71d14: Pulling fs layer 17:40:40 4acc49c71d14: Verifying Checksum 17:40:40 4acc49c71d14: Download complete 17:40:40 4acc49c71d14: Pull complete 17:40:40 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:40:40 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:40:40 ---> 01a2bd3e5fff 17:40:40 Step 15/37 : FROM alpine:3.18 17:40:41 3.18: Pulling from library/alpine 17:40:41 c926b61bad3b: Pulling fs layer 17:40:41 c926b61bad3b: Download complete 17:40:41 c926b61bad3b: Pull complete 17:40:42 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 17:40:42 Status: Downloaded newer image for alpine:3.18 17:40:42 ---> b541f2080109 17:40:42 Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:40:42 ---> Running in c124884a0c98 17:40:42 Removing intermediate container c124884a0c98 17:40:42 ---> 7e0c6cd81997 17:40:42 Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:40:42 ---> Running in 08c0d930f843 17:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:40:43 (1/107) Installing dumb-init (1.2.5-r2) 17:40:43 (2/107) Installing sdl2 (2.26.5-r0) 17:40:43 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:40:43 (4/107) Installing aom-libs (3.6.1-r0) 17:40:43 (5/107) Installing libxau (1.0.11-r2) 17:40:43 (6/107) Installing libmd (1.0.4-r2) 17:40:43 (7/107) Installing libbsd (0.11.7-r1) 17:40:43 (8/107) Installing libxdmcp (1.1.4-r2) 17:40:43 (9/107) Installing libxcb (1.15-r1) 17:40:43 (10/107) Installing libx11 (1.8.7-r0) 17:40:43 (11/107) Installing hwdata-pci (0.370-r0) 17:40:43 (12/107) Installing libpciaccess (0.17-r2) 17:40:43 (13/107) Installing libdrm (2.4.115-r4) 17:40:43 (14/107) Installing libxext (1.3.5-r2) 17:40:43 (15/107) Installing libxfixes (6.0.1-r2) 17:40:43 (16/107) Installing libffi (3.4.4-r2) 17:40:43 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:40:43 (18/107) Installing libva (2.18.0-r1) 17:40:43 (19/107) Installing libvdpau (1.5-r1) 17:40:43 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:40:43 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:40:43 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:40:43 (23/107) Installing ffmpeg-libavutil (6.0.1-r0) 17:40:43 (24/107) Installing libdav1d (1.2.1-r0) 17:40:43 (25/107) Installing brotli-libs (1.0.9-r14) 17:40:43 (26/107) Installing libhwy (1.0.4-r1) 17:40:43 (27/107) Installing lcms2 (2.15-r2) 17:40:43 (28/107) Installing libjxl (0.8.2-r0) 17:40:43 (29/107) Installing lame-libs (3.100-r5) 17:40:43 (30/107) Installing opus (1.4-r0) 17:40:43 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:40:43 (32/107) Installing soxr (0.1.3-r5) 17:40:43 (33/107) Installing ffmpeg-libswresample (6.0.1-r0) 17:40:43 (34/107) Installing libogg (1.3.5-r4) 17:40:43 (35/107) Installing libtheora (1.1.1-r17) 17:40:43 (36/107) Installing libvorbis (1.3.7-r1) 17:40:43 (37/107) Installing libvpx (1.13.0-r2) 17:40:43 (38/107) Installing libwebp (1.3.2-r0) 17:40:43 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:40:43 (40/107) Installing numactl (2.0.16-r4) 17:40:43 (41/107) Installing x265-libs (3.5-r4) 17:40:43 (42/107) Installing xvidcore (1.3.7-r1) 17:40:43 (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) 17:40:43 (44/107) Installing alsa-lib (1.2.9-r1) 17:40:43 (45/107) Installing libexpat (2.5.0-r1) 17:40:43 (46/107) Installing libbz2 (1.0.8-r5) 17:40:43 (47/107) Installing libpng (1.6.39-r3) 17:40:43 (48/107) Installing freetype (2.13.0-r5) 17:40:43 (49/107) Installing fontconfig (2.14.2-r3) 17:40:43 (50/107) Installing fribidi (1.0.13-r0) 17:40:43 (51/107) Installing libintl (0.21.1-r7) 17:40:43 (52/107) Installing libblkid (2.38.1-r8) 17:40:43 (53/107) Installing libmount (2.38.1-r8) 17:40:43 (54/107) Installing pcre2 (10.42-r1) 17:40:43 (55/107) Installing glib (2.76.4-r0) 17:40:43 (56/107) Installing graphite2 (1.3.14-r5) 17:40:43 (57/107) Installing harfbuzz (7.3.0-r0) 17:40:43 (58/107) Installing libunibreak (5.1-r0) 17:40:43 (59/107) Installing libass (0.17.1-r0) 17:40:43 (60/107) Installing libbluray (1.3.4-r0) 17:40:43 (61/107) Installing gmp (6.2.1-r3) 17:40:43 (62/107) Installing nettle (3.8.1-r2) 17:40:43 (63/107) Installing libunistring (1.1-r1) 17:40:43 (64/107) Installing libidn2 (2.3.4-r1) 17:40:43 (65/107) Installing p11-kit (0.24.1-r2) 17:40:43 (66/107) Installing libtasn1 (4.19.0-r1) 17:40:43 (67/107) Installing gnutls (3.8.3-r0) 17:40:43 (68/107) Installing mpg123-libs (1.31.3-r1) 17:40:43 (69/107) Installing libopenmpt (0.7.2-r0) 17:40:43 (70/107) Installing cjson (1.7.17-r0) 17:40:43 (71/107) Installing mbedtls (2.28.5-r0) 17:40:43 (72/107) Installing librist (0.2.7-r0) 17:40:43 (73/107) Installing libsrt (1.5.2-r0) 17:40:43 (74/107) Installing libssh (0.10.5-r0) 17:40:43 (75/107) Installing xz-libs (5.4.3-r0) 17:40:43 (76/107) Installing libxml2 (2.11.6-r0) 17:40:44 (77/107) Installing libsodium (1.0.18-r3) 17:40:44 (78/107) Installing libzmq (4.3.4-r4) 17:40:44 (79/107) Installing ffmpeg-libavformat (6.0.1-r0) 17:40:44 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:40:44 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:40:44 (82/107) Installing shaderc (2023.3-r1) 17:40:44 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:40:44 (84/107) Installing libplacebo (5.264.1-r1) 17:40:44 (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) 17:40:44 (86/107) Installing ffmpeg-libswscale (6.0.1-r0) 17:40:44 (87/107) Installing vidstab (1.1.1-r0) 17:40:44 (88/107) Installing zimg (3.0.5-r0) 17:40:44 (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) 17:40:44 (90/107) Installing libasyncns (0.8-r1) 17:40:44 (91/107) Installing dbus-libs (1.14.8-r0) 17:40:44 (92/107) Installing libltdl (2.4.7-r2) 17:40:44 (93/107) Installing orc (0.4.34-r0) 17:40:44 (94/107) Installing flac-libs (1.4.3-r0) 17:40:44 (95/107) Installing libsndfile (1.2.0-r2) 17:40:44 (96/107) Installing speexdsp (1.2.1-r1) 17:40:44 (97/107) Installing tdb-libs (1.4.8-r1) 17:40:44 (98/107) Installing libpulse (16.1-r10) 17:40:44 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:40:44 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:40:44 (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) 17:40:44 (102/107) Installing ffmpeg (6.0.1-r0) 17:40:44 (103/107) Installing udev-init-scripts (35-r1) 17:40:44 (104/107) Installing eudev-libs (3.2.11-r8) 17:40:44 (105/107) Installing zstd-libs (1.5.5-r4) 17:40:44 (106/107) Installing kmod-libs (30-r3) 17:40:44 (107/107) Installing eudev (3.2.11-r8) 17:40:44 Executing busybox-1.36.1-r5.trigger 17:40:44 Executing glib-2.76.4-r0.trigger 17:40:44 Executing eudev-3.2.11-r8.trigger 17:40:44 OK: 131 MiB in 122 packages 17:40:48 Removing intermediate container 08c0d930f843 17:40:48 ---> e38a4537d6c6 17:40:48 Step 18/37 : RUN apk --no-cache upgrade 17:40:48 ---> Running in ce325d6714ff 17:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:40:48 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 17:40:48 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 17:40:48 OK: 131 MiB in 122 packages 17:40:49 Removing intermediate container ce325d6714ff 17:40:49 ---> f8c96bbdcc4e 17:40:49 Step 19/37 : WORKDIR / 17:40:49 ---> Running in 875f832afaf2 17:40:49 Removing intermediate container 875f832afaf2 17:40:49 ---> 05f920f35bef 17:40:49 Step 20/37 : COPY --from=builder /device-usb-camera/cmd / 17:40:50 ---> ee5cdf21147c 17:40:50 Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / 17:40:50 ---> 12bb8c926797 17:40:50 Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:40:50 ---> 6d311eddee95 17:40:50 Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:40:50 ---> 9525954a6ffb 17:40:50 Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:40:50 ---> 398fe415038a 17:40:50 Step 25/37 : COPY --from=rtsp /rtsp-simple-server.yml / 17:40:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27914 in /w/workspace/foundry_device-usb-camera_PR-321 [Pipeline] { 17:40:51 ---> e6de122d6bd5 17:40:51 Step 26/37 : COPY --from=rtsp /rtsp-simple-server / [Pipeline] ws 17:40:51 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:40:51 ---> 30bd48544dbf 17:40:51 Step 27/37 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:40:52 ---> Running in 025dc0a85f50 17:40:53 Removing intermediate container 025dc0a85f50 17:40:53 ---> 1c8c068cb57a 17:40:53 Step 28/37 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:40:53 ---> Running in b7ab32941e79 17:40:54 Selected Git installation does not exist. Using Default 17:40:54 The recommended git tool is: NONE 17:40:54 Removing intermediate container b7ab32941e79 17:40:54 ---> 4859e443bc91 17:40:54 Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:40:54 ---> Running in 9ea3d7d9bd6f 17:40:55 Removing intermediate container 9ea3d7d9bd6f 17:40:55 ---> 315e4ae8dbbf 17:40:55 Step 30/37 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:40:55 ---> Running in 3847c6705386 17:40:55 Removing intermediate container 3847c6705386 17:40:55 ---> 0bb93bcd2047 17:40:55 Step 31/37 : EXPOSE 59983 17:40:55 ---> Running in 1f3831f7ac9d 17:40:55 Removing intermediate container 1f3831f7ac9d 17:40:55 ---> 25bb675c1931 17:40:55 Step 32/37 : EXPOSE 8554 17:40:56 ---> Running in f6eadee01da8 17:40:56 Removing intermediate container f6eadee01da8 17:40:56 ---> 9abadd57a8c9 17:40:56 Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:40:56 ---> Running in 8a1308ce54f1 17:40:56 Removing intermediate container 8a1308ce54f1 17:40:56 ---> 664c05b78d84 17:40:56 Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:40:56 ---> Running in 98978eceaad1 17:40:56 Removing intermediate container 98978eceaad1 17:40:56 ---> 97599ca09d82 17:40:56 Step 35/37 : LABEL arch=amd64 17:40:56 ---> Running in 00c343430dc4 17:40:56 Removing intermediate container 00c343430dc4 17:40:56 ---> 4fd1ed40341f 17:40:56 Step 36/37 : LABEL git_sha=93cfb85d734a0e750f005937e3bcc351f44eeb17 17:40:56 ---> Running in 9d52a02ff70c 17:40:56 Removing intermediate container 9d52a02ff70c 17:40:56 ---> 1b99ae53b470 17:40:56 Step 37/37 : LABEL version=0.0.0 17:40:57 ---> Running in 23fc27820d9f 17:40:57 Removing intermediate container 23fc27820d9f 17:40:57 ---> 8f5e83c81574 17:40:57 [Warning] One or more build-args [ARCH] were not consumed 17:40:57 Successfully built 8f5e83c81574 17:40:57 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:58 17:40:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:58 latest: Pulling from edgex-lftools-log-publisher 17:40:58 5eb5b503b376: Pulling fs layer 17:40:58 5c69ac0246d0: Pulling fs layer 17:40:58 ec43610c2a17: Pulling fs layer 17:40:58 3a2ae6a8a46f: Pulling fs layer 17:40:58 33b1e0a273af: Pulling fs layer 17:40:58 5d3b04190fa2: Pulling fs layer 17:40:58 2f39f015ded8: Pulling fs layer 17:40:58 5d3b04190fa2: Waiting 17:40:58 2f39f015ded8: Waiting 17:40:58 3a2ae6a8a46f: Waiting 17:40:58 5c69ac0246d0: Verifying Checksum 17:40:58 5c69ac0246d0: Download complete 17:40:58 3a2ae6a8a46f: Verifying Checksum 17:40:58 3a2ae6a8a46f: Download complete 17:40:58 33b1e0a273af: Verifying Checksum 17:40:58 33b1e0a273af: Download complete 17:40:58 5d3b04190fa2: Verifying Checksum 17:40:58 5d3b04190fa2: Download complete 17:40:59 ec43610c2a17: Verifying Checksum 17:40:59 ec43610c2a17: Download complete 17:40:59 5eb5b503b376: Verifying Checksum 17:40:59 5eb5b503b376: Download complete 17:40:59 using credential edgex-jenkins-ssh 17:40:59 Cloning the remote Git repository 17:41:00 2f39f015ded8: Download complete 17:41:00 5eb5b503b376: Pull complete 17:40:59 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:40:59 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:40:59 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:40:59 > git --version # timeout=10 17:40:59 > git --version # 'git version 2.25.1' 17:40:59 using GIT_SSH to set credentials SSH Credentials for GitHub 17:40:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:00 5c69ac0246d0: Pull complete 17:41:00 ec43610c2a17: Pull complete 17:41:01 3a2ae6a8a46f: Pull complete 17:41:01 33b1e0a273af: Pull complete 17:41:01 5d3b04190fa2: Pull complete 17:41:02 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:41:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:04 Merging remotes/origin/main commit 9c4f5b3d632a15b72762060f59c66cf16383077e into PR head commit 93cfb85d734a0e750f005937e3bcc351f44eeb17 17:41:03 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:41:03 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:41:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:41:04 > git config core.sparsecheckout # timeout=10 17:41:04 > git checkout -f 93cfb85d734a0e750f005937e3bcc351f44eeb17 # timeout=10 17:41:04 > git remote # timeout=10 17:41:04 Merge succeeded, producing 93cfb85d734a0e750f005937e3bcc351f44eeb17 17:41:04 Checking out Revision 93cfb85d734a0e750f005937e3bcc351f44eeb17 (PR-321) 17:41:05 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 17:41:05 > git --version # timeout=10 17:41:05 > git --version # 'git version 2.25.1' 17:41:05 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:41:05 2f39f015ded8: Pull complete 17:41:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:41:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:41:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 17:41:05 17:41:05 GitHub has been notified of this commit’s build result 17:41:05 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:04 > git config --get remote.origin.url # timeout=10 17:41:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:04 > git merge 9c4f5b3d632a15b72762060f59c66cf16383077e # timeout=10 17:41:04 > git rev-parse HEAD^{commit} # timeout=10 17:41:04 > git config core.sparsecheckout # timeout=10 17:41:04 > git checkout -f 93cfb85d734a0e750f005937e3bcc351f44eeb17 # timeout=10 17:41:05 prd-ubuntu20.04-docker-8c-8g-27913 does not seem to be running inside a container 17:41:05 $ 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-321 -v /w/workspace/foundry_device-usb-camera_PR-321:/w/workspace/foundry_device-usb-camera_PR-321:rw,z -v /w/workspace/foundry_device-usb-camera_PR-321@tmp:/w/workspace/foundry_device-usb-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:41:20 $ docker top d1214fd96fee5d864b0eeb8dc8569a8a6219f00437027056e9c9fa2e8f3dd72e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 17:41:20 ---> job-cost.sh 17:41:20 lf-activate-venv: SKIPPING 17:41:20 INFO: No Stack... [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:21 INFO: Retrieving Pricing Info for: v3-standard-8 17:41:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:41:21 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:21 Dload Upload Total Spent Left Speed 17:41:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 72885 0 --:--:-- --:--:-- --:--:-- 72885 [Pipeline] sh 17:41:21 INFO: Archiving Costs [Pipeline] sh 17:41:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:41:21 + cat /w/workspace/foundry_device-usb-camera_PR-321/archives/cost.csv 17:41:21 + cut -d, -f6 [Pipeline] lock 17:41:22 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-321-1-stack-cost] 17:41:22 Resource [jenkins-edgexfoundry-device-usb-camera-PR-321-1-stack-cost] did not exist. Created. 17:41:22 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-321-1-stack-cost] [Pipeline] { [Pipeline] unstash 17:41:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:41:22 + sudo tee /etc/docker/daemon.new 17:41:22 { 17:41:22 "registry-mirrors": [ 17:41:22 "https://nexus3.edgexfoundry.org:10001" 17:41:22 ], 17:41:22 "bip": "10.250.0.254/24", 17:41:22 "hosts": [ 17:41:22 "tcp://0.0.0.0:5555", 17:41:22 "unix:///var/run/docker.sock" 17:41:22 ], 17:41:22 "mtu": 1458, 17:41:22 "selinux-enabled": true, 17:41:22 "seccomp-profile": "/etc/docker/seccomp.json" 17:41:22 } [Pipeline] sh [Pipeline] sh 17:41:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:41:22 + echo total: 0.2199999988079071 [Pipeline] stash 17:41:22 Stashed 1 file(s) [Pipeline] } 17:41:22 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-321-1-stack-cost] 17:41:22 + sudo service docker restart [Pipeline] // lock [Pipeline] } 17:41:23 $ docker stop --time=1 d1214fd96fee5d864b0eeb8dc8569a8a6219f00437027056e9c9fa2e8f3dd72e 17:41:24 $ docker rm -f --volumes d1214fd96fee5d864b0eeb8dc8569a8a6219f00437027056e9c9fa2e8f3dd72e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:41 provisioning config files... 17:41:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config12792266563796695387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:41 ---> ****-login.sh 17:41:41 nexus3.edgexfoundry.org:10001 17:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:42 Configure a credential helper to remove this warning. See 17:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:42 17:41:42 Login Succeeded 17:41:42 nexus3.edgexfoundry.org:10002 17:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:42 Configure a credential helper to remove this warning. See 17:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:42 17:41:42 Login Succeeded 17:41:42 nexus3.edgexfoundry.org:10003 17:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:42 Configure a credential helper to remove this warning. See 17:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:42 17:41:42 Login Succeeded 17:41:42 nexus3.edgexfoundry.org:10004 17:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:43 Configure a credential helper to remove this warning. See 17:41:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:43 17:41:43 Login Succeeded 17:41:43 ****.io 17:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:41:43 Configure a credential helper to remove this warning. See 17:41:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:41:43 17:41:43 Login Succeeded 17:41:43 ---> ****-login.sh ends [Pipeline] } 17:41:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:41:44 ========================================================= 17:41:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:41:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:41:47 #0 building with "default" instance using docker driver 17:41:47 17:41:47 #1 [internal] load build definition from Dockerfile 17:41:47 #1 transferring dockerfile: 2.60kB 0.0s done 17:41:47 #1 DONE 0.1s 17:41:47 17:41:47 #2 [internal] load .dockerignore 17:41:47 #2 transferring context: 2B done 17:41:47 #2 DONE 0.1s 17:41:47 17:41:47 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:41:47 #3 DONE 0.1s 17:41:47 17:41:47 #4 [builder 1/8] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 17:41:47 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 17:41:47 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.15MB / 3.33MB 0.2s 17:41:47 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 17:41:47 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 17:41:47 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 17:41:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.19MB / 63.99MB 0.2s 17:41:47 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 17:41:47 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 17:41:47 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 17:41:47 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 17:41:47 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 17:41:47 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 17:41:47 #4 ... 17:41:47 17:41:47 #5 [internal] load build context 17:41:47 #5 transferring context: 7.17MB 0.4s done 17:41:47 #5 DONE 0.5s 17:41:47 17:41:47 #4 [builder 1/8] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 17:41:47 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.97MB / 63.99MB 0.4s 17:41:47 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 17:41:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.6s 17:41:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.6s 17:41:48 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s 17:41:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.7s 17:41:48 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 17:41:48 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 17:41:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.21MB / 63.99MB 0.8s 17:41:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.37MB / 97.63MB 0.8s 17:41:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.0s 17:41:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 29.36MB / 97.63MB 1.0s 17:41:48 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 17:41:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.1s 17:41:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 34.99MB / 97.63MB 1.1s 17:41:48 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 17:41:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.38MB / 63.99MB 1.3s 17:41:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 45.36MB / 97.63MB 1.3s 17:41:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.4s 17:41:48 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.87MB / 63.99MB 1.5s 17:41:48 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.53MB / 97.63MB 1.5s 17:41:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 17:41:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 66.06MB / 97.63MB 1.7s 17:41:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.30MB / 97.63MB 1.8s 17:41:49 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17:41:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.01MB / 97.63MB 1.9s 17:41:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 2.0s 17:41:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 93.69MB / 97.63MB 2.2s 17:41:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done 17:41:55 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 17:42:00 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.1s 17:42:07 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.3s done 17:42:08 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 17:42:08 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 17:42:08 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 17:42:08 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17:42:13 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 17:42:16 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 17:42:16 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 17:42:18 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 17:42:18 #4 DONE 31.4s 17:42:18 17:42:18 #6 [builder 2/8] RUN apk add --no-cache make git gcc libc-dev curl v4l-utils-dev v4l-utils v4l-utils-libs linux-headers 17:42:19 #6 0.652 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:42:19 #6 1.031 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:42:20 #6 1.976 (1/13) Installing libintl (0.21.1-r7) 17:42:20 #6 1.983 (2/13) Installing eudev-libs (3.2.11-r8) 17:42:20 #6 1.992 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:42:20 #6 2.016 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:42:20 #6 2.037 (5/13) Installing v4l-utils (1.24.1-r0) 17:42:21 #6 2.183 (6/13) Installing libdvbv5 (1.24.1-r0) 17:42:21 #6 2.296 (7/13) Installing udev-init-scripts (35-r1) 17:42:21 #6 2.300 (8/13) Installing libblkid (2.38.1-r8) 17:42:21 #6 2.313 (9/13) Installing xz-libs (5.4.3-r0) 17:42:21 #6 2.324 (10/13) Installing kmod-libs (30-r3) 17:42:21 #6 2.334 (11/13) Installing eudev (3.2.11-r8) 17:42:21 #6 2.381 (12/13) Installing eudev-dev (3.2.11-r8) 17:42:21 #6 2.395 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:42:21 #6 2.540 Executing busybox-1.36.1-r5.trigger 17:42:21 #6 2.565 Executing eudev-3.2.11-r8.trigger 17:42:21 #6 2.583 OK: 273 MiB in 65 packages 17:42:23 #6 DONE 4.3s 17:42:23 17:42:23 #7 [builder 3/8] WORKDIR /device-usb-camera 17:42:23 #7 DONE 0.1s 17:42:23 17:42:23 #8 [builder 4/8] COPY go.mod vendor* ./ 17:42:23 #8 DONE 0.1s 17:42:23 17:42:23 #9 [builder 5/8] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:41 #9 DONE 16.6s 17:42:41 17:42:41 #10 [builder 6/8] COPY . . 17:42:41 #10 DONE 0.4s 17:42:41 17:42:41 #11 [builder 7/8] RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:42:41 #11 0.613 % Total % Received % Xferd Average Speed Time Time Time Current 17:42:41 #11 0.613 Dload Upload Total Spent Left Speed 17:42:41 #11 0.613 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 9781 0 --:--:-- --:--:-- --:--:-- 9789 17:42:43 #11 DONE 3.2s 17:42:43 17:42:43 #12 [builder 8/8] RUN echo noop 17:42:44 #12 0.742 noop 17:42:44 #12 DONE 0.8s 17:42:44 17:42:44 #13 exporting to image 17:42:44 #13 exporting layers 17:43:02 #13 exporting layers 17.1s done 17:43:02 #13 writing image sha256:0ff2102bde28f139bfc800dd8dd8764f7cc1b3a3c604c0d0916c897b0dd9df61 done 17:43:02 #13 naming to docker.io/library/ci-base-image-arm64 done 17:43:02 #13 DONE 17.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:03 + docker inspect -f . ci-base-image-arm64 17:43:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:03 prd-ubuntu20.04-docker-arm64-4c-16g-27914 does not seem to be running inside a container 17:43:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:43:04 $ docker top 4c5306c8e254e9d2579d43922688e55835007fcf261e9ba9180e25f060bc69f9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:05 + go version 17:43:05 go version go1.21.0 linux/arm64 [Pipeline] } 17:43:05 $ docker stop --time=1 4c5306c8e254e9d2579d43922688e55835007fcf261e9ba9180e25f060bc69f9 17:43:07 $ docker rm -f --volumes 4c5306c8e254e9d2579d43922688e55835007fcf261e9ba9180e25f060bc69f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:08 + docker inspect -f . ci-base-image-arm64 17:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:08 prd-ubuntu20.04-docker-arm64-4c-16g-27914 does not seem to be running inside a container 17:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:43:13 $ docker top 907af4d3f9492fabf6b2118f4f8e5830fe02fd2c3579330c76494e2f7a528e1a -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:14 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:43:14 + make test 17:43:14 go test ./... -coverprofile=coverage.out ./... 17:43:17 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:44:14 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:44:18 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.072s coverage: 4.4% of statements 17:44:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:44:18 go vet ./... 17:44:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:44:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:44:33 ./bin/test-attribution-txt.sh 17:44:33 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 17:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:44:33 $ docker stop --time=1 907af4d3f9492fabf6b2118f4f8e5830fe02fd2c3579330c76494e2f7a528e1a 17:44:35 $ docker rm -f --volumes 907af4d3f9492fabf6b2118f4f8e5830fe02fd2c3579330c76494e2f7a528e1a [Pipeline] // withDockerContainer [Pipeline] sh 17:44:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:44:36 Warning: overwriting stash ‘coverage-report’ 17:44:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:44:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:44:38 + ls -al . 17:44:38 total 220 17:44:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 17:43 . 17:44:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 17:40 .. 17:44:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 17:41 .git 17:44:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 17:41 .github 17:44:38 -rw-rw-r-- 1 jenkins jenkins 429 Jan 25 17:41 .gitignore 17:44:38 -rw-rw-r-- 1 jenkins jenkins 45 Jan 25 17:41 .golangci.yml 17:44:38 -rw-rw-r-- 1 jenkins jenkins 77 Jan 25 17:41 .hadolint.yml 17:44:38 -rw-rw-r-- 1 jenkins jenkins 10851 Jan 25 17:41 Attribution.txt 17:44:38 -rw-rw-r-- 1 jenkins jenkins 16561 Jan 25 17:41 CHANGELOG.md 17:44:38 -rw-rw-r-- 1 jenkins jenkins 2562 Jan 25 17:41 Dockerfile 17:44:38 -rw-rw-r-- 1 jenkins jenkins 678 Jan 25 17:41 GOVERNANCE.md 17:44:38 -rw-rw-r-- 1 jenkins jenkins 659 Jan 25 17:41 Jenkinsfile 17:44:38 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 25 17:41 LICENSE 17:44:38 -rw-rw-r-- 1 jenkins jenkins 2611 Jan 25 17:41 Makefile 17:44:38 -rw-rw-r-- 1 jenkins jenkins 622 Jan 25 17:41 OWNERS.md 17:44:38 -rw-rw-r-- 1 jenkins jenkins 2575 Jan 25 17:41 README.md 17:44:38 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 17:38 VERSION 17:44:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 17:41 bin 17:44:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 17:41 cmd 17:44:38 -rw-r--r-- 1 jenkins jenkins 54703 Jan 25 17:44 coverage.out 17:44:38 -rwxrwxr-x 1 jenkins jenkins 84 Jan 25 17:41 docker-entrypoint.sh 17:44:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 17:41 docs 17:44:38 -rw-rw-r-- 1 jenkins jenkins 3968 Jan 25 17:41 go.mod 17:44:38 -rw-rw-r-- 1 jenkins jenkins 34433 Jan 25 17:41 go.sum 17:44:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 17:41 internal 17:44:38 -rw-rw-r-- 1 jenkins jenkins 231 Jan 25 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:39 + 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=93cfb85d734a0e750f005937e3bcc351f44eeb17 --label arch=arm64 --label version=0.0.0 . 17:44:43 #0 building with "default" instance using docker driver 17:44:43 17:44:43 #1 [internal] load .dockerignore 17:44:43 #1 transferring context: 2B done 17:44:43 #1 DONE 0.0s 17:44:43 17:44:43 #2 [internal] load build definition from Dockerfile 17:44:43 #2 transferring dockerfile: 2.60kB 0.0s done 17:44:43 #2 DONE 0.0s 17:44:43 17:44:43 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 17:44:43 #3 DONE 0.0s 17:44:43 17:44:43 #4 [internal] load metadata for docker.io/aler9/rtsp-simple-server:v0.21.6 17:44:43 #4 ... 17:44:43 17:44:43 #5 [internal] load metadata for docker.io/library/alpine:3.18 17:44:43 #5 DONE 0.4s 17:44:43 17:44:43 #4 [internal] load metadata for docker.io/aler9/rtsp-simple-server:v0.21.6 17:44:45 #4 DONE 2.1s 17:44:45 17:44:45 #6 [stage-2 1/15] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 17:44:45 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 17:44:45 #6 ... 17:44:45 17:44:45 #7 [internal] load build context 17:44:45 #7 transferring context: 67.91kB 0.1s done 17:44:45 #7 DONE 0.1s 17:44:45 17:44:45 #6 [stage-2 1/15] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 17:44:45 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 17:44:45 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 17:44:45 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 17:44:45 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 17:44:45 #6 ... 17:44:45 17:44:45 #8 [builder 1/8] FROM docker.io/library/ci-base-image-arm64 17:44:45 #8 DONE 0.3s 17:44:45 17:44:45 #6 [stage-2 1/15] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 17:44:45 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 17:44:45 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 17:44:45 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 17:44:46 #6 DONE 1.0s 17:44:46 17:44:46 #9 [rtsp 1/1] FROM docker.io/aler9/rtsp-simple-server:v0.21.6@sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:44:46 #9 resolve docker.io/aler9/rtsp-simple-server:v0.21.6@sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 0.1s done 17:44:46 #9 sha256:c6c903e0c75010f46daaafa3063537c842bc5e7faf314617d8bb5909ded2d42e 503B / 503B done 17:44:46 #9 sha256:69d40e2cb93c32baedae51f78e6833a57a406715d9e722942064dba91642b7dc 879B / 879B done 17:44:46 #9 sha256:8766b47fe142340a2646593d6db251e118460a952a57702e0b9745ad7afd09dc 12.46MB / 12.46MB 0.8s 17:44:46 #9 sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 1.41kB / 1.41kB done 17:44:46 #9 extracting sha256:8766b47fe142340a2646593d6db251e118460a952a57702e0b9745ad7afd09dc 17:44:47 #9 extracting sha256:8766b47fe142340a2646593d6db251e118460a952a57702e0b9745ad7afd09dc 0.7s done 17:44:47 #9 DONE 1.7s 17:44:47 17:44:47 #10 [builder 2/8] RUN apk add --no-cache make git gcc libc-dev curl v4l-utils-dev v4l-utils v4l-utils-libs linux-headers 17:44:47 #10 0.753 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:44:47 #10 1.207 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:44:47 #10 2.273 OK: 273 MiB in 65 packages 17:44:47 #10 DONE 2.5s 17:44:47 17:44:47 #11 [stage-2 2/15] RUN apk add --update --no-cache dumb-init ffmpeg udev 17:44:47 #11 0.757 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:44:47 #11 1.089 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:44:47 #11 ... 17:44:47 17:44:47 #12 [builder 3/8] WORKDIR /device-usb-camera 17:44:47 #12 DONE 0.1s 17:44:48 17:44:48 #13 [builder 4/8] COPY go.mod vendor* ./ 17:44:48 #13 DONE 0.2s 17:44:48 17:44:48 #14 [builder 5/8] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:44:49 #14 DONE 1.2s 17:44:49 17:44:49 #11 [stage-2 2/15] RUN apk add --update --no-cache dumb-init ffmpeg udev 17:44:49 #11 2.167 (1/104) Installing dumb-init (1.2.5-r2) 17:44:49 #11 2.177 (2/104) Installing sdl2 (2.26.5-r0) 17:44:49 #11 2.221 (3/104) Installing svt-av1-libs (1.6.0-r0) 17:44:49 #11 2.330 (4/104) Installing aom-libs (3.6.1-r0) 17:44:49 #11 2.455 (5/104) Installing libxau (1.0.11-r2) 17:44:49 #11 2.461 (6/104) Installing libmd (1.0.4-r2) 17:44:49 #11 2.467 (7/104) Installing libbsd (0.11.7-r1) 17:44:49 #11 2.474 (8/104) Installing libxdmcp (1.1.4-r2) 17:44:49 #11 2.480 (9/104) Installing libxcb (1.15-r1) 17:44:49 #11 2.530 (10/104) Installing libx11 (1.8.7-r0) 17:44:49 #11 2.673 (11/104) Installing libdrm (2.4.115-r4) 17:44:49 #11 2.696 (12/104) Installing libxext (1.3.5-r2) 17:44:49 #11 2.704 (13/104) Installing libxfixes (6.0.1-r2) 17:44:49 #11 2.709 (14/104) Installing libffi (3.4.4-r2) 17:44:49 #11 2.718 (15/104) Installing wayland-libs-client (1.22.0-r2) 17:44:49 #11 2.724 (16/104) Installing libva (2.18.0-r1) 17:44:49 #11 2.739 (17/104) Installing libvdpau (1.5-r1) 17:44:49 #11 2.747 (18/104) Installing ffmpeg-libavutil (6.0.1-r0) 17:44:49 #11 2.775 (19/104) Installing libdav1d (1.2.1-r0) 17:44:49 #11 2.801 (20/104) Installing brotli-libs (1.0.9-r14) 17:44:49 #11 2.827 (21/104) Installing libgcc (12.2.1_git20220924-r10) 17:44:49 #11 2.835 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 17:44:49 #11 2.887 (23/104) Installing libhwy (1.0.4-r1) 17:44:49 #11 2.893 (24/104) Installing lcms2 (2.15-r2) 17:44:49 #11 2.907 (25/104) Installing libjxl (0.8.2-r0) 17:44:49 #11 2.951 (26/104) Installing lame-libs (3.100-r5) 17:44:49 #11 2.968 (27/104) Installing opus (1.4-r0) 17:44:49 #11 2.986 (28/104) Installing libgomp (12.2.1_git20220924-r10) 17:44:49 #11 3.000 (29/104) Installing soxr (0.1.3-r5) 17:44:49 #11 3.015 (30/104) Installing ffmpeg-libswresample (6.0.1-r0) 17:44:49 #11 3.024 (31/104) Installing libogg (1.3.5-r4) 17:44:49 #11 3.031 (32/104) Installing libtheora (1.1.1-r17) 17:44:49 #11 3.054 (33/104) Installing libvorbis (1.3.7-r1) 17:44:49 #11 3.078 (34/104) Installing libvpx (1.13.0-r2) 17:44:49 #11 3.146 (35/104) Installing libwebp (1.3.2-r0) 17:44:49 #11 3.173 (36/104) Installing x264-libs (0.164_git20220602-r1) 17:44:49 #11 3.244 (37/104) Installing numactl (2.0.16-r4) 17:44:49 #11 3.257 (38/104) Installing x265-libs (3.5-r4) 17:44:49 #11 3.408 (39/104) Installing xvidcore (1.3.7-r1) 17:44:49 #11 3.423 (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) 17:44:49 #11 ... 17:44:49 17:44:49 #15 [builder 6/8] COPY . . 17:44:49 #15 DONE 0.5s 17:44:49 17:44:49 #11 [stage-2 2/15] RUN apk add --update --no-cache dumb-init ffmpeg udev 17:44:49 #11 3.755 (41/104) Installing alsa-lib (1.2.9-r1) 17:44:49 #11 3.837 (42/104) Installing libexpat (2.5.0-r1) 17:44:49 #11 3.847 (43/104) Installing libbz2 (1.0.8-r5) 17:44:49 #11 3.857 (44/104) Installing libpng (1.6.39-r3) 17:44:50 #11 3.869 (45/104) Installing freetype (2.13.0-r5) 17:44:50 #11 3.897 (46/104) Installing fontconfig (2.14.2-r3) 17:44:50 #11 3.962 (47/104) Installing fribidi (1.0.13-r0) 17:44:50 #11 3.971 (48/104) Installing libintl (0.21.1-r7) 17:44:50 #11 3.979 (49/104) Installing libblkid (2.38.1-r8) 17:44:50 #11 3.992 (50/104) Installing libmount (2.38.1-r8) 17:44:50 #11 4.006 (51/104) Installing pcre2 (10.42-r1) 17:44:50 #11 4.028 (52/104) Installing glib (2.76.4-r0) 17:44:50 #11 4.127 (53/104) Installing graphite2 (1.3.14-r5) 17:44:50 #11 4.137 (54/104) Installing harfbuzz (7.3.0-r0) 17:44:50 #11 4.169 (55/104) Installing libunibreak (5.1-r0) 17:44:50 #11 4.177 (56/104) Installing libass (0.17.1-r0) 17:44:50 #11 4.186 (57/104) Installing libbluray (1.3.4-r0) 17:44:50 #11 4.203 (58/104) Installing gmp (6.2.1-r3) 17:44:50 #11 4.222 (59/104) Installing nettle (3.8.1-r2) 17:44:50 #11 4.243 (60/104) Installing libunistring (1.1-r1) 17:44:50 #11 4.281 (61/104) Installing libidn2 (2.3.4-r1) 17:44:50 #11 4.298 (62/104) Installing p11-kit (0.24.1-r2) 17:44:50 #11 4.326 (63/104) Installing libtasn1 (4.19.0-r1) 17:44:50 #11 4.333 (64/104) Installing gnutls (3.8.3-r0) 17:44:50 #11 4.383 (65/104) Installing mpg123-libs (1.31.3-r1) 17:44:50 #11 4.406 (66/104) Installing libopenmpt (0.7.2-r0) 17:44:50 #11 4.456 (67/104) Installing cjson (1.7.17-r0) 17:44:50 #11 4.463 (68/104) Installing mbedtls (2.28.5-r0) 17:44:50 #11 4.489 (69/104) Installing librist (0.2.7-r0) 17:44:50 #11 4.500 (70/104) Installing libsrt (1.5.2-r0) 17:44:50 #11 4.527 (71/104) Installing libssh (0.10.5-r0) 17:44:50 #11 4.543 (72/104) Installing xz-libs (5.4.3-r0) 17:44:50 #11 4.555 (73/104) Installing libxml2 (2.11.6-r0) 17:44:50 #11 4.587 (74/104) Installing libsodium (1.0.18-r3) 17:44:50 #11 4.600 (75/104) Installing libzmq (4.3.4-r4) 17:44:50 #11 4.623 (76/104) Installing ffmpeg-libavformat (6.0.1-r0) 17:44:50 #11 4.699 (77/104) Installing glslang-libs (1.3.243.0-r1) 17:44:50 #11 ... 17:44:50 17:44:50 #16 [builder 7/8] RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:44:50 #16 0.701 % Total % Received % Xferd Average Speed Time Time Time Current 17:44:50 #16 0.703 Dload Upload Total Spent Left Speed 17:44:50 #16 0.703 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 6076 0 --:--:-- --:--:-- --:--:-- 6112 17:44:50 #16 DONE 1.1s 17:44:50 17:44:50 #11 [stage-2 2/15] RUN apk add --update --no-cache dumb-init ffmpeg udev 17:44:50 #11 4.808 (78/104) Installing spirv-tools (1.3.243.0-r1) 17:44:50 #11 4.923 (79/104) Installing shaderc (2023.3-r1) 17:44:51 #11 4.935 (80/104) Installing vulkan-loader (1.3.243.0-r1) 17:44:51 #11 4.957 (81/104) Installing libplacebo (5.264.1-r1) 17:44:51 #11 4.989 (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) 17:44:51 #11 4.996 (83/104) Installing ffmpeg-libswscale (6.0.1-r0) 17:44:51 #11 5.016 (84/104) Installing vidstab (1.1.1-r0) 17:44:51 #11 5.021 (85/104) Installing zimg (3.0.5-r0) 17:44:51 #11 5.034 (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) 17:44:51 #11 5.141 (87/104) Installing libasyncns (0.8-r1) 17:44:51 #11 5.149 (88/104) Installing dbus-libs (1.14.8-r0) 17:44:51 #11 5.162 (89/104) Installing libltdl (2.4.7-r2) 17:44:51 #11 5.169 (90/104) Installing orc (0.4.34-r0) 17:44:51 #11 5.187 (91/104) Installing flac-libs (1.4.3-r0) 17:44:51 #11 5.204 (92/104) Installing libsndfile (1.2.0-r2) 17:44:51 #11 5.241 (93/104) Installing speexdsp (1.2.1-r1) 17:44:51 #11 5.245 (94/104) Installing tdb-libs (1.4.8-r1) 17:44:51 #11 5.254 (95/104) Installing libpulse (16.1-r10) 17:44:51 #11 5.294 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 17:44:51 #11 5.321 (97/104) Installing v4l-utils-libs (1.24.1-r0) 17:44:51 #11 5.344 (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) 17:44:51 #11 5.354 (99/104) Installing ffmpeg (6.0.1-r0) 17:44:51 #11 5.379 (100/104) Installing udev-init-scripts (35-r1) 17:44:51 #11 5.383 (101/104) Installing eudev-libs (3.2.11-r8) 17:44:51 #11 5.391 (102/104) Installing zstd-libs (1.5.5-r4) 17:44:51 #11 5.414 (103/104) Installing kmod-libs (30-r3) 17:44:51 #11 5.422 (104/104) Installing eudev (3.2.11-r8) 17:44:51 #11 5.471 Executing busybox-1.36.1-r5.trigger 17:44:51 #11 5.497 Executing glib-2.76.4-r0.trigger 17:44:51 #11 5.512 Executing eudev-3.2.11-r8.trigger 17:44:51 #11 5.528 OK: 110 MiB in 119 packages 17:44:52 #11 DONE 5.9s 17:44:52 17:44:52 #17 [stage-2 3/15] RUN apk --no-cache upgrade 17:44:53 #17 0.937 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:44:53 #17 1.312 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:44:54 #17 2.364 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 17:44:54 #17 2.478 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 17:44:54 #17 2.504 OK: 110 MiB in 119 packages 17:44:57 #17 DONE 4.7s 17:44:57 17:44:57 #18 [builder 8/8] RUN make build 17:44:57 #18 0.786 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:46:18 #18 DONE 80.1s 17:46:18 17:46:18 #19 [stage-2 4/15] COPY --from=builder /device-usb-camera/cmd / 17:46:18 #19 DONE 0.3s 17:46:18 17:46:18 #20 [stage-2 5/15] COPY --from=builder /device-usb-camera/LICENSE / 17:46:18 #20 DONE 0.1s 17:46:18 17:46:18 #21 [stage-2 6/15] COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:46:18 #21 DONE 0.1s 17:46:18 17:46:18 #22 [stage-2 7/15] COPY --from=builder /device-usb-camera/Attribution.txt / 17:46:18 #22 DONE 0.1s 17:46:18 17:46:18 #23 [stage-2 8/15] COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:46:18 #23 DONE 0.1s 17:46:18 17:46:18 #24 [stage-2 9/15] COPY --from=rtsp /rtsp-simple-server.yml / 17:46:18 #24 DONE 0.1s 17:46:18 17:46:18 #25 [stage-2 10/15] COPY --from=rtsp /rtsp-simple-server / 17:46:18 #25 DONE 0.3s 17:46:18 17:46:18 #26 [stage-2 11/15] RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:46:18 #26 DONE 0.7s 17:46:18 17:46:18 #27 [stage-2 12/15] RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:46:18 #27 DONE 0.8s 17:46:18 17:46:18 #28 [stage-2 13/15] RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:46:18 #28 DONE 0.8s 17:46:18 17:46:18 #29 [stage-2 14/15] RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:46:18 #29 DONE 0.8s 17:46:18 17:46:18 #30 exporting to image 17:46:18 #30 exporting layers 17:46:18 #30 exporting layers 2.0s done 17:46:18 #30 writing image sha256:7b6f61ca7700c2f6e69731fd238a386ed0d482bc3bf06ce8a660077ddc69b649 done 17:46:18 #30 naming to docker.io/library/device-usb-camera-arm64 done 17:46:18 #30 DONE 2.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:20 17:46:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:20 arm64: Pulling from edgex-lftools-log-publisher 17:46:20 8998bd30e6a1: Pulling fs layer 17:46:20 04944245beec: Pulling fs layer 17:46:20 699f458cf7ca: Pulling fs layer 17:46:20 765212b225bb: Pulling fs layer 17:46:20 f23df028b6ca: Pulling fs layer 17:46:20 d65c8cfc05b1: Pulling fs layer 17:46:20 2437ff75d9bd: Pulling fs layer 17:46:20 765212b225bb: Waiting 17:46:20 d65c8cfc05b1: Waiting 17:46:20 2437ff75d9bd: Waiting 17:46:20 f23df028b6ca: Waiting 17:46:20 04944245beec: Verifying Checksum 17:46:20 04944245beec: Download complete 17:46:20 765212b225bb: Download complete 17:46:20 f23df028b6ca: Verifying Checksum 17:46:20 f23df028b6ca: Download complete 17:46:20 d65c8cfc05b1: Download complete 17:46:21 699f458cf7ca: Verifying Checksum 17:46:21 699f458cf7ca: Download complete 17:46:21 8998bd30e6a1: Verifying Checksum 17:46:21 8998bd30e6a1: Download complete 17:46:23 2437ff75d9bd: Download complete 17:46:31 8998bd30e6a1: Pull complete 17:46:31 04944245beec: Pull complete 17:46:33 699f458cf7ca: Pull complete 17:46:33 765212b225bb: Pull complete 17:46:34 f23df028b6ca: Pull complete 17:46:34 d65c8cfc05b1: Pull complete 17:47:01 2437ff75d9bd: Pull complete 17:47:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:47:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:47:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:01 prd-ubuntu20.04-docker-arm64-4c-16g-27914 does not seem to be running inside a container 17:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:47:04 $ docker top 06a80cf562b9bf96e780f6cbfdedc728ea9bc90ce00c87478bbe85488b1d1991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:04 ---> job-cost.sh 17:47:04 lf-activate-venv: SKIPPING 17:47:04 INFO: No Stack... 17:47:05 INFO: Retrieving Pricing Info for: v3-standard-8 17:47:06 INFO: Archiving Costs [Pipeline] sh 17:47:06 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 17:47:06 + cut -d, -f6 [Pipeline] lock 17:47:06 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-321-1-stack-cost] 17:47:06 Resource [jenkins-edgexfoundry-device-usb-camera-PR-321-1-stack-cost] did not exist. Created. 17:47:06 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-321-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:47:07 /w/workspace/device-usb-camera/1@tmp/durable-8acd4cb1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:47:07 + echo total: 0.2199999988079071 [Pipeline] stash 17:47:07 Warning: overwriting stash ‘stack-cost’ 17:47:07 Stashed 1 file(s) [Pipeline] } 17:47:07 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-321-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:47:07 $ docker stop --time=1 06a80cf562b9bf96e780f6cbfdedc728ea9bc90ce00c87478bbe85488b1d1991 17:47:12 $ docker rm -f --volumes 06a80cf562b9bf96e780f6cbfdedc728ea9bc90ce00c87478bbe85488b1d1991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:47:14 provisioning config files... 17:47:14 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-321@tmp/config16353139033132096668tmp [Pipeline] { [Pipeline] sh 17:47:14 + set +x 17:47:14 + curl -s https://codecov.io/bash 17:47:14 + bash -s -- 17:47:14 17:47:14 _____ _ 17:47:14 / ____| | | 17:47:14 | | ___ __| | ___ ___ _____ __ 17:47:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:47:14 | |___| (_) | (_| | __/ (_| (_) \ V / 17:47:14 \_____\___/ \__,_|\___|\___\___/ \_/ 17:47:14 Bash-1.0.6 17:47:14 17:47:14 17:47:14 ==> git version 2.25.1 found 17:47:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:47:14 Release-Date: 2020-01-08 17:47:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:47:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:47:14 ==> Jenkins CI detected. 17:47:14 current dir:  /w/workspace/foundry_device-usb-camera_PR-321 17:47:14 project root: . 17:47:14 --> token set from env 17:47:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:47:14 ==> Running gcov in . (disable via -X gcov) 17:47:14 ==> Python coveragepy not found 17:47:14 ==> Searching for coverage reports in: 17:47:14 + . 17:47:15 -> Found 1 reports 17:47:15 ==> Detecting git/mercurial file structure 17:47:15 ==> Reading reports 17:47:15 + ./coverage.out bytes=54703 17:47:15 ==> Appending adjustments 17:47:15 https://docs.codecov.io/docs/fixing-reports 17:47:15 + Found adjustments 17:47:15 ==> Gzipping contents 17:47:15 8.0K /tmp/codecov.ekFRZo.gz 17:47:15 ==> Uploading reports 17:47:15 url: https://codecov.io 17:47:15 query: branch=PR-321&commit=93cfb85d734a0e750f005937e3bcc351f44eeb17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-321%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=321&job=&cmd_args= 17:47:15 -> Pinging Codecov 17:47:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-321&commit=93cfb85d734a0e750f005937e3bcc351f44eeb17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-321%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=321&job=&cmd_args= 17:47:15 -> Uploading to 17:47:15 https://storage.googleapis.com/codecov/v4/raw/2024-01-25/73D8F5FF140700D3E01443B452E23636/93cfb85d734a0e750f005937e3bcc351f44eeb17/3672e5d6-188f-4aa6-a608-3445ad185d80.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240125T174715Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d8337d12ae29797044558016bda52835d6402e2e67264a4568bc5d58442793f 17:47:15 % Total % Received % Xferd Average Speed Time Time Time Current 17:47:15 Dload Upload Total Spent Left Speed 17:47:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 27775 --:--:-- --:--:-- --:--:-- 27775 17:47:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/93cfb85d734a0e750f005937e3bcc351f44eeb17 [Pipeline] } 17:47:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:47:18 + [ -d /w/workspace/foundry_device-usb-camera_PR-321/archives ] 17:47:18 + ls -al /w/workspace/foundry_device-usb-camera_PR-321/archives 17:47:18 total 16 17:47:18 drwxr-xr-x 3 root root 4096 Jan 25 17:41 . 17:47:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 17:41 .. 17:47:18 drwxr-xr-x 2 root root 4096 Jan 25 17:41 cost 17:47:18 -rw-r--r-- 1 root root 89 Jan 25 17:41 cost.csv 17:47:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-321/archives 17:47:18 + ls -al /w/workspace/foundry_device-usb-camera_PR-321/archives 17:47:18 total 16 17:47:18 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 17:41 . 17:47:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 17:41 .. 17:47:18 drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 17:41 cost 17:47:18 -rw-r--r-- 1 jenkins jenkins 89 Jan 25 17:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:47:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:47:20 ---> package-listing.sh 17:47:20 ++ tr '[:upper:]' '[:lower:]' 17:47:20 ++ facter osfamily 17:47:20 + OS_FAMILY=debian 17:47:20 + workspace=/w/workspace/foundry_device-usb-camera_PR-321 17:47:20 + START_PACKAGES=/tmp/packages_start.txt 17:47:20 + END_PACKAGES=/tmp/packages_end.txt 17:47:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:47:20 + PACKAGES=/tmp/packages_start.txt 17:47:20 + '[' /w/workspace/foundry_device-usb-camera_PR-321 ']' 17:47:20 + PACKAGES=/tmp/packages_end.txt 17:47:20 + case "${OS_FAMILY}" in 17:47:20 + dpkg -l 17:47:20 + grep '^ii' 17:47:20 + '[' -f /tmp/packages_start.txt ']' 17:47:20 + '[' -f /tmp/packages_end.txt ']' 17:47:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:47:20 + '[' /w/workspace/foundry_device-usb-camera_PR-321 ']' 17:47:20 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-321/archives/ 17:47:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-321/archives/ [Pipeline] echo 17:47:20 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-321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:47:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:21 prd-ubuntu20.04-docker-8c-8g-27913 does not seem to be running inside a container 17:47:21 $ 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-321/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-321 -v /w/workspace/foundry_device-usb-camera_PR-321:/w/workspace/foundry_device-usb-camera_PR-321:rw,z -v /w/workspace/foundry_device-usb-camera_PR-321@tmp:/w/workspace/foundry_device-usb-camera_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:47:22 $ docker top 032512f7dd448bd8f9a3232d5a8cb68405e302195751c8735fac19a0342fc168 -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:22 + touch /tmp/pre-build-complete [Pipeline] sh 17:47:22 + mkdir -p /var/log/sysstat [Pipeline] sh 17:47:23 + ls /var/log/sa-host 17:47:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:23 provisioning config files... 17:47:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-321@tmp/config2815530203244585446tmp [Pipeline] { [Pipeline] echo 17:47:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:47:23 ---> create-netrc.sh [Pipeline] } 17:47:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:47:24 ---> python-tools-install.sh [Pipeline] echo 17:47:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:47:24 ---> sudo-logs.sh 17:47:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:47:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:47:25 ---> job-cost.sh 17:47:25 lf-activate-venv: SKIPPING 17:47:25 DEBUG: total: 0.2199999988079071 17:47:25 INFO: Retrieving Stack Cost... 17:47:25 INFO: Retrieving Pricing Info for: v3-standard-8 17:47:25 INFO: Archiving Costs [Pipeline] echo 17:47:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:47:26 ---> logs-deploy.sh 17:47:26 lf-activate-venv: SKIPPING 17:47:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-321/1 17:47:26 INFO: archiving workspace using pattern(s): 17:47:27 Archives upload complete. 17:47:27 INFO: archiving logs to Nexus