Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5 rather than f63520341f483c75324e41bcb5f7691e27f85c17 Obtained Jenkinsfile from c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5 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-ssh14307211930201069666.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5752695316604598923.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16611720780620962403.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh15833170834389041491.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6652918527442314631.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-7673 in /w/workspace/foundry_device-usb-camera_PR-295 [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-295 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5 into PR head commit f63520341f483c75324e41bcb5f7691e27f85c17 Merge succeeded, producing 9483610729bf1ae3750b3077e444393736db87cc Checking out Revision 9483610729bf1ae3750b3077e444393736db87cc (PR-295) > 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/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f63520341f483c75324e41bcb5f7691e27f85c17 # 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 c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9483610729bf1ae3750b3077e444393736db87cc # timeout=10 Commit message: "Merge commit 'c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5' into HEAD" > git rev-list --no-walk f63520341f483c75324e41bcb5f7691e27f85c17 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:14:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:14:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:14:29 ========================================================= 06:14:29 EdgeX Global Pipelines Version Info 06:14:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:14:30 ------------------- 06:14:30 stable info: 06:14:30 ------------------- 06:14:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:14:30 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 06:14:30 Message: update stable to v1.0.254 06:14:31 ------------------- 06:14:31 experimental info: 06:14:31 ------------------- 06:14:31 Commited By: **** collab-it+edgex@linuxfoundation.org 06:14:31 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 06:14:31 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-295 [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-295 [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-295 [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9483610729bf1ae3750b3077e444393736db87cc [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9483610 [Pipeline] echo 06:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:31 provisioning config files... 06:14:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-295@tmp/config18432828871607922706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:32 ---> docker-login.sh 06:14:32 nexus3.edgexfoundry.org:10001 06:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:32 Configure a credential helper to remove this warning. See 06:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:32 06:14:32 Login Succeeded 06:14:32 nexus3.edgexfoundry.org:10002 06:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:32 Configure a credential helper to remove this warning. See 06:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:32 06:14:32 Login Succeeded 06:14:32 nexus3.edgexfoundry.org:10003 06:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:32 Configure a credential helper to remove this warning. See 06:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:32 06:14:32 Login Succeeded 06:14:32 nexus3.edgexfoundry.org:10004 06:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:33 Configure a credential helper to remove this warning. See 06:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:33 06:14:33 Login Succeeded 06:14:33 docker.io 06:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:33 Configure a credential helper to remove this warning. See 06:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:33 06:14:33 Login Succeeded 06:14:33 ---> docker-login.sh ends [Pipeline] } 06:14:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:14:33 + git rev-list -1 --merges 9483610729bf1ae3750b3077e444393736db87cc~1..9483610729bf1ae3750b3077e444393736db87cc [Pipeline] echo 06:14:33 -----------> git rev-list -1 --merges 9483610729bf1ae3750b3077e444393736db87cc~1..9483610729bf1ae3750b3077e444393736db87cc 9483610729bf1ae3750b3077e444393736db87cc 06:14:33 9483610729bf1ae3750b3077e444393736db87cc [false] [Pipeline] sh 06:14:33 + git log --format=format:%s -1 9483610729bf1ae3750b3077e444393736db87cc [Pipeline] echo 06:14:33 ========================================================= 06:14:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:14:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:34 + git log --format=format:%s -1 9483610729bf1ae3750b3077e444393736db87cc [Pipeline] echo 06:14:34 [semverPrep] GIT_COMMIT: 9483610729bf1ae3750b3077e444393736db87cc, Commit Message: Merge commit 'c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5' into HEAD [Pipeline] echo 06:14:34 [semverPrep] This is not a build commit. [Pipeline] sh 06:14:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:34 + grep -v github /etc/ssh/ssh_known_hosts 06:14:34 + [ -e /tmp/ssh_known_hosts ] 06:14:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:14:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:14:34 + sudo tee -a /etc/ssh/ssh_known_hosts 06:14:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:35 06:14:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:35 0.1.4: Pulling from edgex-devops/py-git-semver 06:14:35 b85a868b505f: Pulling fs layer 06:14:35 e2be974225ed: Pulling fs layer 06:14:35 339a4e72a1f5: Pulling fs layer 06:14:35 988bab9f4d93: Pulling fs layer 06:14:35 1469e6f7b9e6: Pulling fs layer 06:14:35 988bab9f4d93: Waiting 06:14:35 eaf3925da568: Pulling fs layer 06:14:35 bab4dde63d76: Pulling fs layer 06:14:35 bde34c3a00c8: Pulling fs layer 06:14:35 bab4dde63d76: Waiting 06:14:35 b352a97aabf1: Pulling fs layer 06:14:35 bde34c3a00c8: Waiting 06:14:35 4872d77fe225: Pulling fs layer 06:14:35 b352a97aabf1: Waiting 06:14:35 5851b861e8e6: Pulling fs layer 06:14:35 4872d77fe225: Waiting 06:14:35 5851b861e8e6: Waiting 06:14:35 e2be974225ed: Download complete 06:14:35 988bab9f4d93: Verifying Checksum 06:14:35 988bab9f4d93: Download complete 06:14:35 1469e6f7b9e6: Verifying Checksum 06:14:35 1469e6f7b9e6: Download complete 06:14:35 339a4e72a1f5: Verifying Checksum 06:14:35 339a4e72a1f5: Download complete 06:14:35 eaf3925da568: Verifying Checksum 06:14:35 eaf3925da568: Download complete 06:14:35 bde34c3a00c8: Verifying Checksum 06:14:35 bde34c3a00c8: Download complete 06:14:35 b352a97aabf1: Verifying Checksum 06:14:35 b352a97aabf1: Download complete 06:14:35 4872d77fe225: Download complete 06:14:35 5851b861e8e6: Verifying Checksum 06:14:35 5851b861e8e6: Download complete 06:14:35 b85a868b505f: Verifying Checksum 06:14:35 b85a868b505f: Download complete 06:14:35 bab4dde63d76: Verifying Checksum 06:14:35 bab4dde63d76: Download complete 06:14:38 b85a868b505f: Pull complete 06:14:38 e2be974225ed: Pull complete 06:14:38 339a4e72a1f5: Pull complete 06:14:38 988bab9f4d93: Pull complete 06:14:39 1469e6f7b9e6: Pull complete 06:14:39 eaf3925da568: Pull complete 06:14:40 bab4dde63d76: Pull complete 06:14:40 bde34c3a00c8: Pull complete 06:14:40 b352a97aabf1: Pull complete 06:14:40 4872d77fe225: Pull complete 06:14:40 5851b861e8e6: Pull complete 06:14:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:14:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:41 prd-ubuntu20.04-docker-8c-8g-7673 does not seem to be running inside a container 06:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-295 -v /w/workspace/foundry_device-usb-camera_PR-295:/w/workspace/foundry_device-usb-camera_PR-295:rw,z -v /w/workspace/foundry_device-usb-camera_PR-295@tmp:/w/workspace/foundry_device-usb-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:59 $ docker top b9bf593cb004b36ebcef4aa74bb16954903cb0e6ad9c1e275ce0fb76a97326ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:01 [ssh-agent] Looking for ssh-agent implementation... 06:15:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:01 $ docker exec b9bf593cb004b36ebcef4aa74bb16954903cb0e6ad9c1e275ce0fb76a97326ed ssh-agent 06:15:01 SSH_AUTH_SOCK=/tmp/ssh-pdRgnUcK6i1B/agent.31 06:15:01 SSH_AGENT_PID=37 06:15:01 Running ssh-add (command line suppressed) 06:15:02 Identity added: /w/workspace/foundry_device-usb-camera_PR-295@tmp/private_key_6387364513210431249.key (/w/workspace/foundry_device-usb-camera_PR-295@tmp/private_key_6387364513210431249.key) 06:15:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:09 + git tag --points-at HEAD [Pipeline] } 06:15:09 $ docker exec --env ******** --env ******** b9bf593cb004b36ebcef4aa74bb16954903cb0e6ad9c1e275ce0fb76a97326ed ssh-agent -k 06:15:09 unset SSH_AUTH_SOCK; 06:15:09 unset SSH_AGENT_PID; 06:15:09 echo Agent pid 37 killed; 06:15:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:09 [ssh-agent] Looking for ssh-agent implementation... 06:15:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:09 $ docker exec b9bf593cb004b36ebcef4aa74bb16954903cb0e6ad9c1e275ce0fb76a97326ed ssh-agent 06:15:09 SSH_AUTH_SOCK=/tmp/ssh-oCpL134hI9oj/agent.69 06:15:09 SSH_AGENT_PID=75 06:15:09 Running ssh-add (command line suppressed) 06:15:09 Identity added: /w/workspace/foundry_device-usb-camera_PR-295@tmp/private_key_4499052499265138632.key (/w/workspace/foundry_device-usb-camera_PR-295@tmp/private_key_4499052499265138632.key) 06:15:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:10 + git semver init 06:15:10 2023-09-23 06:15:10,332 [run_init] DEBUG init version:0.0.0 force:False 06:15:10 2023-09-23 06:15:10,333 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-295/.semver 06:15:10 2023-09-23 06:15:10,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-295/.semver 06:15:10 2023-09-23 06:15:10,333 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-295/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-295, universal_newlines=False, shell=None, istream=None) 06:15:11 2023-09-23 06:15:10,997 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-295/.git/info/exclude 06:15:11 2023-09-23 06:15:10,997 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-295/.semver/PR-295 with force:False 06:15:11 2023-09-23 06:15:10,997 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-295/.semver/PR-295 06:15:11 2023-09-23 06:15:11,001 [execute] INFO git cat-file --batch-check 06:15:11 2023-09-23 06:15:11,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-295/.semver, universal_newlines=False, shell=None, istream=) 06:15:11 2023-09-23 06:15:11,007 [execute] INFO git cat-file --batch 06:15:11 2023-09-23 06:15:11,007 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-295/.semver, universal_newlines=False, shell=None, istream=) 06:15:11 2023-09-23 06:15:11,012 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-295/.semver/PR-295 06:15:11 0.0.0 [Pipeline] } 06:15:11 $ docker exec --env ******** --env ******** b9bf593cb004b36ebcef4aa74bb16954903cb0e6ad9c1e275ce0fb76a97326ed ssh-agent -k 06:15:11 unset SSH_AUTH_SOCK; 06:15:11 unset SSH_AGENT_PID; 06:15:11 echo Agent pid 75 killed; 06:15:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:11 + git semver [Pipeline] } 06:15:12 $ docker stop --time=1 b9bf593cb004b36ebcef4aa74bb16954903cb0e6ad9c1e275ce0fb76a97326ed 06:15:13 $ docker rm -f --volumes b9bf593cb004b36ebcef4aa74bb16954903cb0e6ad9c1e275ce0fb76a97326ed [Pipeline] // withDockerContainer [Pipeline] sh 06:15:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:13 Stashed 1 file(s) [Pipeline] echo 06:15:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:14 provisioning config files... 06:15:14 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-295@tmp/config12540146997691990267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:14 ---> docker-login.sh 06:15:14 nexus3.edgexfoundry.org:10001 06:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:14 Configure a credential helper to remove this warning. See 06:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:14 06:15:14 Login Succeeded 06:15:14 nexus3.edgexfoundry.org:10002 06:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:14 Configure a credential helper to remove this warning. See 06:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:14 06:15:14 Login Succeeded 06:15:14 nexus3.edgexfoundry.org:10003 06:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:14 Configure a credential helper to remove this warning. See 06:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:14 06:15:14 Login Succeeded 06:15:14 nexus3.edgexfoundry.org:10004 06:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:14 Configure a credential helper to remove this warning. See 06:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:14 06:15:14 Login Succeeded 06:15:14 docker.io 06:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:14 Configure a credential helper to remove this warning. See 06:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:14 06:15:14 Login Succeeded 06:15:14 ---> docker-login.sh ends [Pipeline] } 06:15:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:14 ========================================================= 06:15:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:15:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:15:15 Sending build context to Docker daemon 2.26MB 06:15:15 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:15:15 Step 2/13 : FROM ${BASE} AS builder 06:15:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:15 7264a8db6415: Pulling fs layer 06:15:15 c4d48a809fc2: Pulling fs layer 06:15:15 4f1c88b9dad5: Pulling fs layer 06:15:15 ad3a456e5733: Pulling fs layer 06:15:15 33e27b845d1e: Pulling fs layer 06:15:15 c68163c4e522: Pulling fs layer 06:15:15 50da416c3ac9: Pulling fs layer 06:15:15 23d2d4c4bb30: Pulling fs layer 06:15:15 50da416c3ac9: Waiting 06:15:15 c68163c4e522: Waiting 06:15:15 ad3a456e5733: Waiting 06:15:15 33e27b845d1e: Waiting 06:15:15 23d2d4c4bb30: Waiting 06:15:15 c4d48a809fc2: Download complete 06:15:15 ad3a456e5733: Download complete 06:15:15 33e27b845d1e: Verifying Checksum 06:15:15 33e27b845d1e: Download complete 06:15:15 7264a8db6415: Verifying Checksum 06:15:15 7264a8db6415: Download complete 06:15:15 c68163c4e522: Verifying Checksum 06:15:15 c68163c4e522: Download complete 06:15:15 7264a8db6415: Pull complete 06:15:15 c4d48a809fc2: Pull complete 06:15:15 23d2d4c4bb30: Download complete 06:15:15 4f1c88b9dad5: Verifying Checksum 06:15:15 4f1c88b9dad5: Download complete 06:15:16 50da416c3ac9: Verifying Checksum 06:15:16 50da416c3ac9: Download complete 06:15:19 4f1c88b9dad5: Pull complete 06:15:19 ad3a456e5733: Pull complete 06:15:19 33e27b845d1e: Pull complete 06:15:19 c68163c4e522: Pull complete 06:15:21 50da416c3ac9: Pull complete 06:15:22 23d2d4c4bb30: Pull complete 06:15:22 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 06:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:15:22 ---> 0786185ac409 06:15:22 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:15:26 ---> Running in cb0a465704ce 06:15:26 Removing intermediate container cb0a465704ce 06:15:26 ---> 95376c635d26 06:15:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:26 ---> Running in bc93581a702a 06:15:26 Removing intermediate container bc93581a702a 06:15:26 ---> 15b51d1cb4ee 06:15:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:15:26 ---> Running in 99195474d647 06:15:26 Removing intermediate container 99195474d647 06:15:26 ---> 1c3fcf415dc5 06:15:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:15:26 ---> Running in 03024bb9a14b 06:15:26 Removing intermediate container 03024bb9a14b 06:15:26 ---> 4659e786a34e 06:15:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:26 ---> Running in af51a146ba2e 06:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:15:27 (1/13) Installing libintl (0.21.1-r7) 06:15:27 (2/13) Installing eudev-libs (3.2.11-r8) 06:15:27 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 06:15:27 (4/13) Installing v4l-utils-libs (1.24.1-r0) 06:15:27 (5/13) Installing v4l-utils (1.24.1-r0) 06:15:27 (6/13) Installing libdvbv5 (1.24.1-r0) 06:15:27 (7/13) Installing udev-init-scripts (35-r1) 06:15:27 (8/13) Installing libblkid (2.38.1-r8) 06:15:27 (9/13) Installing xz-libs (5.4.3-r0) 06:15:27 (10/13) Installing kmod-libs (30-r3) 06:15:27 (11/13) Installing eudev (3.2.11-r8) 06:15:27 (12/13) Installing eudev-dev (3.2.11-r8) 06:15:27 (13/13) Installing v4l-utils-dev (1.24.1-r0) 06:15:27 Executing busybox-1.36.1-r2.trigger 06:15:27 Executing eudev-3.2.11-r8.trigger 06:15:27 OK: 271 MiB in 65 packages 06:15:27 Removing intermediate container af51a146ba2e 06:15:27 ---> fbd72652c317 06:15:27 Step 8/13 : WORKDIR /device-usb-camera 06:15:27 ---> Running in 90af4f6d4435 06:15:27 Removing intermediate container 90af4f6d4435 06:15:27 ---> f451ab976338 06:15:27 Step 9/13 : COPY go.mod vendor* ./ 06:15:28 ---> a51d9dcf8730 06:15:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:28 ---> Running in bbff60ccee99 06:15:29 Still waiting to schedule task 06:15:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:16:14 Removing intermediate container bbff60ccee99 06:16:14 ---> 9d6b395fb656 06:16:14 Step 11/13 : COPY . . 06:16:14 ---> 27230ef47a72 06:16:14 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:16:14 ---> Running in 69c6af4398ed 06:16:14  % Total % Received % Xferd Average Speed Time Time Time Current 06:16:14  Dload Upload Total Spent Left Speed 06:16:14  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 10968 0 --:--:-- --:--:-- --:--:-- 10991 06:16:14 Removing intermediate container 69c6af4398ed 06:16:14 ---> 2ac5de6a9c48 06:16:14 Step 13/13 : RUN ${MAKE} 06:16:14 ---> Running in 0620414f638d 06:16:14 noop 06:16:14 Removing intermediate container 0620414f638d 06:16:14 ---> 3d798490fcd7 06:16:14 Successfully built 3d798490fcd7 06:16:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:15 + docker inspect -f . ci-base-image-x86_64 06:16:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:15 prd-ubuntu20.04-docker-8c-8g-7673 does not seem to be running inside a container 06:16:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-295 -v /w/workspace/foundry_device-usb-camera_PR-295:/w/workspace/foundry_device-usb-camera_PR-295:rw,z -v /w/workspace/foundry_device-usb-camera_PR-295@tmp:/w/workspace/foundry_device-usb-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:15 $ docker top 01c26e62ee06cde2c820522bed2016022d3ee6585f749d17a7b2366b8cd39824 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:16 + go version 06:16:16 go version go1.21.0 linux/amd64 [Pipeline] } 06:16:16 $ docker stop --time=1 01c26e62ee06cde2c820522bed2016022d3ee6585f749d17a7b2366b8cd39824 06:16:17 $ docker rm -f --volumes 01c26e62ee06cde2c820522bed2016022d3ee6585f749d17a7b2366b8cd39824 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:17 + docker inspect -f . ci-base-image-x86_64 06:16:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:17 prd-ubuntu20.04-docker-8c-8g-7673 does not seem to be running inside a container 06:16:17 $ 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-295 -v /w/workspace/foundry_device-usb-camera_PR-295:/w/workspace/foundry_device-usb-camera_PR-295:rw,z -v /w/workspace/foundry_device-usb-camera_PR-295@tmp:/w/workspace/foundry_device-usb-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:18 $ docker top 0807c62a660845934a8b9a357608483632fac334a73fd97293b8f178f020b1b7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:18 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-295 [Pipeline] fileExists [Pipeline] sh 06:16:18 + make test 06:16:18 go test ./... -coverprofile=coverage.out ./... 06:16:20 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:16:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:16:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 4.4% of statements 06:16:38 go vet ./... 06:16:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:40 ./bin/test-attribution-txt.sh [Pipeline] echo 06:16:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:16:41 $ docker stop --time=1 0807c62a660845934a8b9a357608483632fac334a73fd97293b8f178f020b1b7 06:16:44 $ docker rm -f --volumes 0807c62a660845934a8b9a357608483632fac334a73fd97293b8f178f020b1b7 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:16:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:45 + ls -al . 06:16:45 total 220 06:16:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 06:16 . 06:16:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 06:14 .. 06:16:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 06:16 .git 06:16:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 06:14 .github 06:16:45 -rw-rw-r-- 1 jenkins jenkins 495 Sep 23 06:14 .gitignore 06:16:45 -rw-rw-r-- 1 jenkins jenkins 45 Sep 23 06:14 .golangci.yml 06:16:45 -rw-rw-r-- 1 jenkins jenkins 77 Sep 23 06:14 .hadolint.yml 06:16:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 06:15 .semver 06:16:45 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 23 06:14 Attribution.txt 06:16:45 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 23 06:14 CHANGELOG.md 06:16:45 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 23 06:14 Dockerfile 06:16:45 -rw-rw-r-- 1 jenkins jenkins 678 Sep 23 06:14 GOVERNANCE.md 06:16:45 -rw-rw-r-- 1 jenkins jenkins 659 Sep 23 06:14 Jenkinsfile 06:16:45 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 23 06:14 LICENSE 06:16:45 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 23 06:14 Makefile 06:16:45 -rw-rw-r-- 1 jenkins jenkins 622 Sep 23 06:14 OWNERS.md 06:16:45 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 23 06:14 README.md 06:16:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 06:15 VERSION 06:16:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 06:14 bin 06:16:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 06:14 cmd 06:16:45 -rw-r--r-- 1 jenkins jenkins 54703 Sep 23 06:16 coverage.out 06:16:45 -rwxrwxr-x 1 jenkins jenkins 84 Sep 23 06:14 docker-entrypoint.sh 06:16:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 06:14 docs 06:16:45 -rw-rw-r-- 1 jenkins jenkins 3952 Sep 23 06:14 go.mod 06:16:45 -rw-rw-r-- 1 jenkins jenkins 35513 Sep 23 06:14 go.sum 06:16:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 06:14 internal 06:16:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 06:14 snap 06:16:45 -rw-rw-r-- 1 jenkins jenkins 231 Sep 23 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:45 + 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=9483610729bf1ae3750b3077e444393736db87cc --label arch=amd64 --label version=0.0.0 . 06:16:45 Sending build context to Docker daemon 2.316MB 06:16:45 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 06:16:45 Step 2/36 : FROM ${BASE} AS builder 06:16:45 ---> 3d798490fcd7 06:16:45 Step 3/36 : ARG ADD_BUILD_TAGS="" 06:16:45 ---> Running in 87060b2f20a2 06:16:45 Removing intermediate container 87060b2f20a2 06:16:45 ---> 7b4c42601953 06:16:45 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:16:45 ---> Running in b587164875b7 06:16:45 Removing intermediate container b587164875b7 06:16:45 ---> e10e95505936 06:16:45 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:16:45 ---> Running in 49676941f472 06:16:45 Removing intermediate container 49676941f472 06:16:45 ---> 92438310d70e 06:16:45 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:16:46 ---> Running in 8b505cb9ef4f 06:16:46 Removing intermediate container 8b505cb9ef4f 06:16:46 ---> 22c30e98583e 06:16:46 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:46 ---> Running in cb58b8ebaeef 06:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:16:47 OK: 271 MiB in 65 packages 06:16:47 Removing intermediate container cb58b8ebaeef 06:16:47 ---> 94684e1eea45 06:16:47 Step 8/36 : WORKDIR /device-usb-camera 06:16:47 ---> Running in 9cb1d65f1142 06:16:47 Removing intermediate container 9cb1d65f1142 06:16:47 ---> 1f1a1ad9f980 06:16:47 Step 9/36 : COPY go.mod vendor* ./ 06:16:47 ---> c9a0a89e6d63 06:16:47 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:47 ---> Running in 4d064e9e9fce 06:16:48 Removing intermediate container 4d064e9e9fce 06:16:48 ---> bd01df3514f9 06:16:48 Step 11/36 : COPY . . 06:16:48 ---> 839f68845047 06:16:48 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:16:48 ---> Running in 3def707f21f8 06:16:48  % Total % Received % Xferd Average Speed Time Time Time Current 06:16:48 Dload Upload Total Spent Left Speed 06:16:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 37908 0 --:--:-- --:--:-- --:--:-- 39156 06:16:49 Removing intermediate container 3def707f21f8 06:16:49 ---> 65032eaa66a1 06:16:49 Step 13/36 : RUN ${MAKE} 06:16:49 ---> Running in c79571d741a4 06:16:49 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 06:16:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7685 in /w/workspace/foundry_device-usb-camera_PR-295 [Pipeline] { [Pipeline] ws 06:16:57 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 06:16:57 Selected Git installation does not exist. Using Default 06:16:57 The recommended git tool is: NONE 06:17:01 using credential edgex-jenkins-ssh 06:17:01 Cloning the remote Git repository 06:17:02 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:17:02 > git init /w/workspace/device-usb-camera/2 # timeout=10 06:17:02 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:17:02 > git --version # timeout=10 06:17:02 > git --version # 'git version 2.25.1' 06:17:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:03 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:17:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:04 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:17:04 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:17:04 Merging remotes/origin/main commit c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5 into PR head commit f63520341f483c75324e41bcb5f7691e27f85c17 06:17:05 Merge succeeded, producing 6deece04e63c96bd4b519c9364773724735c974e 06:17:05 Checking out Revision 6deece04e63c96bd4b519c9364773724735c974e (PR-295) 06:17:04 > git config core.sparsecheckout # timeout=10 06:17:04 > git checkout -f f63520341f483c75324e41bcb5f7691e27f85c17 # timeout=10 06:17:04 > git remote # timeout=10 06:17:04 > git config --get remote.origin.url # timeout=10 06:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:04 > git merge c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5 # timeout=10 06:17:05 > git rev-parse HEAD^{commit} # timeout=10 06:17:05 > git config core.sparsecheckout # timeout=10 06:17:05 > git checkout -f 6deece04e63c96bd4b519c9364773724735c974e # timeout=10 06:17:08 Commit message: "Merge commit 'c469b2dfe8447e7b85a3cf48ad8b868bff9fbbc5' into HEAD" 06:17:08 > git rev-list --no-walk f63520341f483c75324e41bcb5f7691e27f85c17 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:17:09 % Total % Received % Xferd Average Speed Time Time Time Current 06:17:09 Dload Upload Total Spent Left Speed 06:17:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 06:17:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:17:10 + sudo tee /etc/docker/daemon.new 06:17:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:17:10 { 06:17:10 "registry-mirrors": [ 06:17:10 "https://nexus3.edgexfoundry.org:10001" 06:17:10 ], 06:17:10 "bip": "10.250.0.254/24", 06:17:10 "hosts": [ 06:17:10 "tcp://0.0.0.0:5555", 06:17:10 "unix:///var/run/docker.sock" 06:17:10 ], 06:17:10 "mtu": 1458, 06:17:10 "selinux-enabled": true, 06:17:10 "seccomp-profile": "/etc/docker/seccomp.json" 06:17:10 } [Pipeline] sh 06:17:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:17:11 Removing intermediate container c79571d741a4 06:17:11 ---> a3bbd37649b6 06:17:11 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 06:17:11 v0.21.6: Pulling from aler9/rtsp-simple-server 06:17:11 4acc49c71d14: Pulling fs layer 06:17:11 4acc49c71d14: Verifying Checksum 06:17:11 4acc49c71d14: Download complete 06:17:11 4acc49c71d14: Pull complete 06:17:11 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 06:17:11 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 06:17:11 ---> 01a2bd3e5fff 06:17:11 Step 15/36 : FROM alpine:3.18 06:17:11 3.18: Pulling from library/alpine 06:17:11 7264a8db6415: Already exists 06:17:11 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 06:17:11 Status: Downloaded newer image for alpine:3.18 06:17:11 ---> 7e01a0d0a1dc 06:17:11 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:17:11 ---> Running in d70c22d5ea81 06:17:11 Removing intermediate container d70c22d5ea81 06:17:11 ---> 9c52a25ac80b 06:17:11 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 06:17:11 ---> Running in ec241146712a 06:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:17:11 + sudo service docker restart 06:17:11 (1/107) Installing dumb-init (1.2.5-r2) 06:17:11 (2/107) Installing sdl2 (2.26.5-r0) 06:17:11 (3/107) Installing svt-av1-libs (1.6.0-r0) 06:17:11 (4/107) Installing aom-libs (3.6.1-r0) 06:17:11 (5/107) Installing libxau (1.0.11-r2) 06:17:11 (6/107) Installing libmd (1.0.4-r2) 06:17:11 (7/107) Installing libbsd (0.11.7-r1) 06:17:11 (8/107) Installing libxdmcp (1.1.4-r2) 06:17:11 (9/107) Installing libxcb (1.15-r1) 06:17:11 (10/107) Installing libx11 (1.8.4-r4) 06:17:11 (11/107) Installing hwdata-pci (0.370-r0) 06:17:11 (12/107) Installing libpciaccess (0.17-r2) 06:17:11 (13/107) Installing libdrm (2.4.115-r4) 06:17:11 (14/107) Installing libxext (1.3.5-r2) 06:17:11 (15/107) Installing libxfixes (6.0.1-r2) 06:17:11 (16/107) Installing libffi (3.4.4-r2) 06:17:11 (17/107) Installing wayland-libs-client (1.22.0-r2) 06:17:11 (18/107) Installing libva (2.18.0-r1) 06:17:11 (19/107) Installing libvdpau (1.5-r1) 06:17:11 (20/107) Installing libgcc (12.2.1_git20220924-r10) 06:17:11 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 06:17:11 (22/107) Installing onevpl-libs (2023.2.1-r0) 06:17:11 (23/107) Installing ffmpeg-libavutil (6.0-r15) 06:17:11 (24/107) Installing libdav1d (1.2.1-r0) 06:17:11 (25/107) Installing brotli-libs (1.0.9-r14) 06:17:11 (26/107) Installing libhwy (1.0.4-r1) 06:17:11 (27/107) Installing lcms2 (2.15-r2) 06:17:11 (28/107) Installing libjxl (0.8.2-r0) 06:17:11 (29/107) Installing lame-libs (3.100-r5) 06:17:11 (30/107) Installing opus (1.4-r0) 06:17:11 (31/107) Installing libgomp (12.2.1_git20220924-r10) 06:17:11 (32/107) Installing soxr (0.1.3-r5) 06:17:11 (33/107) Installing ffmpeg-libswresample (6.0-r15) 06:17:11 (34/107) Installing libogg (1.3.5-r4) 06:17:11 (35/107) Installing libtheora (1.1.1-r17) 06:17:11 (36/107) Installing libvorbis (1.3.7-r1) 06:17:11 (37/107) Installing libvpx (1.13.0-r1) 06:17:11 (38/107) Installing libwebp (1.3.2-r0) 06:17:11 (39/107) Installing x264-libs (0.164_git20220602-r1) 06:17:11 (40/107) Installing numactl (2.0.16-r4) 06:17:11 (41/107) Installing x265-libs (3.5-r4) 06:17:11 (42/107) Installing xvidcore (1.3.7-r1) 06:17:11 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 06:17:11 (44/107) Installing alsa-lib (1.2.9-r1) 06:17:11 (45/107) Installing libexpat (2.5.0-r1) 06:17:11 (46/107) Installing libbz2 (1.0.8-r5) 06:17:11 (47/107) Installing libpng (1.6.39-r3) 06:17:12 (48/107) Installing freetype (2.13.0-r5) 06:17:12 (49/107) Installing fontconfig (2.14.2-r3) 06:17:12 (50/107) Installing fribidi (1.0.13-r0) 06:17:12 (51/107) Installing libintl (0.21.1-r7) 06:17:12 (52/107) Installing libblkid (2.38.1-r8) 06:17:12 (53/107) Installing libmount (2.38.1-r8) 06:17:12 (54/107) Installing pcre2 (10.42-r1) 06:17:12 (55/107) Installing glib (2.76.4-r0) 06:17:12 (56/107) Installing graphite2 (1.3.14-r5) 06:17:12 (57/107) Installing harfbuzz (7.3.0-r0) 06:17:12 (58/107) Installing libunibreak (5.1-r0) 06:17:12 (59/107) Installing libass (0.17.1-r0) 06:17:12 (60/107) Installing libbluray (1.3.4-r0) 06:17:12 (61/107) Installing gmp (6.2.1-r3) 06:17:12 (62/107) Installing nettle (3.8.1-r2) 06:17:12 (63/107) Installing libunistring (1.1-r1) 06:17:12 (64/107) Installing libidn2 (2.3.4-r1) 06:17:12 (65/107) Installing p11-kit (0.24.1-r2) 06:17:12 (66/107) Installing libtasn1 (4.19.0-r1) 06:17:12 (67/107) Installing gnutls (3.8.0-r2) 06:17:12 (68/107) Installing mpg123-libs (1.31.3-r1) 06:17:12 (69/107) Installing libopenmpt (0.7.2-r0) 06:17:12 (70/107) Installing cjson (1.7.15-r4) 06:17:12 (71/107) Installing mbedtls (2.28.4-r0) 06:17:12 (72/107) Installing librist (0.2.7-r0) 06:17:12 (73/107) Installing libsrt (1.5.2-r0) 06:17:12 (74/107) Installing libssh (0.10.5-r0) 06:17:12 (75/107) Installing xz-libs (5.4.3-r0) 06:17:12 (76/107) Installing libxml2 (2.11.4-r0) 06:17:12 (77/107) Installing libsodium (1.0.18-r3) 06:17:12 (78/107) Installing libzmq (4.3.4-r4) 06:17:12 (79/107) Installing ffmpeg-libavformat (6.0-r15) 06:17:12 (80/107) Installing glslang-libs (1.3.243.0-r1) 06:17:12 (81/107) Installing spirv-tools (1.3.243.0-r1) 06:17:12 (82/107) Installing shaderc (2023.3-r1) 06:17:12 (83/107) Installing vulkan-loader (1.3.243.0-r1) 06:17:12 (84/107) Installing libplacebo (5.264.1-r1) 06:17:12 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 06:17:12 (86/107) Installing ffmpeg-libswscale (6.0-r15) 06:17:12 (87/107) Installing vidstab (1.1.1-r0) 06:17:12 (88/107) Installing zimg (3.0.5-r0) 06:17:12 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 06:17:12 (90/107) Installing libasyncns (0.8-r1) 06:17:12 (91/107) Installing dbus-libs (1.14.8-r0) 06:17:12 (92/107) Installing libltdl (2.4.7-r2) 06:17:12 (93/107) Installing orc (0.4.34-r0) 06:17:12 (94/107) Installing flac-libs (1.4.3-r0) 06:17:12 (95/107) Installing libsndfile (1.2.0-r2) 06:17:12 (96/107) Installing speexdsp (1.2.1-r1) 06:17:12 (97/107) Installing tdb-libs (1.4.8-r1) 06:17:12 (98/107) Installing libpulse (16.1-r10) 06:17:12 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 06:17:12 (100/107) Installing v4l-utils-libs (1.24.1-r0) 06:17:12 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 06:17:12 (102/107) Installing ffmpeg (6.0-r15) 06:17:12 (103/107) Installing udev-init-scripts (35-r1) 06:17:12 (104/107) Installing eudev-libs (3.2.11-r8) 06:17:12 (105/107) Installing zstd-libs (1.5.5-r4) 06:17:12 (106/107) Installing kmod-libs (30-r3) 06:17:12 (107/107) Installing eudev (3.2.11-r8) 06:17:12 Executing busybox-1.36.1-r2.trigger 06:17:12 Executing glib-2.76.4-r0.trigger 06:17:12 Executing eudev-3.2.11-r8.trigger 06:17:12 OK: 131 MiB in 122 packages 06:17:16 Removing intermediate container ec241146712a 06:17:16 ---> dd3aa7b548aa 06:17:16 Step 18/36 : WORKDIR / 06:17:16 ---> Running in bd7657120469 06:17:16 Removing intermediate container bd7657120469 06:17:16 ---> 7c36c9710ab0 06:17:16 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 06:17:16 ---> fc863642c773 06:17:16 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 06:17:16 ---> f2cb616f2a32 06:17:16 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 06:17:16 ---> a10072c6e14b 06:17:16 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:17:17 ---> 28561fe486c5 06:17:17 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:17:17 ---> 143f0df284dc 06:17:17 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 06:17:17 ---> 15e06b562bdf 06:17:17 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 06:17:18 ---> fd239c56debd 06:17:18 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 06:17:18 ---> Running in 1b178edd3130 06:17:18 Removing intermediate container 1b178edd3130 06:17:18 ---> 6c9001470669 06:17:18 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 06:17:18 ---> Running in f39d7c3734c3 06:17:19 Removing intermediate container f39d7c3734c3 06:17:19 ---> 8bd75c9ca06c 06:17:19 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 06:17:19 ---> Running in 41c1002ff52f 06:17:19 Removing intermediate container 41c1002ff52f 06:17:19 ---> 6ec6b9a02f9a 06:17:19 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 06:17:19 ---> Running in bacf7a7f0bfe 06:17:20 Removing intermediate container bacf7a7f0bfe 06:17:20 ---> 6d6a89b64556 06:17:20 Step 30/36 : EXPOSE 59983 06:17:20 ---> Running in 03d02441981e 06:17:20 Removing intermediate container 03d02441981e 06:17:20 ---> b24188fb8929 06:17:20 Step 31/36 : EXPOSE 8554 06:17:20 ---> Running in c7ca99afaef9 06:17:20 Removing intermediate container c7ca99afaef9 06:17:20 ---> c5f0f191d6d8 06:17:20 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:17:20 ---> Running in 38196a16991f 06:17:20 Removing intermediate container 38196a16991f 06:17:20 ---> f4dd233957c4 06:17:20 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 06:17:20 ---> Running in 4b828a66e558 06:17:20 Removing intermediate container 4b828a66e558 06:17:20 ---> 734f0a053473 06:17:20 Step 34/36 : LABEL arch=amd64 06:17:20 ---> Running in 2145d0134d1a 06:17:20 Removing intermediate container 2145d0134d1a 06:17:20 ---> 6f7cdf196fd3 06:17:20 Step 35/36 : LABEL git_sha=9483610729bf1ae3750b3077e444393736db87cc 06:17:20 ---> Running in 6f554b621651 06:17:20 Removing intermediate container 6f554b621651 06:17:20 ---> 41918e782740 06:17:20 Step 36/36 : LABEL version=0.0.0 06:17:20 ---> Running in 8fce806a769d 06:17:20 Removing intermediate container 8fce806a769d 06:17:20 ---> 873026286975 06:17:20 [Warning] One or more build-args [ARCH] were not consumed 06:17:20 Successfully built 873026286975 06:17:20 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:21 06:17:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:21 latest: Pulling from edgex-lftools-log-publisher 06:17:21 5eb5b503b376: Pulling fs layer 06:17:21 5c69ac0246d0: Pulling fs layer 06:17:21 ec43610c2a17: Pulling fs layer 06:17:21 3a2ae6a8a46f: Pulling fs layer 06:17:21 33b1e0a273af: Pulling fs layer 06:17:21 5d3b04190fa2: Pulling fs layer 06:17:21 3a2ae6a8a46f: Waiting 06:17:21 2f39f015ded8: Pulling fs layer 06:17:21 5d3b04190fa2: Waiting 06:17:21 2f39f015ded8: Waiting 06:17:21 33b1e0a273af: Waiting 06:17:21 5c69ac0246d0: Verifying Checksum 06:17:21 5c69ac0246d0: Download complete 06:17:21 3a2ae6a8a46f: Verifying Checksum 06:17:21 3a2ae6a8a46f: Download complete 06:17:21 33b1e0a273af: Verifying Checksum 06:17:21 33b1e0a273af: Download complete 06:17:21 ec43610c2a17: Verifying Checksum 06:17:21 ec43610c2a17: Download complete 06:17:21 5d3b04190fa2: Download complete 06:17:21 5eb5b503b376: Verifying Checksum 06:17:21 5eb5b503b376: Download complete 06:17:22 2f39f015ded8: Verifying Checksum 06:17:22 2f39f015ded8: Download complete 06:17:23 5eb5b503b376: Pull complete 06:17:23 5c69ac0246d0: Pull complete 06:17:23 ec43610c2a17: Pull complete 06:17:23 3a2ae6a8a46f: Pull complete 06:17:23 33b1e0a273af: Pull complete 06:17:23 5d3b04190fa2: Pull complete 06:17:28 2f39f015ded8: Pull complete 06:17:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:28 prd-ubuntu20.04-docker-8c-8g-7673 does not seem to be running inside a container 06:17:28 $ 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-295 -v /w/workspace/foundry_device-usb-camera_PR-295:/w/workspace/foundry_device-usb-camera_PR-295:rw,z -v /w/workspace/foundry_device-usb-camera_PR-295@tmp:/w/workspace/foundry_device-usb-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:17:31 $ docker top e93f11662f138d0ff4b1aa9d793930d2814d58c560181fab32b9e9bade53799d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 06:17:31 provisioning config files... 06:17:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config2432744911487863643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:32 ---> job-cost.sh 06:17:32 lf-activate-venv: SKIPPING 06:17:32 INFO: No Stack... 06:17:32 ---> docker-login.sh 06:17:32 nexus3.edgexfoundry.org:10001 06:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:32 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:32 Configure a credential helper to remove this warning. See 06:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:32 06:17:32 Login Succeeded 06:17:32 nexus3.edgexfoundry.org:10002 06:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:33 Configure a credential helper to remove this warning. See 06:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:33 06:17:33 Login Succeeded 06:17:33 nexus3.edgexfoundry.org:10003 06:17:33 INFO: Archiving Costs [Pipeline] sh 06:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:33 + cut -d, -f6 06:17:33 + cat /w/workspace/foundry_device-usb-camera_PR-295/archives/cost.csv [Pipeline] lock 06:17:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-295-2-stack-cost] 06:17:33 Resource [jenkins-edgexfoundry-device-usb-camera-PR-295-2-stack-cost] did not exist. Created. 06:17:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-295-2-stack-cost] 06:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:33 Configure a credential helper to remove this warning. See 06:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:33 06:17:33 Login Succeeded 06:17:33 nexus3.edgexfoundry.org:10004 06:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:33 Configure a credential helper to remove this warning. See 06:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:33 06:17:33 Login Succeeded 06:17:33 docker.io 06:17:33 + echo total: 0.4399999976158142 [Pipeline] stash 06:17:34 Stashed 1 file(s) [Pipeline] } 06:17:34 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-295-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:34 $ docker stop --time=1 e93f11662f138d0ff4b1aa9d793930d2814d58c560181fab32b9e9bade53799d 06:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:34 Configure a credential helper to remove this warning. See 06:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:34 06:17:34 Login Succeeded 06:17:34 ---> docker-login.sh ends 06:17:35 $ docker rm -f --volumes e93f11662f138d0ff4b1aa9d793930d2814d58c560181fab32b9e9bade53799d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 06:17:35 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 06:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:35 ========================================================= 06:17:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:17:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:17:36 Sending build context to Docker daemon 1.358MB 06:17:36 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:17:36 Step 2/13 : FROM ${BASE} AS builder 06:17:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:17:36 9fda8d8052c6: Pulling fs layer 06:17:36 5d54e960e981: Pulling fs layer 06:17:36 c4a7e357bf2a: Pulling fs layer 06:17:36 f0e02332f6b5: Pulling fs layer 06:17:36 cefa15bbcfad: Pulling fs layer 06:17:36 17808c966233: Pulling fs layer 06:17:36 f4c1fc716caa: Pulling fs layer 06:17:36 f0e02332f6b5: Waiting 06:17:36 cefa15bbcfad: Waiting 06:17:36 17808c966233: Waiting 06:17:36 f4c1fc716caa: Waiting 06:17:36 5d54e960e981: Verifying Checksum 06:17:36 5d54e960e981: Download complete 06:17:36 f0e02332f6b5: Verifying Checksum 06:17:36 f0e02332f6b5: Download complete 06:17:36 cefa15bbcfad: Verifying Checksum 06:17:36 cefa15bbcfad: Download complete 06:17:36 9fda8d8052c6: Verifying Checksum 06:17:36 9fda8d8052c6: Download complete 06:17:36 f4c1fc716caa: Verifying Checksum 06:17:36 f4c1fc716caa: Download complete 06:17:37 9fda8d8052c6: Pull complete 06:17:37 5d54e960e981: Pull complete 06:17:38 c4a7e357bf2a: Verifying Checksum 06:17:38 c4a7e357bf2a: Download complete 06:17:39 17808c966233: Verifying Checksum 06:17:39 17808c966233: Download complete 06:17:49 c4a7e357bf2a: Pull complete 06:17:49 f0e02332f6b5: Pull complete 06:17:49 cefa15bbcfad: Pull complete 06:17:56 17808c966233: Pull complete 06:17:57 f4c1fc716caa: Pull complete 06:17:57 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 06:17:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:17:57 ---> ea914061e18c 06:17:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:17:58 ---> Running in 6da55a4848d2 06:17:59 Removing intermediate container 6da55a4848d2 06:17:59 ---> 9ffa21229c08 06:17:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:17:59 ---> Running in 316d77dafdd2 06:17:59 Removing intermediate container 316d77dafdd2 06:17:59 ---> a8469f1739a3 06:17:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:17:59 ---> Running in a633e2afeeed 06:18:00 Removing intermediate container a633e2afeeed 06:18:00 ---> f26e36e02072 06:18:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:18:00 ---> Running in e728ccbbf493 06:18:00 Removing intermediate container e728ccbbf493 06:18:00 ---> 0be765e8a188 06:18:00 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:00 ---> Running in d4d36b2ae0b6 06:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:18:03 (1/13) Installing libintl (0.21.1-r7) 06:18:03 (2/13) Installing eudev-libs (3.2.11-r8) 06:18:03 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 06:18:03 (4/13) Installing v4l-utils-libs (1.24.1-r0) 06:18:03 (5/13) Installing v4l-utils (1.24.1-r0) 06:18:03 (6/13) Installing libdvbv5 (1.24.1-r0) 06:18:03 (7/13) Installing udev-init-scripts (35-r1) 06:18:03 (8/13) Installing libblkid (2.38.1-r8) 06:18:03 (9/13) Installing xz-libs (5.4.3-r0) 06:18:03 (10/13) Installing kmod-libs (30-r3) 06:18:03 (11/13) Installing eudev (3.2.11-r8) 06:18:03 (12/13) Installing eudev-dev (3.2.11-r8) 06:18:03 (13/13) Installing v4l-utils-dev (1.24.1-r0) 06:18:03 Executing busybox-1.36.1-r2.trigger 06:18:03 Executing eudev-3.2.11-r8.trigger 06:18:03 OK: 273 MiB in 65 packages 06:18:04 Removing intermediate container d4d36b2ae0b6 06:18:04 ---> 5408bd7b04cf 06:18:04 Step 8/13 : WORKDIR /device-usb-camera 06:18:04 ---> Running in 1179d4d263e1 06:18:04 Removing intermediate container 1179d4d263e1 06:18:04 ---> b5018c04159f 06:18:04 Step 9/13 : COPY go.mod vendor* ./ 06:18:05 ---> c1820cda1edd 06:18:05 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:05 ---> Running in d8d49e0feef1 06:19:13 Removing intermediate container d8d49e0feef1 06:19:13 ---> 90c51203249b 06:19:13 Step 11/13 : COPY . . 06:19:13 ---> 869658fcc7e4 06:19:13 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:19:13 ---> Running in f86473305ab9 06:19:13  % Total % Received % Xferd Average Speed Time Time Time Current 06:19:13  Dload Upload Total Spent Left Speed 06:19:13 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 10082 0 --:--:-- --:--:-- --:--:-- 10186 06:19:13 Removing intermediate container f86473305ab9 06:19:13 ---> 7ae5c76612c4 06:19:13 Step 13/13 : RUN ${MAKE} 06:19:13 ---> Running in e712a1a6ef42 06:19:13 noop 06:19:13 Removing intermediate container e712a1a6ef42 06:19:13 ---> d8afc895646a 06:19:13 Successfully built d8afc895646a 06:19:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:13 + docker inspect -f . ci-base-image-arm64 06:19:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:13 prd-ubuntu20.04-docker-arm64-4c-16g-7685 does not seem to be running inside a container 06:19:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:19:15 $ docker top 94e1d1005d212af595b719d146c885aca9d43c6a1f0c3119eefaa457d76d2aec -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:15 + go version 06:19:15 go version go1.21.0 linux/arm64 [Pipeline] } 06:19:15 $ docker stop --time=1 94e1d1005d212af595b719d146c885aca9d43c6a1f0c3119eefaa457d76d2aec 06:19:17 $ docker rm -f --volumes 94e1d1005d212af595b719d146c885aca9d43c6a1f0c3119eefaa457d76d2aec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:17 + docker inspect -f . ci-base-image-arm64 06:19:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:18 prd-ubuntu20.04-docker-arm64-4c-16g-7685 does not seem to be running inside a container 06:19:18 $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:19:19 $ docker top bc7e9e97ff879e6f41bbca213bf034659ca52d4120c12d915a15a4c7c78935e0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:19 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 06:19:20 + make test 06:19:20 go test ./... -coverprofile=coverage.out ./... 06:19:24 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:21:00 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:21:02 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.071s coverage: 4.4% of statements 06:21:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:21:03 go vet ./... 06:21:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:21:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:21:30 ./bin/test-attribution-txt.sh [Pipeline] echo 06:21:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:21:30 $ docker stop --time=1 bc7e9e97ff879e6f41bbca213bf034659ca52d4120c12d915a15a4c7c78935e0 06:21:32 $ docker rm -f --volumes bc7e9e97ff879e6f41bbca213bf034659ca52d4120c12d915a15a4c7c78935e0 [Pipeline] // withDockerContainer [Pipeline] sh 06:21:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:21:33 Warning: overwriting stash ‘coverage-report’ 06:21:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:21:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:21:34 + ls -al . 06:21:34 total 216 06:21:34 drwxrwxr-x 9 jenkins jenkins 4096 Sep 23 06:19 . 06:21:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 06:17 .. 06:21:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 06:17 .git 06:21:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 06:17 .github 06:21:34 -rw-rw-r-- 1 jenkins jenkins 495 Sep 23 06:17 .gitignore 06:21:34 -rw-rw-r-- 1 jenkins jenkins 45 Sep 23 06:17 .golangci.yml 06:21:34 -rw-rw-r-- 1 jenkins jenkins 77 Sep 23 06:17 .hadolint.yml 06:21:34 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 23 06:17 Attribution.txt 06:21:34 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 23 06:17 CHANGELOG.md 06:21:34 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 23 06:17 Dockerfile 06:21:34 -rw-rw-r-- 1 jenkins jenkins 678 Sep 23 06:17 GOVERNANCE.md 06:21:34 -rw-rw-r-- 1 jenkins jenkins 659 Sep 23 06:17 Jenkinsfile 06:21:34 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 23 06:17 LICENSE 06:21:34 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 23 06:17 Makefile 06:21:34 -rw-rw-r-- 1 jenkins jenkins 622 Sep 23 06:17 OWNERS.md 06:21:34 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 23 06:17 README.md 06:21:34 -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 06:15 VERSION 06:21:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 06:17 bin 06:21:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 06:17 cmd 06:21:34 -rw-r--r-- 1 jenkins jenkins 54703 Sep 23 06:21 coverage.out 06:21:34 -rwxrwxr-x 1 jenkins jenkins 84 Sep 23 06:17 docker-entrypoint.sh 06:21:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 06:17 docs 06:21:34 -rw-rw-r-- 1 jenkins jenkins 3952 Sep 23 06:17 go.mod 06:21:34 -rw-rw-r-- 1 jenkins jenkins 35513 Sep 23 06:17 go.sum 06:21:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 06:17 internal 06:21:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 06:17 snap 06:21:34 -rw-rw-r-- 1 jenkins jenkins 231 Sep 23 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:35 + 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=6deece04e63c96bd4b519c9364773724735c974e --label arch=arm64 --label version=0.0.0 . 06:21:35 Sending build context to Docker daemon 1.413MB 06:21:35 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 06:21:35 Step 2/36 : FROM ${BASE} AS builder 06:21:35 ---> d8afc895646a 06:21:35 Step 3/36 : ARG ADD_BUILD_TAGS="" 06:21:35 ---> Running in b5a6ba1f12a2 06:21:36 Removing intermediate container b5a6ba1f12a2 06:21:36 ---> 0f06972c7e97 06:21:36 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:21:36 ---> Running in b57b5879d5f2 06:21:37 Removing intermediate container b57b5879d5f2 06:21:37 ---> 0c66877520e1 06:21:37 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:21:37 ---> Running in f5f2bb56abee 06:21:39 Removing intermediate container f5f2bb56abee 06:21:39 ---> dd66ce7502ea 06:21:39 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:21:39 ---> Running in 3f488f453746 06:21:41 Removing intermediate container 3f488f453746 06:21:41 ---> fadacb6fab77 06:21:41 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:21:41 ---> Running in 4d5043acf6f7 06:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:21:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:21:43 OK: 273 MiB in 65 packages 06:21:45 Removing intermediate container 4d5043acf6f7 06:21:45 ---> ba99357c7006 06:21:45 Step 8/36 : WORKDIR /device-usb-camera 06:21:45 ---> Running in 4ea518e13114 06:21:45 Removing intermediate container 4ea518e13114 06:21:45 ---> 86c8c7e62556 06:21:45 Step 9/36 : COPY go.mod vendor* ./ 06:21:46 ---> e3376ad1e68f 06:21:46 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:21:46 ---> Running in 6287ff5a1b3b 06:21:48 Removing intermediate container 6287ff5a1b3b 06:21:48 ---> 4d37995b5e88 06:21:48 Step 11/36 : COPY . . 06:21:49 ---> b865fb0e7f54 06:21:49 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:21:49 ---> Running in 2b00cfc9d606 06:21:51  % Total % Received % Xferd Average Speed Time Time Time Current 06:21:51 Dload Upload Total Spent Left Speed 06:21:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 6263 0 --:--:-- --:--:-- --:--:-- 6296 06:21:51 Removing intermediate container 2b00cfc9d606 06:21:51 ---> 94ec13663c73 06:21:51 Step 13/36 : RUN ${MAKE} 06:21:52 ---> Running in f5afa0946d68 06:21:53 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 06:24:03 Removing intermediate container f5afa0946d68 06:24:03 ---> 133b7298dd92 06:24:03 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 06:24:03 v0.21.6: Pulling from aler9/rtsp-simple-server 06:24:03 8766b47fe142: Pulling fs layer 06:24:04 8766b47fe142: Verifying Checksum 06:24:04 8766b47fe142: Download complete 06:24:05 8766b47fe142: Pull complete 06:24:05 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 06:24:05 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 06:24:05 ---> 69d40e2cb93c 06:24:05 Step 15/36 : FROM alpine:3.18 06:24:05 3.18: Pulling from library/alpine 06:24:05 9fda8d8052c6: Already exists 06:24:05 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 06:24:05 Status: Downloaded newer image for alpine:3.18 06:24:05 ---> f6648c04cd6c 06:24:05 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:24:05 ---> Running in 77b94cef0a32 06:24:06 Removing intermediate container 77b94cef0a32 06:24:06 ---> 8a15cefad5a0 06:24:06 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 06:24:06 ---> Running in 32a6bbecf61a 06:24:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:24:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:24:08 (1/104) Installing dumb-init (1.2.5-r2) 06:24:08 (2/104) Installing sdl2 (2.26.5-r0) 06:24:08 (3/104) Installing svt-av1-libs (1.6.0-r0) 06:24:09 (4/104) Installing aom-libs (3.6.1-r0) 06:24:09 (5/104) Installing libxau (1.0.11-r2) 06:24:09 (6/104) Installing libmd (1.0.4-r2) 06:24:09 (7/104) Installing libbsd (0.11.7-r1) 06:24:09 (8/104) Installing libxdmcp (1.1.4-r2) 06:24:09 (9/104) Installing libxcb (1.15-r1) 06:24:09 (10/104) Installing libx11 (1.8.4-r4) 06:24:09 (11/104) Installing libdrm (2.4.115-r4) 06:24:09 (12/104) Installing libxext (1.3.5-r2) 06:24:09 (13/104) Installing libxfixes (6.0.1-r2) 06:24:09 (14/104) Installing libffi (3.4.4-r2) 06:24:09 (15/104) Installing wayland-libs-client (1.22.0-r2) 06:24:09 (16/104) Installing libva (2.18.0-r1) 06:24:09 (17/104) Installing libvdpau (1.5-r1) 06:24:09 (18/104) Installing ffmpeg-libavutil (6.0-r15) 06:24:09 (19/104) Installing libdav1d (1.2.1-r0) 06:24:09 (20/104) Installing brotli-libs (1.0.9-r14) 06:24:09 (21/104) Installing libgcc (12.2.1_git20220924-r10) 06:24:09 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 06:24:09 (23/104) Installing libhwy (1.0.4-r1) 06:24:09 (24/104) Installing lcms2 (2.15-r2) 06:24:09 (25/104) Installing libjxl (0.8.2-r0) 06:24:09 (26/104) Installing lame-libs (3.100-r5) 06:24:09 (27/104) Installing opus (1.4-r0) 06:24:09 (28/104) Installing libgomp (12.2.1_git20220924-r10) 06:24:09 (29/104) Installing soxr (0.1.3-r5) 06:24:09 (30/104) Installing ffmpeg-libswresample (6.0-r15) 06:24:09 (31/104) Installing libogg (1.3.5-r4) 06:24:09 (32/104) Installing libtheora (1.1.1-r17) 06:24:09 (33/104) Installing libvorbis (1.3.7-r1) 06:24:09 (34/104) Installing libvpx (1.13.0-r1) 06:24:09 (35/104) Installing libwebp (1.3.2-r0) 06:24:09 (36/104) Installing x264-libs (0.164_git20220602-r1) 06:24:10 (37/104) Installing numactl (2.0.16-r4) 06:24:10 (38/104) Installing x265-libs (3.5-r4) 06:24:10 (39/104) Installing xvidcore (1.3.7-r1) 06:24:10 (40/104) Installing ffmpeg-libavcodec (6.0-r15) 06:24:10 (41/104) Installing alsa-lib (1.2.9-r1) 06:24:10 (42/104) Installing libexpat (2.5.0-r1) 06:24:10 (43/104) Installing libbz2 (1.0.8-r5) 06:24:10 (44/104) Installing libpng (1.6.39-r3) 06:24:10 (45/104) Installing freetype (2.13.0-r5) 06:24:10 (46/104) Installing fontconfig (2.14.2-r3) 06:24:10 (47/104) Installing fribidi (1.0.13-r0) 06:24:10 (48/104) Installing libintl (0.21.1-r7) 06:24:10 (49/104) Installing libblkid (2.38.1-r8) 06:24:10 (50/104) Installing libmount (2.38.1-r8) 06:24:10 (51/104) Installing pcre2 (10.42-r1) 06:24:10 (52/104) Installing glib (2.76.4-r0) 06:24:10 (53/104) Installing graphite2 (1.3.14-r5) 06:24:10 (54/104) Installing harfbuzz (7.3.0-r0) 06:24:10 (55/104) Installing libunibreak (5.1-r0) 06:24:10 (56/104) Installing libass (0.17.1-r0) 06:24:10 (57/104) Installing libbluray (1.3.4-r0) 06:24:10 (58/104) Installing gmp (6.2.1-r3) 06:24:10 (59/104) Installing nettle (3.8.1-r2) 06:24:10 (60/104) Installing libunistring (1.1-r1) 06:24:11 (61/104) Installing libidn2 (2.3.4-r1) 06:24:11 (62/104) Installing p11-kit (0.24.1-r2) 06:24:11 (63/104) Installing libtasn1 (4.19.0-r1) 06:24:11 (64/104) Installing gnutls (3.8.0-r2) 06:24:11 (65/104) Installing mpg123-libs (1.31.3-r1) 06:24:11 (66/104) Installing libopenmpt (0.7.2-r0) 06:24:11 (67/104) Installing cjson (1.7.15-r4) 06:24:11 (68/104) Installing mbedtls (2.28.4-r0) 06:24:11 (69/104) Installing librist (0.2.7-r0) 06:24:11 (70/104) Installing libsrt (1.5.2-r0) 06:24:11 (71/104) Installing libssh (0.10.5-r0) 06:24:11 (72/104) Installing xz-libs (5.4.3-r0) 06:24:11 (73/104) Installing libxml2 (2.11.4-r0) 06:24:11 (74/104) Installing libsodium (1.0.18-r3) 06:24:11 (75/104) Installing libzmq (4.3.4-r4) 06:24:11 (76/104) Installing ffmpeg-libavformat (6.0-r15) 06:24:11 (77/104) Installing glslang-libs (1.3.243.0-r1) 06:24:11 (78/104) Installing spirv-tools (1.3.243.0-r1) 06:24:11 (79/104) Installing shaderc (2023.3-r1) 06:24:11 (80/104) Installing vulkan-loader (1.3.243.0-r1) 06:24:11 (81/104) Installing libplacebo (5.264.1-r1) 06:24:11 (82/104) Installing ffmpeg-libpostproc (6.0-r15) 06:24:11 (83/104) Installing ffmpeg-libswscale (6.0-r15) 06:24:11 (84/104) Installing vidstab (1.1.1-r0) 06:24:11 (85/104) Installing zimg (3.0.5-r0) 06:24:11 (86/104) Installing ffmpeg-libavfilter (6.0-r15) 06:24:11 (87/104) Installing libasyncns (0.8-r1) 06:24:11 (88/104) Installing dbus-libs (1.14.8-r0) 06:24:11 (89/104) Installing libltdl (2.4.7-r2) 06:24:11 (90/104) Installing orc (0.4.34-r0) 06:24:12 (91/104) Installing flac-libs (1.4.3-r0) 06:24:12 (92/104) Installing libsndfile (1.2.0-r2) 06:24:12 (93/104) Installing speexdsp (1.2.1-r1) 06:24:12 (94/104) Installing tdb-libs (1.4.8-r1) 06:24:12 (95/104) Installing libpulse (16.1-r10) 06:24:12 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 06:24:12 (97/104) Installing v4l-utils-libs (1.24.1-r0) 06:24:12 (98/104) Installing ffmpeg-libavdevice (6.0-r15) 06:24:12 (99/104) Installing ffmpeg (6.0-r15) 06:24:12 (100/104) Installing udev-init-scripts (35-r1) 06:24:12 (101/104) Installing eudev-libs (3.2.11-r8) 06:24:12 (102/104) Installing zstd-libs (1.5.5-r4) 06:24:12 (103/104) Installing kmod-libs (30-r3) 06:24:12 (104/104) Installing eudev (3.2.11-r8) 06:24:12 Executing busybox-1.36.1-r2.trigger 06:24:12 Executing glib-2.76.4-r0.trigger 06:24:12 Executing eudev-3.2.11-r8.trigger 06:24:12 OK: 110 MiB in 119 packages 06:24:16 Removing intermediate container 32a6bbecf61a 06:24:16 ---> f810714862b0 06:24:16 Step 18/36 : WORKDIR / 06:24:16 ---> Running in 643e80be78e3 06:24:16 Removing intermediate container 643e80be78e3 06:24:16 ---> 85d4d0906c7d 06:24:16 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 06:24:17 ---> 5e5d46bdcaf8 06:24:17 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 06:24:18 ---> 6d84e6371ced 06:24:18 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 06:24:18 ---> a70a18e604f1 06:24:18 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:24:19 ---> 93b7f8a8f4a9 06:24:19 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:24:19 ---> d450014905dd 06:24:19 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 06:24:20 ---> 4732bea58eab 06:24:20 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 06:24:21 ---> 3f030f8c1459 06:24:21 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 06:24:21 ---> Running in e1b68c7585c9 06:24:23 Removing intermediate container e1b68c7585c9 06:24:23 ---> 3e7ed0dadb76 06:24:23 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 06:24:23 ---> Running in ea266fa99308 06:24:25 Removing intermediate container ea266fa99308 06:24:25 ---> f7ffa7f509f1 06:24:25 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 06:24:25 ---> Running in 6bdfa555dae2 06:24:27 Removing intermediate container 6bdfa555dae2 06:24:27 ---> 02bc9db0f9a0 06:24:27 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 06:24:27 ---> Running in 8135a8877b9c 06:24:28 Removing intermediate container 8135a8877b9c 06:24:28 ---> 6f61258239b5 06:24:28 Step 30/36 : EXPOSE 59983 06:24:28 ---> Running in f676720c6694 06:24:28 Removing intermediate container f676720c6694 06:24:28 ---> aa3864c1c3ff 06:24:28 Step 31/36 : EXPOSE 8554 06:24:28 ---> Running in 7eaddc84d367 06:24:29 Removing intermediate container 7eaddc84d367 06:24:29 ---> b28019afecc4 06:24:29 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:24:29 ---> Running in 9f0574505380 06:24:29 Removing intermediate container 9f0574505380 06:24:29 ---> d1e0b062d739 06:24:29 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 06:24:29 ---> Running in 1490a645110c 06:24:29 Removing intermediate container 1490a645110c 06:24:29 ---> 0cc33d30a655 06:24:29 Step 34/36 : LABEL arch=arm64 06:24:30 ---> Running in cb565bed717c 06:24:30 Removing intermediate container cb565bed717c 06:24:30 ---> 16080e588b2e 06:24:30 Step 35/36 : LABEL git_sha=6deece04e63c96bd4b519c9364773724735c974e 06:24:30 ---> Running in cb3141a717b2 06:24:30 Removing intermediate container cb3141a717b2 06:24:30 ---> dda5b0137038 06:24:30 Step 36/36 : LABEL version=0.0.0 06:24:30 ---> Running in 7f7f725ff0a1 06:24:30 Removing intermediate container 7f7f725ff0a1 06:24:30 ---> f9153671bc5e 06:24:30 [Warning] One or more build-args [ARCH] were not consumed 06:24:30 Successfully built f9153671bc5e 06:24:30 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:31 06:24:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:31 arm64: Pulling from edgex-lftools-log-publisher 06:24:31 8998bd30e6a1: Pulling fs layer 06:24:31 04944245beec: Pulling fs layer 06:24:31 699f458cf7ca: Pulling fs layer 06:24:31 765212b225bb: Pulling fs layer 06:24:31 f23df028b6ca: Pulling fs layer 06:24:31 d65c8cfc05b1: Pulling fs layer 06:24:31 2437ff75d9bd: Pulling fs layer 06:24:31 765212b225bb: Waiting 06:24:31 f23df028b6ca: Waiting 06:24:31 d65c8cfc05b1: Waiting 06:24:31 2437ff75d9bd: Waiting 06:24:31 04944245beec: Verifying Checksum 06:24:31 04944245beec: Download complete 06:24:31 765212b225bb: Verifying Checksum 06:24:31 765212b225bb: Download complete 06:24:31 f23df028b6ca: Verifying Checksum 06:24:31 f23df028b6ca: Download complete 06:24:31 d65c8cfc05b1: Verifying Checksum 06:24:31 d65c8cfc05b1: Download complete 06:24:31 699f458cf7ca: Verifying Checksum 06:24:31 699f458cf7ca: Download complete 06:24:32 8998bd30e6a1: Verifying Checksum 06:24:32 8998bd30e6a1: Download complete 06:24:34 2437ff75d9bd: Verifying Checksum 06:24:34 2437ff75d9bd: Download complete 06:24:36 8998bd30e6a1: Pull complete 06:24:36 04944245beec: Pull complete 06:24:38 699f458cf7ca: Pull complete 06:24:38 765212b225bb: Pull complete 06:24:38 f23df028b6ca: Pull complete 06:24:39 d65c8cfc05b1: Pull complete 06:24:54 2437ff75d9bd: Pull complete 06:24:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:24:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:54 prd-ubuntu20.04-docker-arm64-4c-16g-7685 does not seem to be running inside a container 06:24:54 $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:24:56 $ docker top 8e6966de6d390364dda4ea8a0bd23f8a00b293a04d60630274b81fcdb7241615 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:57 ---> job-cost.sh 06:24:57 lf-activate-venv: SKIPPING 06:24:57 INFO: No Stack... 06:24:57 INFO: Retrieving Pricing Info for: v3-standard-4 06:24:58 INFO: Archiving Costs [Pipeline] sh 06:24:59 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 06:24:59 + cut -d, -f6 [Pipeline] lock 06:24:59 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-295-2-stack-cost] 06:24:59 Resource [jenkins-edgexfoundry-device-usb-camera-PR-295-2-stack-cost] did not exist. Created. 06:24:59 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-295-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:24:59 /w/workspace/device-usb-camera/2@tmp/durable-2dad3436/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:25:00 + echo total: 0.10999999940395355 [Pipeline] stash 06:25:00 Warning: overwriting stash ‘stack-cost’ 06:25:00 Stashed 1 file(s) [Pipeline] } 06:25:00 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-295-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:25:00 $ docker stop --time=1 8e6966de6d390364dda4ea8a0bd23f8a00b293a04d60630274b81fcdb7241615 06:25:02 $ docker rm -f --volumes 8e6966de6d390364dda4ea8a0bd23f8a00b293a04d60630274b81fcdb7241615 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:25:02 provisioning config files... 06:25:02 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-295@tmp/config18014649590516663322tmp [Pipeline] { [Pipeline] sh 06:25:03 + set +x 06:25:03 + curl -s https://codecov.io/bash 06:25:03 + bash -s -- 06:25:03 06:25:03 _____ _ 06:25:03 / ____| | | 06:25:03 | | ___ __| | ___ ___ _____ __ 06:25:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:25:03 | |___| (_) | (_| | __/ (_| (_) \ V / 06:25:03 \_____\___/ \__,_|\___|\___\___/ \_/ 06:25:03 Bash-1.0.6 06:25:03 06:25:03 06:25:03 ==> git version 2.25.1 found 06:25:03 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:25:03 Release-Date: 2020-01-08 06:25:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:25:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:25:03 ==> Jenkins CI detected. 06:25:03 current dir:  /w/workspace/foundry_device-usb-camera_PR-295 06:25:03 project root: . 06:25:03 --> token set from env 06:25:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:25:03 ==> Running gcov in . (disable via -X gcov) 06:25:03 ==> Python coveragepy not found 06:25:03 ==> Searching for coverage reports in: 06:25:03 + . 06:25:03 -> Found 1 reports 06:25:03 ==> Detecting git/mercurial file structure 06:25:03 ==> Reading reports 06:25:03 + ./coverage.out bytes=54703 06:25:03 ==> Appending adjustments 06:25:03 https://docs.codecov.io/docs/fixing-reports 06:25:03 + Found adjustments 06:25:03 ==> Gzipping contents 06:25:03 8.0K /tmp/codecov.XU74Xn.gz 06:25:03 ==> Uploading reports 06:25:03 url: https://codecov.io 06:25:03 query: branch=PR-295&commit=9483610729bf1ae3750b3077e444393736db87cc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-295%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=295&job=&cmd_args= 06:25:03 -> Pinging Codecov 06:25:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-295&commit=9483610729bf1ae3750b3077e444393736db87cc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-295%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=295&job=&cmd_args= 06:25:03 -> Uploading to 06:25:03 https://storage.googleapis.com/codecov/v4/raw/2023-09-23/73D8F5FF140700D3E01443B452E23636/9483610729bf1ae3750b3077e444393736db87cc/0ffbc5ac-35b5-48d8-838b-c186f69c9b2d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230923T062503Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd119457bd34595d0fbdc0556b6fcc577c427a38735f15b44c720f51ba4f52f7 06:25:03 % Total % Received % Xferd Average Speed Time Time Time Current 06:25:03 Dload Upload Total Spent Left Speed 06:25:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6995 0 0 100 6995 0 31088 --:--:-- --:--:-- --:--:-- 31227 06:25:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/9483610729bf1ae3750b3077e444393736db87cc [Pipeline] } 06:25:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:25:04 + [ -d /w/workspace/foundry_device-usb-camera_PR-295/archives ] 06:25:04 + ls -al /w/workspace/foundry_device-usb-camera_PR-295/archives 06:25:04 total 16 06:25:04 drwxr-xr-x 3 root root 4096 Sep 23 06:17 . 06:25:04 drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 06:17 .. 06:25:04 drwxr-xr-x 2 root root 4096 Sep 23 06:17 cost 06:25:04 -rw-r--r-- 1 root root 90 Sep 23 06:17 cost.csv 06:25:04 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-295/archives 06:25:04 + ls -al /w/workspace/foundry_device-usb-camera_PR-295/archives 06:25:04 total 16 06:25:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 06:17 . 06:25:04 drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 06:17 .. 06:25:04 drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 06:17 cost 06:25:04 -rw-r--r-- 1 jenkins jenkins 90 Sep 23 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:25:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:25:06 ---> package-listing.sh 06:25:06 ++ tr '[:upper:]' '[:lower:]' 06:25:06 ++ facter osfamily 06:25:06 + OS_FAMILY=debian 06:25:06 + workspace=/w/workspace/foundry_device-usb-camera_PR-295 06:25:06 + START_PACKAGES=/tmp/packages_start.txt 06:25:06 + END_PACKAGES=/tmp/packages_end.txt 06:25:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:25:06 + PACKAGES=/tmp/packages_start.txt 06:25:06 + '[' /w/workspace/foundry_device-usb-camera_PR-295 ']' 06:25:06 + PACKAGES=/tmp/packages_end.txt 06:25:06 + case "${OS_FAMILY}" in 06:25:06 + dpkg -l 06:25:06 + grep '^ii' 06:25:06 + '[' -f /tmp/packages_start.txt ']' 06:25:06 + '[' -f /tmp/packages_end.txt ']' 06:25:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:25:06 + '[' /w/workspace/foundry_device-usb-camera_PR-295 ']' 06:25:06 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-295/archives/ 06:25:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-295/archives/ [Pipeline] echo 06:25:06 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-295/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:25:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:25:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:25:07 prd-ubuntu20.04-docker-8c-8g-7673 does not seem to be running inside a container 06:25:07 $ 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-295/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-295 -v /w/workspace/foundry_device-usb-camera_PR-295:/w/workspace/foundry_device-usb-camera_PR-295:rw,z -v /w/workspace/foundry_device-usb-camera_PR-295@tmp:/w/workspace/foundry_device-usb-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:25:07 $ docker top 7b2b6abaf37f30baa85d9ec3cd9dc81c057f23ebd400271371fde2b7db21db78 -eo pid,comm [Pipeline] { [Pipeline] sh 06:25:07 + touch /tmp/pre-build-complete [Pipeline] sh 06:25:08 + mkdir -p /var/log/sysstat [Pipeline] sh 06:25:08 + ls /var/log/sa-host 06:25:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:25:08 provisioning config files... 06:25:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-295@tmp/config3538531732586496914tmp [Pipeline] { [Pipeline] echo 06:25:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:25:08 ---> create-netrc.sh [Pipeline] } 06:25:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:25:09 ---> python-tools-install.sh [Pipeline] echo 06:25:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:25:09 ---> sudo-logs.sh 06:25:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:25:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:25:09 ---> job-cost.sh 06:25:09 lf-activate-venv: SKIPPING 06:25:09 DEBUG: total: 0.4399999976158142 06:25:09 INFO: Retrieving Stack Cost... 06:25:10 INFO: Retrieving Pricing Info for: v3-standard-8 06:25:10 INFO: Archiving Costs [Pipeline] echo 06:25:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:25:11 ---> logs-deploy.sh 06:25:11 lf-activate-venv: SKIPPING 06:25:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-295/2 06:25:11 INFO: archiving workspace using pattern(s): 06:25:11 Archives upload complete. 06:25:11 INFO: archiving logs to Nexus