Pull request #265 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than 17c9c1b229f0135c46f4d448d01a1aa896ad8439 Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh3602344056778084140.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6388236634113605691.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/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-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17215125406025350873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18298321328360345288.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-265/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-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3016015934527215209.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2282’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2285 in /w/workspace/foundry_device-usb-camera_PR-265 [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-265 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 17c9c1b229f0135c46f4d448d01a1aa896ad8439 Merge succeeded, producing 17c9c1b229f0135c46f4d448d01a1aa896ad8439 Checking out Revision 17c9c1b229f0135c46f4d448d01a1aa896ad8439 (PR-265) Commit message: "fix: name of fps field" > git config core.sparsecheckout # timeout=10 > git checkout -f 17c9c1b229f0135c46f4d448d01a1aa896ad8439 # 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17c9c1b229f0135c46f4d448d01a1aa896ad8439 # timeout=10 > git rev-list --no-walk bb936e8e5e6198a2e6d99731e23ef89dc1671a34 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:39:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:39:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:39:16 ========================================================= 21:39:16 EdgeX Global Pipelines Version Info 21:39:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:39:17 ------------------- 21:39:17 stable info: 21:39:17 ------------------- 21:39:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:39:17 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:39:17 Message: update stable to v1.0.250 21:39:17 ------------------- 21:39:17 experimental info: 21:39:17 ------------------- 21:39:17 Commited By: **** collab-it+edgex@linuxfoundation.org 21:39:17 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:39:17 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17c9c1b [Pipeline] echo 21:39:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:18 provisioning config files... 21:39:18 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config13785912892310568627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:19 ---> docker-login.sh 21:39:19 nexus3.edgexfoundry.org:10001 21:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:19 Configure a credential helper to remove this warning. See 21:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:19 21:39:19 Login Succeeded 21:39:19 nexus3.edgexfoundry.org:10002 21:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:19 Configure a credential helper to remove this warning. See 21:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:19 21:39:19 Login Succeeded 21:39:19 nexus3.edgexfoundry.org:10003 21:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:19 Configure a credential helper to remove this warning. See 21:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:19 21:39:19 Login Succeeded 21:39:19 nexus3.edgexfoundry.org:10004 21:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:19 Configure a credential helper to remove this warning. See 21:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:19 21:39:19 Login Succeeded 21:39:19 docker.io 21:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:20 Configure a credential helper to remove this warning. See 21:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:20 21:39:20 Login Succeeded 21:39:20 ---> docker-login.sh ends [Pipeline] } 21:39:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:39:20 + git rev-list -1 --merges 17c9c1b229f0135c46f4d448d01a1aa896ad8439~1..17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] echo 21:39:20 -----------> git rev-list -1 --merges 17c9c1b229f0135c46f4d448d01a1aa896ad8439~1..17c9c1b229f0135c46f4d448d01a1aa896ad8439 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [false] [Pipeline] sh 21:39:20 + git log --format=format:%s -1 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] echo 21:39:20 ========================================================= 21:39:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:39:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:21 + git log --format=format:%s -1 17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] echo 21:39:21 [semverPrep] GIT_COMMIT: 17c9c1b229f0135c46f4d448d01a1aa896ad8439, Commit Message: fix: name of fps field [Pipeline] echo 21:39:21 [semverPrep] This is not a build commit. [Pipeline] sh 21:39:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:39:21 + grep -v github /etc/ssh/ssh_known_hosts 21:39:21 + [ -e /tmp/ssh_known_hosts ] 21:39:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:39:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:39:21 + sudo tee -a /etc/ssh/ssh_known_hosts 21:39:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:21 21:39:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:22 0.1.4: Pulling from edgex-devops/py-git-semver 21:39:22 b85a868b505f: Pulling fs layer 21:39:22 e2be974225ed: Pulling fs layer 21:39:22 339a4e72a1f5: Pulling fs layer 21:39:22 988bab9f4d93: Pulling fs layer 21:39:22 1469e6f7b9e6: Pulling fs layer 21:39:22 eaf3925da568: Pulling fs layer 21:39:22 bab4dde63d76: Pulling fs layer 21:39:22 bde34c3a00c8: Pulling fs layer 21:39:22 b352a97aabf1: Pulling fs layer 21:39:22 4872d77fe225: Pulling fs layer 21:39:22 5851b861e8e6: Pulling fs layer 21:39:22 bab4dde63d76: Waiting 21:39:22 bde34c3a00c8: Waiting 21:39:22 b352a97aabf1: Waiting 21:39:22 4872d77fe225: Waiting 21:39:22 5851b861e8e6: Waiting 21:39:22 1469e6f7b9e6: Waiting 21:39:22 eaf3925da568: Waiting 21:39:22 e2be974225ed: Download complete 21:39:22 988bab9f4d93: Verifying Checksum 21:39:22 988bab9f4d93: Download complete 21:39:22 339a4e72a1f5: Verifying Checksum 21:39:22 339a4e72a1f5: Download complete 21:39:22 1469e6f7b9e6: Download complete 21:39:22 eaf3925da568: Verifying Checksum 21:39:22 eaf3925da568: Download complete 21:39:22 bde34c3a00c8: Verifying Checksum 21:39:22 bde34c3a00c8: Download complete 21:39:22 b352a97aabf1: Download complete 21:39:22 4872d77fe225: Verifying Checksum 21:39:22 4872d77fe225: Download complete 21:39:22 5851b861e8e6: Download complete 21:39:22 b85a868b505f: Verifying Checksum 21:39:22 b85a868b505f: Download complete 21:39:22 bab4dde63d76: Verifying Checksum 21:39:22 bab4dde63d76: Download complete 21:39:23 b85a868b505f: Pull complete 21:39:23 e2be974225ed: Pull complete 21:39:24 339a4e72a1f5: Pull complete 21:39:24 988bab9f4d93: Pull complete 21:39:24 1469e6f7b9e6: Pull complete 21:39:24 eaf3925da568: Pull complete 21:39:26 bab4dde63d76: Pull complete 21:39:26 bde34c3a00c8: Pull complete 21:39:26 b352a97aabf1: Pull complete 21:39:26 4872d77fe225: Pull complete 21:39:26 5851b861e8e6: Pull complete 21:39:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:39:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:26 prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container 21:39:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:39:30 $ docker top 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f -eo pid,comm 21:39:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:39:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:39:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:30 [ssh-agent] Looking for ssh-agent implementation... 21:39:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:30 $ docker exec 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f ssh-agent 21:39:30 SSH_AUTH_SOCK=/tmp/ssh-HbUEBPJLoVdj/agent.33 21:39:30 SSH_AGENT_PID=39 21:39:30 Running ssh-add (command line suppressed) 21:39:30 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_4282366361653698921.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_4282366361653698921.key) 21:39:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:31 + git tag --points-at HEAD [Pipeline] } 21:39:31 $ docker exec --env ******** --env ******** 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f ssh-agent -k 21:39:31 unset SSH_AUTH_SOCK; 21:39:31 unset SSH_AGENT_PID; 21:39:31 echo Agent pid 39 killed; 21:39:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:39:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:31 [ssh-agent] Looking for ssh-agent implementation... 21:39:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:31 $ docker exec 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f ssh-agent 21:39:31 SSH_AUTH_SOCK=/tmp/ssh-y3C8kTQVpmHS/agent.71 21:39:31 SSH_AGENT_PID=77 21:39:31 Running ssh-add (command line suppressed) 21:39:31 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_18414008372637288038.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_18414008372637288038.key) 21:39:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:32 + git semver init 21:39:32 2023-07-26 21:39:32,196 [run_init] DEBUG init version:0.0.0 force:False 21:39:32 2023-07-26 21:39:32,197 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver 21:39:32 2023-07-26 21:39:32,197 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver 21:39:32 2023-07-26 21:39:32,197 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) 21:39:33 2023-07-26 21:39:33,003 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude 21:39:33 2023-07-26 21:39:33,003 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False 21:39:33 2023-07-26 21:39:33,003 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 21:39:33 2023-07-26 21:39:33,006 [execute] INFO git cat-file --batch-check 21:39:33 2023-07-26 21:39:33,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 21:39:33 2023-07-26 21:39:33,010 [execute] INFO git cat-file --batch 21:39:33 2023-07-26 21:39:33,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 21:39:33 2023-07-26 21:39:33,015 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 21:39:33 0.0.0 [Pipeline] } 21:39:33 $ docker exec --env ******** --env ******** 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f ssh-agent -k 21:39:33 unset SSH_AUTH_SOCK; 21:39:33 unset SSH_AGENT_PID; 21:39:33 echo Agent pid 77 killed; 21:39:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:33 + git semver [Pipeline] } 21:39:33 $ docker stop --time=1 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f 21:39:35 $ docker rm -f --volumes 2fdc6668eb23aacf232b4aa1dd544dfa6519a3301e7704709e4ed7e1e90f427f [Pipeline] // withDockerContainer [Pipeline] sh 21:39:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:39:35 Stashed 1 file(s) [Pipeline] echo 21:39:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:35 provisioning config files... 21:39:35 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config10920868460805811044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:36 ---> docker-login.sh 21:39:36 nexus3.edgexfoundry.org:10001 21:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:36 Configure a credential helper to remove this warning. See 21:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:36 21:39:36 Login Succeeded 21:39:36 nexus3.edgexfoundry.org:10002 21:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:36 Configure a credential helper to remove this warning. See 21:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:36 21:39:36 Login Succeeded 21:39:36 nexus3.edgexfoundry.org:10003 21:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:36 Configure a credential helper to remove this warning. See 21:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:36 21:39:36 Login Succeeded 21:39:36 nexus3.edgexfoundry.org:10004 21:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:36 Configure a credential helper to remove this warning. See 21:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:36 21:39:36 Login Succeeded 21:39:36 docker.io 21:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:36 Configure a credential helper to remove this warning. See 21:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:36 21:39:36 Login Succeeded 21:39:36 ---> docker-login.sh ends [Pipeline] } 21:39:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:39:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:37 ========================================================= 21:39:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:39:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:39:37 Sending build context to Docker daemon 2.038MB 21:39:37 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:39:37 Step 2/13 : FROM ${BASE} AS builder 21:39:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:39:37 4db1b89c0bd1: Pulling fs layer 21:39:37 6911f1a30b25: Pulling fs layer 21:39:37 e194b8c5c2a9: Pulling fs layer 21:39:37 6863d3e3a2b1: Pulling fs layer 21:39:37 ec0bb842ea78: Pulling fs layer 21:39:37 40a00589a448: Pulling fs layer 21:39:37 6c08303d61cc: Pulling fs layer 21:39:37 798269fcf238: Pulling fs layer 21:39:37 6863d3e3a2b1: Waiting 21:39:37 ec0bb842ea78: Waiting 21:39:37 40a00589a448: Waiting 21:39:37 6c08303d61cc: Waiting 21:39:37 798269fcf238: Waiting 21:39:37 6911f1a30b25: Verifying Checksum 21:39:37 6911f1a30b25: Download complete 21:39:37 6863d3e3a2b1: Verifying Checksum 21:39:37 6863d3e3a2b1: Download complete 21:39:37 ec0bb842ea78: Verifying Checksum 21:39:37 ec0bb842ea78: Download complete 21:39:37 4db1b89c0bd1: Verifying Checksum 21:39:37 4db1b89c0bd1: Download complete 21:39:37 40a00589a448: Verifying Checksum 21:39:37 40a00589a448: Download complete 21:39:37 4db1b89c0bd1: Pull complete 21:39:37 6911f1a30b25: Pull complete 21:39:38 798269fcf238: Verifying Checksum 21:39:38 798269fcf238: Download complete 21:39:38 e194b8c5c2a9: Verifying Checksum 21:39:38 e194b8c5c2a9: Download complete 21:39:38 6c08303d61cc: Verifying Checksum 21:39:38 6c08303d61cc: Download complete 21:39:41 e194b8c5c2a9: Pull complete 21:39:41 6863d3e3a2b1: Pull complete 21:39:41 ec0bb842ea78: Pull complete 21:39:41 40a00589a448: Pull complete 21:39:44 6c08303d61cc: Pull complete 21:39:45 798269fcf238: Pull complete 21:39:45 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:39:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:39:45 ---> ec979cd7f677 21:39:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:39:50 Still waiting to schedule task 21:39:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2283’ is offline 21:39:53 ---> Running in 8aa47a4c6d7e 21:39:53 Removing intermediate container 8aa47a4c6d7e 21:39:53 ---> 4df89e47a4b5 21:39:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:53 ---> Running in a9377dacd9ce 21:39:53 Removing intermediate container a9377dacd9ce 21:39:53 ---> 23e77b269af1 21:39:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:39:53 ---> Running in e903e043282d 21:39:53 Removing intermediate container e903e043282d 21:39:53 ---> 077b3d9ef8a9 21:39:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:39:53 ---> Running in 2660b9d0c294 21:39:53 Removing intermediate container 2660b9d0c294 21:39:53 ---> 66d7ca0d14ba 21:39:53 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:53 ---> Running in 2242d7e893b1 21:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:39:53 (1/14) Installing libintl (0.21.1-r1) 21:39:53 (2/14) Installing eudev-libs (3.2.11-r4) 21:39:53 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:39:53 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:39:53 (5/14) Installing v4l-utils (1.22.1-r2) 21:39:53 (6/14) Installing udev-init-scripts (35-r1) 21:39:53 (7/14) Installing libblkid (2.38.1-r1) 21:39:53 (8/14) Installing xz-libs (5.2.9-r0) 21:39:53 (9/14) Installing zstd-libs (1.5.5-r0) 21:39:53 (10/14) Installing kmod-libs (30-r1) 21:39:53 (11/14) Installing eudev (3.2.11-r4) 21:39:53 (12/14) Installing eudev-dev (3.2.11-r4) 21:39:53 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:39:53 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:39:53 Executing busybox-1.35.0-r29.trigger 21:39:53 Executing eudev-3.2.11-r4.trigger 21:39:53 OK: 272 MiB in 67 packages 21:39:54 Removing intermediate container 2242d7e893b1 21:39:54 ---> 2f18bcdc53b0 21:39:54 Step 8/13 : WORKDIR /device-usb-camera 21:39:54 ---> Running in 2007d27dc01b 21:39:54 Removing intermediate container 2007d27dc01b 21:39:54 ---> 07c1d811ce96 21:39:54 Step 9/13 : COPY go.mod vendor* ./ 21:39:54 ---> 8629cf8ca7e4 21:39:54 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:54 ---> Running in 591340bafc8d 21:40:26 Removing intermediate container 591340bafc8d 21:40:26 ---> 28da8b532368 21:40:26 Step 11/13 : COPY . . 21:40:26 ---> 421cff02c86b 21:40:26 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:40:26 ---> Running in 4a2e67bff3a9 21:40:26  % Total % Received % Xferd Average Speed Time Time Time Current 21:40:26 Dload Upload Total Spent Left Speed 21:40:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8559 0 --:--:-- --:--:-- --:--:-- 8634 21:40:26 Removing intermediate container 4a2e67bff3a9 21:40:26 ---> 7b70807bd453 21:40:26 Step 13/13 : RUN ${MAKE} 21:40:26 ---> Running in 4b2964e5dd79 21:40:26 noop 21:40:27 Removing intermediate container 4b2964e5dd79 21:40:27 ---> b905355cec3b 21:40:27 Successfully built b905355cec3b 21:40:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:27 + docker inspect -f . ci-base-image-x86_64 21:40:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:27 prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container 21:40:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:40:27 $ docker top 7485c115fabb4ddeb8d38138458e74393c3396d20809013e3140a85be6d7dcd6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:28 + go version 21:40:28 go version go1.20.6 linux/amd64 [Pipeline] } 21:40:28 $ docker stop --time=1 7485c115fabb4ddeb8d38138458e74393c3396d20809013e3140a85be6d7dcd6 21:40:29 $ docker rm -f --volumes 7485c115fabb4ddeb8d38138458e74393c3396d20809013e3140a85be6d7dcd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:29 + docker inspect -f . ci-base-image-x86_64 21:40:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:29 prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container 21:40:30 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:40:30 $ docker top 53733349d884a316b6f05082bff8aa9175252a107fbcb175fc606be996e93723 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:30 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh 21:40:31 + make test 21:40:31 go test ./... -coverprofile=coverage.out ./... 21:40:36 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:40:46 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:40:46 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 3.5% of statements 21:40:51 go vet ./... 21:40:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:40:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:40:54 ./bin/test-attribution-txt.sh [Pipeline] echo 21:40:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:40:54 $ docker stop --time=1 53733349d884a316b6f05082bff8aa9175252a107fbcb175fc606be996e93723 21:40:59 $ docker rm -f --volumes 53733349d884a316b6f05082bff8aa9175252a107fbcb175fc606be996e93723 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:41:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:41:00 + ls -al . 21:41:00 total 204 21:41:00 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 21:40 . 21:41:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 21:39 .. 21:41:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 21:39 .git 21:41:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:39 .github 21:41:00 -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 21:39 .gitignore 21:41:00 -rw-rw-r-- 1 jenkins jenkins 45 Jul 26 21:39 .golangci.yml 21:41:00 -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 21:39 .hadolint.yml 21:41:00 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 21:39 .semver 21:41:00 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 26 21:39 Attribution.txt 21:41:00 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 26 21:39 CHANGELOG.md 21:41:00 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 26 21:39 Dockerfile 21:41:00 -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 21:39 GOVERNANCE.md 21:41:00 -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 21:39 Jenkinsfile 21:41:00 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 21:39 LICENSE 21:41:00 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 26 21:39 Makefile 21:41:00 -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 21:39 OWNERS.md 21:41:00 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 26 21:39 README.md 21:41:00 -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 21:39 VERSION 21:41:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 21:39 bin 21:41:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:39 cmd 21:41:00 -rw-r--r-- 1 jenkins jenkins 43708 Jul 26 21:40 coverage.out 21:41:00 -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 21:39 docker-entrypoint.sh 21:41:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 21:39 docs 21:41:00 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 26 21:39 go.mod 21:41:00 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 26 21:39 go.sum 21:41:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:39 internal 21:41:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 21:39 snap 21:41:00 -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:01 + 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=17c9c1b229f0135c46f4d448d01a1aa896ad8439 --label arch=amd64 --label version=0.0.0 . 21:41:01 Sending build context to Docker daemon 2.082MB 21:41:01 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:41:01 Step 2/36 : FROM ${BASE} AS builder 21:41:01 ---> b905355cec3b 21:41:01 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:41:01 ---> Running in e687e3b37c12 21:41:01 Removing intermediate container e687e3b37c12 21:41:01 ---> 83f4a6496250 21:41:01 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:41:01 ---> Running in 7f8cc00c7251 21:41:01 Removing intermediate container 7f8cc00c7251 21:41:01 ---> 225aa6987e25 21:41:01 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:41:01 ---> Running in f257b75b3c25 21:41:01 Removing intermediate container f257b75b3c25 21:41:01 ---> 038ce498219a 21:41:01 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:41:01 ---> Running in 3b8b62f0b861 21:41:01 Removing intermediate container 3b8b62f0b861 21:41:01 ---> a76cf0888640 21:41:01 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:41:01 ---> Running in 787cdfcf41bb 21:41:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:41:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:41:02 OK: 272 MiB in 67 packages 21:41:02 Removing intermediate container 787cdfcf41bb 21:41:02 ---> eb14e7ca1e5f 21:41:02 Step 8/36 : WORKDIR /device-usb-camera 21:41:02 ---> Running in b32538063572 21:41:02 Removing intermediate container b32538063572 21:41:02 ---> 59510296fb7b 21:41:02 Step 9/36 : COPY go.mod vendor* ./ 21:41:02 ---> 0137d0e75305 21:41:02 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:41:02 ---> Running in 6329b5decbef 21:41:03 Removing intermediate container 6329b5decbef 21:41:03 ---> 7cc877ade2b2 21:41:03 Step 11/36 : COPY . . 21:41:03 ---> 363e0de1090a 21:41:03 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:41:03 ---> Running in 94d99cd485ae 21:41:04  % Total % Received % Xferd Average Speed Time Time Time Current 21:41:04 Dload Upload Total Spent Left Speed 21:41:04 0  0  0  0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 18458 0 --:--:-- --:--:-- --:--:-- 18631 21:41:04 Removing intermediate container 94d99cd485ae 21:41:04 ---> 194852868ae5 21:41:04 Step 13/36 : RUN ${MAKE} 21:41:04 ---> Running in 99138e1db871 21:41:04 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:41:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2286 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws 21:41:22 Running in /w/workspace/device-usb-camera/27 [Pipeline] { [Pipeline] checkout 21:41:22 Selected Git installation does not exist. Using Default 21:41:22 The recommended git tool is: NONE 21:41:26 Removing intermediate container 99138e1db871 21:41:26 ---> 4f9afdfe4243 21:41:26 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:41:26 v0.21.6: Pulling from aler9/rtsp-simple-server 21:41:26 4acc49c71d14: Pulling fs layer 21:41:26 4acc49c71d14: Download complete 21:41:27 4acc49c71d14: Pull complete 21:41:27 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:41:27 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:41:27 ---> 01a2bd3e5fff 21:41:27 Step 15/36 : FROM alpine:3.17 21:41:27 using credential edgex-jenkins-ssh 21:41:27 Cloning the remote Git repository 21:41:27 3.17: Pulling from library/alpine 21:41:27 4db1b89c0bd1: Already exists 21:41:27 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:41:27 Status: Downloaded newer image for alpine:3.17 21:41:27 ---> 1f73a9d63274 21:41:27 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:41:28 ---> Running in 841a0519e9ad 21:41:28 Removing intermediate container 841a0519e9ad 21:41:28 ---> bef515428248 21:41:28 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:41:28 ---> Running in b1076fc2f737 21:41:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:41:27 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:41:27 > git init /w/workspace/device-usb-camera/27 # timeout=10 21:41:27 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:41:27 > git --version # timeout=10 21:41:27 > git --version # 'git version 2.25.1' 21:41:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:41:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:41:28 (1/86) Installing dumb-init (1.2.5-r2) 21:41:28 (2/86) Installing sdl2 (2.26.5-r0) 21:41:28 (3/86) Installing svt-av1-libs (1.3.0-r0) 21:41:28 (4/86) Installing libxau (1.0.10-r0) 21:41:28 (5/86) Installing libmd (1.0.4-r0) 21:41:28 (6/86) Installing libbsd (0.11.7-r0) 21:41:28 (7/86) Installing libxdmcp (1.1.4-r0) 21:41:28 (8/86) Installing libxcb (1.15-r0) 21:41:28 (9/86) Installing libx11 (1.8.4-r1) 21:41:28 (10/86) Installing aom-libs (3.5.0-r0) 21:41:28 (11/86) Installing alsa-lib (1.2.8-r0) 21:41:29 (12/86) Installing libexpat (2.5.0-r0) 21:41:29 (13/86) Installing brotli-libs (1.0.9-r9) 21:41:29 (14/86) Installing libbz2 (1.0.8-r4) 21:41:29 (15/86) Installing libpng (1.6.38-r0) 21:41:29 (16/86) Installing freetype (2.12.1-r0) 21:41:29 (17/86) Installing fontconfig (2.14.1-r0) 21:41:29 (18/86) Installing fribidi (1.0.12-r0) 21:41:29 (19/86) Installing libffi (3.4.4-r0) 21:41:29 (20/86) Installing libintl (0.21.1-r1) 21:41:29 (21/86) Installing libblkid (2.38.1-r1) 21:41:29 (22/86) Installing libmount (2.38.1-r1) 21:41:29 (23/86) Installing pcre2 (10.42-r0) 21:41:29 (24/86) Installing glib (2.74.7-r0) 21:41:29 (25/86) Installing graphite2 (1.3.14-r2) 21:41:29 (26/86) Installing harfbuzz (5.3.1-r1) 21:41:29 (27/86) Installing libass (0.16.0-r1) 21:41:29 (28/86) Installing libdav1d (1.0.0-r2) 21:41:29 (29/86) Installing hwdata-pci (0.364-r0) 21:41:29 (30/86) Installing libpciaccess (0.17-r0) 21:41:29 (31/86) Installing libdrm (2.4.114-r0) 21:41:29 (32/86) Installing gmp (6.2.1-r2) 21:41:29 (33/86) Installing nettle (3.8.1-r0) 21:41:29 (34/86) Installing p11-kit (0.24.1-r1) 21:41:29 (35/86) Installing libtasn1 (4.19.0-r0) 21:41:29 (36/86) Installing libunistring (1.1-r0) 21:41:29 (37/86) Installing gnutls (3.7.8-r3) 21:41:29 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:41:29 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 21:41:29 (40/86) Installing lame (3.100-r2) 21:41:29 (41/86) Installing opus (1.3.1-r1) 21:41:29 (42/86) Installing libasyncns (0.8-r1) 21:41:29 (43/86) Installing dbus-libs (1.14.8-r0) 21:41:29 (44/86) Installing libltdl (2.4.7-r1) 21:41:29 (45/86) Installing orc (0.4.33-r0) 21:41:29 (46/86) Installing libgcc (12.2.1_git20220924-r4) 21:41:29 (47/86) Installing libogg (1.3.5-r2) 21:41:29 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 21:41:29 (49/86) Installing flac-libs (1.4.2-r0) 21:41:29 (50/86) Installing libvorbis (1.3.7-r0) 21:41:29 (51/86) Installing libsndfile (1.1.0-r2) 21:41:29 (52/86) Installing libgomp (12.2.1_git20220924-r4) 21:41:29 (53/86) Installing soxr (0.1.3-r3) 21:41:29 (54/86) Installing speexdsp (1.2.1-r0) 21:41:29 (55/86) Installing tdb-libs (1.4.6-r0) 21:41:29 (56/86) Installing libpulse (16.1-r6) 21:41:29 (57/86) Installing cjson (1.7.15-r3) 21:41:29 (58/86) Installing mbedtls (2.28.3-r0) 21:41:29 (59/86) Installing librist (0.2.7-r0) 21:41:29 (60/86) Installing libsrt (1.5.1-r0) 21:41:29 (61/86) Installing libssh (0.10.5-r0) 21:41:29 (62/86) Installing libtheora (1.1.1-r16) 21:41:29 (63/86) Installing libjpeg-turbo (2.1.4-r0) 21:41:29 (64/86) Installing v4l-utils-libs (1.22.1-r2) 21:41:29 (65/86) Installing libxext (1.3.5-r0) 21:41:29 (66/86) Installing libxfixes (6.0.0-r0) 21:41:29 (67/86) Installing wayland-libs-client (1.21.0-r1) 21:41:29 (68/86) Installing libva (2.16.0-r0) 21:41:29 (69/86) Installing libvdpau (1.5-r0) 21:41:29 (70/86) Installing vidstab (1.1.0-r2) 21:41:29 (71/86) Installing libvpx (1.12.0-r1) 21:41:29 (72/86) Installing libwebp (1.2.4-r2) 21:41:29 (73/86) Installing x264-libs (0.164_git20220602-r0) 21:41:29 (74/86) Installing numactl (2.0.16-r1) 21:41:29 (75/86) Installing x265-libs (3.5-r3) 21:41:29 (76/86) Installing xvidcore (1.3.7-r1) 21:41:29 (77/86) Installing libsodium (1.0.18-r2) 21:41:29 (78/86) Installing libzmq (4.3.4-r1) 21:41:29 (79/86) Installing ffmpeg-libs (5.1.3-r0) 21:41:28 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:41:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:41:29 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:41:29 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:41:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:41:30 (80/86) Installing ffmpeg (5.1.3-r0) 21:41:30 (81/86) Installing udev-init-scripts (35-r1) 21:41:30 (82/86) Installing eudev-libs (3.2.11-r4) 21:41:30 (83/86) Installing xz-libs (5.2.9-r0) 21:41:30 (84/86) Installing zstd-libs (1.5.5-r0) 21:41:30 (85/86) Installing kmod-libs (30-r1) 21:41:30 (86/86) Installing eudev (3.2.11-r4) 21:41:30 Executing busybox-1.35.0-r29.trigger 21:41:30 Executing eudev-3.2.11-r4.trigger 21:41:30 OK: 112 MiB in 101 packages 21:41:31 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 17c9c1b229f0135c46f4d448d01a1aa896ad8439 21:41:31 Merge succeeded, producing 17c9c1b229f0135c46f4d448d01a1aa896ad8439 21:41:31 Checking out Revision 17c9c1b229f0135c46f4d448d01a1aa896ad8439 (PR-265) 21:41:32 Commit message: "fix: name of fps field" 21:41:31 > git config core.sparsecheckout # timeout=10 21:41:31 > git checkout -f 17c9c1b229f0135c46f4d448d01a1aa896ad8439 # timeout=10 21:41:31 > git remote # timeout=10 21:41:31 > git config --get remote.origin.url # timeout=10 21:41:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:31 > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 21:41:31 > git rev-parse HEAD^{commit} # timeout=10 21:41:31 > git config core.sparsecheckout # timeout=10 21:41:31 > git checkout -f 17c9c1b229f0135c46f4d448d01a1aa896ad8439 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:41:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:41:33 % Total % Received % Xferd Average Speed Time Time Time Current 21:41:33 Dload Upload Total Spent Left Speed 21:41:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 46706 0 --:--:-- --:--:-- --:--:-- 46706 [Pipeline] sh 21:41:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:41:34 Removing intermediate container b1076fc2f737 21:41:34 ---> fe5d32ad7e2c 21:41:34 Step 18/36 : WORKDIR / 21:41:34 ---> Running in c9b6e66b1d74 21:41:34 Removing intermediate container c9b6e66b1d74 21:41:34 ---> 5aa06a015ec7 21:41:34 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:41:34 + sudo tee /etc/docker/daemon.new 21:41:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:41:34 { 21:41:34 "registry-mirrors": [ 21:41:34 "https://nexus3.edgexfoundry.org:10001" 21:41:34 ], 21:41:34 "bip": "10.250.0.254/24", 21:41:34 "hosts": [ 21:41:34 "tcp://0.0.0.0:5555", 21:41:34 "unix:///var/run/docker.sock" 21:41:34 ], 21:41:34 "mtu": 1458, 21:41:34 "selinux-enabled": true, 21:41:34 "seccomp-profile": "/etc/docker/seccomp.json" 21:41:34 } [Pipeline] sh 21:41:34 ---> 2f8bd96f17d2 21:41:34 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:41:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:41:34 ---> 33ed71151bc1 21:41:34 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:41:34 ---> b2caf108394e 21:41:34 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:41:34 ---> b37b7d63f0cb 21:41:34 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:41:35 + sudo service docker restart 21:41:35 ---> 1eda61faada6 21:41:35 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:41:35 ---> 00c97dcab9bb 21:41:35 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:41:36 ---> 4bee9d9cc174 21:41:36 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:41:36 ---> Running in 91566291751d 21:41:36 Removing intermediate container 91566291751d 21:41:36 ---> eb5041b75400 21:41:36 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:41:36 ---> Running in 80f22030fc20 21:41:36 Removing intermediate container 80f22030fc20 21:41:36 ---> cd4f927d7f35 21:41:36 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:41:36 ---> Running in 526f9128dd58 21:41:37 Removing intermediate container 526f9128dd58 21:41:37 ---> 734eb0b011fd 21:41:37 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:41:37 ---> Running in 3d9b2e8848c7 21:41:37 Removing intermediate container 3d9b2e8848c7 21:41:37 ---> 347ee6d31af3 21:41:37 Step 30/36 : EXPOSE 59983 21:41:37 ---> Running in 60fa6e39f8ea 21:41:38 Removing intermediate container 60fa6e39f8ea 21:41:38 ---> 47a1e9be7cab 21:41:38 Step 31/36 : EXPOSE 8554 21:41:38 ---> Running in 11e9f8b86faf 21:41:38 Removing intermediate container 11e9f8b86faf 21:41:38 ---> d11658a60c23 21:41:38 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:41:38 ---> Running in eee8ccbf7761 21:41:38 Removing intermediate container eee8ccbf7761 21:41:38 ---> 9da15ff4f888 21:41:38 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:41:38 ---> Running in beb41d8581a9 21:41:38 Removing intermediate container beb41d8581a9 21:41:38 ---> 3c8ed9504fb0 21:41:38 Step 34/36 : LABEL arch=amd64 21:41:38 ---> Running in 504e158de361 21:41:38 Removing intermediate container 504e158de361 21:41:38 ---> ee20f8365f55 21:41:38 Step 35/36 : LABEL git_sha=17c9c1b229f0135c46f4d448d01a1aa896ad8439 21:41:38 ---> Running in 3398808e97a7 21:41:38 Removing intermediate container 3398808e97a7 21:41:38 ---> 4724e07d660a 21:41:38 Step 36/36 : LABEL version=0.0.0 21:41:38 ---> Running in 9d467870df23 21:41:38 Removing intermediate container 9d467870df23 21:41:38 ---> 137383c3afcc 21:41:38 [Warning] One or more build-args [ARCH] were not consumed 21:41:38 Successfully built 137383c3afcc 21:41:38 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:41:39 21:41:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:41:39 latest: Pulling from edgex-lftools-log-publisher 21:41:39 5eb5b503b376: Pulling fs layer 21:41:39 5c69ac0246d0: Pulling fs layer 21:41:39 ec43610c2a17: Pulling fs layer 21:41:39 3a2ae6a8a46f: Pulling fs layer 21:41:39 33b1e0a273af: Pulling fs layer 21:41:39 5d3b04190fa2: Pulling fs layer 21:41:39 2f39f015ded8: Pulling fs layer 21:41:39 3a2ae6a8a46f: Waiting 21:41:39 33b1e0a273af: Waiting 21:41:39 5d3b04190fa2: Waiting 21:41:39 5c69ac0246d0: Download complete 21:41:39 3a2ae6a8a46f: Verifying Checksum 21:41:39 3a2ae6a8a46f: Download complete 21:41:39 ec43610c2a17: Verifying Checksum 21:41:39 ec43610c2a17: Download complete 21:41:39 33b1e0a273af: Verifying Checksum 21:41:39 33b1e0a273af: Download complete 21:41:39 5d3b04190fa2: Download complete 21:41:39 5eb5b503b376: Verifying Checksum 21:41:39 5eb5b503b376: Download complete 21:41:40 2f39f015ded8: Download complete 21:41:40 5eb5b503b376: Pull complete 21:41:40 5c69ac0246d0: Pull complete 21:41:41 ec43610c2a17: Pull complete 21:41:41 3a2ae6a8a46f: Pull complete 21:41:41 33b1e0a273af: Pull complete 21:41:41 5d3b04190fa2: Pull complete 21:41:45 2f39f015ded8: Pull complete 21:41:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:41:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:45 prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container 21:41:46 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:41:51 $ docker top c397fb9bb7cf87f0d42ff94a8732c2ee209b730e9f61db3f94c16a33297af8ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:52 ---> job-cost.sh 21:41:52 lf-activate-venv: SKIPPING 21:41:52 INFO: No Stack... 21:41:52 INFO: Retrieving Pricing Info for: v3-standard-8 21:41:52 INFO: Archiving Costs [Pipeline] sh 21:41:53 + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv 21:41:53 + cut -d, -f6 [Pipeline] lock 21:41:53 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] 21:41:53 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] did not exist. Created. 21:41:53 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:53 provisioning config files... 21:41:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/27@tmp/config277822682992176143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:53 + echo total: 0.2199999988079071 [Pipeline] stash 21:41:53 Stashed 1 file(s) [Pipeline] } 21:41:53 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [Pipeline] // lock [Pipeline] } 21:41:53 $ docker stop --time=1 c397fb9bb7cf87f0d42ff94a8732c2ee209b730e9f61db3f94c16a33297af8ac 21:41:53 ---> docker-login.sh 21:41:53 nexus3.edgexfoundry.org:10001 21:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:54 Configure a credential helper to remove this warning. See 21:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:54 21:41:54 Login Succeeded 21:41:54 nexus3.edgexfoundry.org:10002 21:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:54 Configure a credential helper to remove this warning. See 21:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:54 21:41:54 Login Succeeded 21:41:54 nexus3.edgexfoundry.org:10003 21:41:54 $ docker rm -f --volumes c397fb9bb7cf87f0d42ff94a8732c2ee209b730e9f61db3f94c16a33297af8ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 21:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:55 Configure a credential helper to remove this warning. See 21:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:55 21:41:55 Login Succeeded 21:41:55 nexus3.edgexfoundry.org:10004 21:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:55 Configure a credential helper to remove this warning. See 21:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:55 21:41:55 Login Succeeded 21:41:55 docker.io 21:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:55 Configure a credential helper to remove this warning. See 21:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:55 21:41:55 Login Succeeded 21:41:55 ---> docker-login.sh ends [Pipeline] } 21:41:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:41:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:56 ========================================================= 21:41:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:41:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:41:56 Sending build context to Docker daemon 1.234MB 21:41:56 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:41:56 Step 2/13 : FROM ${BASE} AS builder 21:41:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:41:57 edb6bdbacee9: Pulling fs layer 21:41:57 5f9638ab2659: Pulling fs layer 21:41:57 8d51d6327a98: Pulling fs layer 21:41:57 8b374f2dd631: Pulling fs layer 21:41:57 ec14aa9079de: Pulling fs layer 21:41:57 2f466654f4bb: Pulling fs layer 21:41:57 554e91adad29: Pulling fs layer 21:41:57 ec14aa9079de: Waiting 21:41:57 2f466654f4bb: Waiting 21:41:57 554e91adad29: Waiting 21:41:57 8b374f2dd631: Waiting 21:41:57 5f9638ab2659: Verifying Checksum 21:41:57 5f9638ab2659: Download complete 21:41:57 8b374f2dd631: Verifying Checksum 21:41:57 8b374f2dd631: Download complete 21:41:57 ec14aa9079de: Verifying Checksum 21:41:57 ec14aa9079de: Download complete 21:41:57 edb6bdbacee9: Verifying Checksum 21:41:57 edb6bdbacee9: Download complete 21:41:58 edb6bdbacee9: Pull complete 21:41:59 554e91adad29: Verifying Checksum 21:41:59 554e91adad29: Download complete 21:41:59 5f9638ab2659: Pull complete 21:42:00 2f466654f4bb: Verifying Checksum 21:42:00 2f466654f4bb: Download complete 21:42:00 8d51d6327a98: Verifying Checksum 21:42:00 8d51d6327a98: Download complete 21:42:12 8d51d6327a98: Pull complete 21:42:12 8b374f2dd631: Pull complete 21:42:12 ec14aa9079de: Pull complete 21:42:18 2f466654f4bb: Pull complete 21:42:19 554e91adad29: Pull complete 21:42:19 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:42:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:42:19 ---> 1e15ea492957 21:42:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:42:21 ---> Running in a72339201844 21:42:21 Removing intermediate container a72339201844 21:42:21 ---> a071b7fadd78 21:42:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:42:21 ---> Running in 5a550e515df3 21:42:22 Removing intermediate container 5a550e515df3 21:42:22 ---> 134717dc1fca 21:42:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:42:22 ---> Running in ded7828f2afb 21:42:22 Removing intermediate container ded7828f2afb 21:42:22 ---> 9331978944ca 21:42:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:42:22 ---> Running in a53b35e393ae 21:42:23 Removing intermediate container a53b35e393ae 21:42:23 ---> 67c8b1d08394 21:42:23 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:42:23 ---> Running in feb124e5bed6 21:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:42:25 (1/14) Installing libintl (0.21.1-r1) 21:42:25 (2/14) Installing eudev-libs (3.2.11-r4) 21:42:25 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:42:25 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:42:25 (5/14) Installing v4l-utils (1.22.1-r2) 21:42:25 (6/14) Installing udev-init-scripts (35-r1) 21:42:25 (7/14) Installing libblkid (2.38.1-r1) 21:42:25 (8/14) Installing xz-libs (5.2.9-r0) 21:42:25 (9/14) Installing zstd-libs (1.5.5-r0) 21:42:25 (10/14) Installing kmod-libs (30-r1) 21:42:25 (11/14) Installing eudev (3.2.11-r4) 21:42:25 (12/14) Installing eudev-dev (3.2.11-r4) 21:42:25 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:42:25 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:42:25 Executing busybox-1.35.0-r29.trigger 21:42:25 Executing eudev-3.2.11-r4.trigger 21:42:25 OK: 271 MiB in 67 packages 21:42:27 Removing intermediate container feb124e5bed6 21:42:27 ---> 2ce10de859f2 21:42:27 Step 8/13 : WORKDIR /device-usb-camera 21:42:27 ---> Running in bd660e236eaf 21:42:27 Removing intermediate container bd660e236eaf 21:42:27 ---> 7c9e6671435d 21:42:27 Step 9/13 : COPY go.mod vendor* ./ 21:42:27 ---> 80e8927af1e2 21:42:27 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:42:28 ---> Running in be1629e1af0d 21:43:36 Removing intermediate container be1629e1af0d 21:43:36 ---> da4d34381125 21:43:36 Step 11/13 : COPY . . 21:43:36 ---> 9e39f2f4ef1f 21:43:36 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:43:36 ---> Running in 207f14554d5c 21:43:36  % Total % Received % Xferd Average Speed Time  Time Time Current 21:43:36  Dload Upload Total Spent Left Speed 21:43:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4527 0 --:--:-- --:--:-- --:--:-- 4557 21:43:36 Removing intermediate container 207f14554d5c 21:43:36 ---> 096f7ce74f30 21:43:36 Step 13/13 : RUN ${MAKE} 21:43:36 ---> Running in 15d6a37f386d 21:43:36 noop 21:43:36 Removing intermediate container 15d6a37f386d 21:43:36 ---> 96b36fcedc57 21:43:36 Successfully built 96b36fcedc57 21:43:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:36 + docker inspect -f . ci-base-image-arm64 21:43:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:36 prd-ubuntu20.04-docker-arm64-4c-16g-2286 does not seem to be running inside a container 21:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/27 -v /w/workspace/device-usb-camera/27:/w/workspace/device-usb-camera/27:rw,z -v /w/workspace/device-usb-camera/27@tmp:/w/workspace/device-usb-camera/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:43:37 $ docker top adee0c7f58a5e02549645bdc63a3e2581986cd5134be6189602fad796219cdd3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:38 + go version 21:43:38 go version go1.20.6 linux/arm64 [Pipeline] } 21:43:38 $ docker stop --time=1 adee0c7f58a5e02549645bdc63a3e2581986cd5134be6189602fad796219cdd3 21:43:40 $ docker rm -f --volumes adee0c7f58a5e02549645bdc63a3e2581986cd5134be6189602fad796219cdd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:40 + docker inspect -f . ci-base-image-arm64 21:43:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:40 prd-ubuntu20.04-docker-arm64-4c-16g-2286 does not seem to be running inside a container 21:43:41 $ 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/27 -v /w/workspace/device-usb-camera/27:/w/workspace/device-usb-camera/27:rw,z -v /w/workspace/device-usb-camera/27@tmp:/w/workspace/device-usb-camera/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:43:42 $ docker top c36b97923e85906977cdd1c7c631e041e8302171c85bf0c88697ef6015a9b921 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:42 + git config --global --add safe.directory /w/workspace/device-usb-camera/27 [Pipeline] fileExists [Pipeline] sh 21:43:43 + make test 21:43:43 go test ./... -coverprofile=coverage.out ./... 21:44:15 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:46:06 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:46:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.092s coverage: 3.5% of statements 21:46:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:46:12 go vet ./... 21:46:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:46:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:46:51 ./bin/test-attribution-txt.sh [Pipeline] echo 21:46:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:46:51 $ docker stop --time=1 c36b97923e85906977cdd1c7c631e041e8302171c85bf0c88697ef6015a9b921 21:46:53 $ docker rm -f --volumes c36b97923e85906977cdd1c7c631e041e8302171c85bf0c88697ef6015a9b921 [Pipeline] // withDockerContainer [Pipeline] sh 21:46:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:46:54 Warning: overwriting stash ‘coverage-report’ 21:46:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:46:55 + ls -al . 21:46:55 total 200 21:46:55 drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 21:43 . 21:46:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 21:41 .. 21:46:55 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 21:41 .git 21:46:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:41 .github 21:46:55 -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 21:41 .gitignore 21:46:55 -rw-rw-r-- 1 jenkins jenkins 45 Jul 26 21:41 .golangci.yml 21:46:55 -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 21:41 .hadolint.yml 21:46:55 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 26 21:41 Attribution.txt 21:46:55 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 26 21:41 CHANGELOG.md 21:46:55 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 26 21:41 Dockerfile 21:46:55 -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 21:41 GOVERNANCE.md 21:46:55 -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 21:41 Jenkinsfile 21:46:55 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 21:41 LICENSE 21:46:55 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 26 21:41 Makefile 21:46:55 -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 21:41 OWNERS.md 21:46:55 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 26 21:41 README.md 21:46:55 -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 21:39 VERSION 21:46:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 21:41 bin 21:46:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:41 cmd 21:46:55 -rw-r--r-- 1 jenkins jenkins 43708 Jul 26 21:46 coverage.out 21:46:55 -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 21:41 docker-entrypoint.sh 21:46:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 21:41 docs 21:46:55 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 26 21:41 go.mod 21:46:55 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 26 21:41 go.sum 21:46:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 21:41 internal 21:46:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 21:41 snap 21:46:55 -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 21:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:55 + 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=17c9c1b229f0135c46f4d448d01a1aa896ad8439 --label arch=arm64 --label version=0.0.0 . 21:46:56 Sending build context to Docker daemon 1.279MB 21:46:56 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:46:56 Step 2/36 : FROM ${BASE} AS builder 21:46:56 ---> 96b36fcedc57 21:46:56 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:46:56 ---> Running in f90457b0b9fc 21:46:56 Removing intermediate container f90457b0b9fc 21:46:56 ---> 1f6a43fcaaa7 21:46:56 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:46:56 ---> Running in b913394eac33 21:46:56 Removing intermediate container b913394eac33 21:46:56 ---> b0e6dc6cbb9f 21:46:56 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:46:56 ---> Running in af5006e39ff9 21:46:57 Removing intermediate container af5006e39ff9 21:46:57 ---> d570d7d58654 21:46:57 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:46:57 ---> Running in 58bed4c22ef1 21:46:57 Removing intermediate container 58bed4c22ef1 21:46:57 ---> 725621b695b2 21:46:57 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:46:57 ---> Running in 42309462e968 21:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:46:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:47:00 OK: 271 MiB in 67 packages 21:47:01 Removing intermediate container 42309462e968 21:47:01 ---> 74414820fba2 21:47:01 Step 8/36 : WORKDIR /device-usb-camera 21:47:01 ---> Running in b7848d0cdc4a 21:47:01 Removing intermediate container b7848d0cdc4a 21:47:01 ---> 46305e86531e 21:47:01 Step 9/36 : COPY go.mod vendor* ./ 21:47:01 ---> 1813c6bce88a 21:47:01 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:01 ---> Running in 9c1c56af9f68 21:47:04 Removing intermediate container 9c1c56af9f68 21:47:04 ---> e0aa7dc43076 21:47:04 Step 11/36 : COPY . . 21:47:05 ---> c84cf0747547 21:47:05 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:47:05 ---> Running in fc21af75eaf7 21:47:06  % Total % Received % Xferd Average Speed Time Time Time Current 21:47:06 Dload Upload Total Spent Left Speed 21:47:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3992 0 --:--:-- --:--:-- --:--:-- 4007 21:47:06 Removing intermediate container fc21af75eaf7 21:47:06 ---> ea594aa6c3cb 21:47:06 Step 13/36 : RUN ${MAKE} 21:47:06 ---> Running in a2d332d5d441 21:47:07 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:49:29 Removing intermediate container a2d332d5d441 21:49:29 ---> 6bc721bf3635 21:49:29 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:49:29 v0.21.6: Pulling from aler9/rtsp-simple-server 21:49:30 8766b47fe142: Pulling fs layer 21:49:30 8766b47fe142: Verifying Checksum 21:49:30 8766b47fe142: Download complete 21:49:31 8766b47fe142: Pull complete 21:49:31 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:49:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:49:31 ---> 69d40e2cb93c 21:49:31 Step 15/36 : FROM alpine:3.17 21:49:31 3.17: Pulling from library/alpine 21:49:31 edb6bdbacee9: Already exists 21:49:31 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:49:31 Status: Downloaded newer image for alpine:3.17 21:49:31 ---> 779605e5fbc0 21:49:31 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:49:32 ---> Running in d64127bab816 21:49:32 Removing intermediate container d64127bab816 21:49:32 ---> 1e407cd29a63 21:49:32 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:49:32 ---> Running in 5ec8bd031c21 21:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:49:34 (1/83) Installing dumb-init (1.2.5-r2) 21:49:34 (2/83) Installing sdl2 (2.26.5-r0) 21:49:34 (3/83) Installing libxau (1.0.10-r0) 21:49:34 (4/83) Installing libmd (1.0.4-r0) 21:49:34 (5/83) Installing libbsd (0.11.7-r0) 21:49:34 (6/83) Installing libxdmcp (1.1.4-r0) 21:49:34 (7/83) Installing libxcb (1.15-r0) 21:49:34 (8/83) Installing libx11 (1.8.4-r1) 21:49:35 (9/83) Installing aom-libs (3.5.0-r0) 21:49:35 (10/83) Installing alsa-lib (1.2.8-r0) 21:49:35 (11/83) Installing libexpat (2.5.0-r0) 21:49:35 (12/83) Installing brotli-libs (1.0.9-r9) 21:49:35 (13/83) Installing libbz2 (1.0.8-r4) 21:49:35 (14/83) Installing libpng (1.6.38-r0) 21:49:35 (15/83) Installing freetype (2.12.1-r0) 21:49:35 (16/83) Installing fontconfig (2.14.1-r0) 21:49:35 (17/83) Installing fribidi (1.0.12-r0) 21:49:35 (18/83) Installing libffi (3.4.4-r0) 21:49:35 (19/83) Installing libintl (0.21.1-r1) 21:49:35 (20/83) Installing libblkid (2.38.1-r1) 21:49:35 (21/83) Installing libmount (2.38.1-r1) 21:49:35 (22/83) Installing pcre2 (10.42-r0) 21:49:35 (23/83) Installing glib (2.74.7-r0) 21:49:35 (24/83) Installing graphite2 (1.3.14-r2) 21:49:35 (25/83) Installing harfbuzz (5.3.1-r1) 21:49:35 (26/83) Installing libass (0.16.0-r1) 21:49:35 (27/83) Installing libdav1d (1.0.0-r2) 21:49:35 (28/83) Installing libdrm (2.4.114-r0) 21:49:35 (29/83) Installing gmp (6.2.1-r2) 21:49:35 (30/83) Installing nettle (3.8.1-r0) 21:49:35 (31/83) Installing p11-kit (0.24.1-r1) 21:49:35 (32/83) Installing libtasn1 (4.19.0-r0) 21:49:35 (33/83) Installing libunistring (1.1-r0) 21:49:35 (34/83) Installing gnutls (3.7.8-r3) 21:49:35 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:49:35 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 21:49:35 (37/83) Installing lame (3.100-r2) 21:49:35 (38/83) Installing opus (1.3.1-r1) 21:49:35 (39/83) Installing libasyncns (0.8-r1) 21:49:36 (40/83) Installing dbus-libs (1.14.8-r0) 21:49:36 (41/83) Installing libltdl (2.4.7-r1) 21:49:36 (42/83) Installing orc (0.4.33-r0) 21:49:36 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:49:36 (44/83) Installing libogg (1.3.5-r2) 21:49:36 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:49:36 (46/83) Installing flac-libs (1.4.2-r0) 21:49:36 (47/83) Installing libvorbis (1.3.7-r0) 21:49:36 (48/83) Installing libsndfile (1.1.0-r2) 21:49:36 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:49:36 (50/83) Installing soxr (0.1.3-r3) 21:49:36 (51/83) Installing speexdsp (1.2.1-r0) 21:49:36 (52/83) Installing tdb-libs (1.4.6-r0) 21:49:36 (53/83) Installing libpulse (16.1-r6) 21:49:36 (54/83) Installing cjson (1.7.15-r3) 21:49:36 (55/83) Installing mbedtls (2.28.3-r0) 21:49:36 (56/83) Installing librist (0.2.7-r0) 21:49:36 (57/83) Installing libsrt (1.5.1-r0) 21:49:36 (58/83) Installing libssh (0.10.5-r0) 21:49:36 (59/83) Installing libtheora (1.1.1-r16) 21:49:36 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:49:36 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:49:36 (62/83) Installing libxext (1.3.5-r0) 21:49:36 (63/83) Installing libxfixes (6.0.0-r0) 21:49:36 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:49:36 (65/83) Installing libva (2.16.0-r0) 21:49:36 (66/83) Installing libvdpau (1.5-r0) 21:49:36 (67/83) Installing vidstab (1.1.0-r2) 21:49:36 (68/83) Installing libvpx (1.12.0-r1) 21:49:36 (69/83) Installing libwebp (1.2.4-r2) 21:49:36 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:49:36 (71/83) Installing numactl (2.0.16-r1) 21:49:36 (72/83) Installing x265-libs (3.5-r3) 21:49:36 (73/83) Installing xvidcore (1.3.7-r1) 21:49:36 (74/83) Installing libsodium (1.0.18-r2) 21:49:36 (75/83) Installing libzmq (4.3.4-r1) 21:49:37 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:49:37 (77/83) Installing ffmpeg (5.1.3-r0) 21:49:37 (78/83) Installing udev-init-scripts (35-r1) 21:49:37 (79/83) Installing eudev-libs (3.2.11-r4) 21:49:37 (80/83) Installing xz-libs (5.2.9-r0) 21:49:37 (81/83) Installing zstd-libs (1.5.5-r0) 21:49:37 (82/83) Installing kmod-libs (30-r1) 21:49:37 (83/83) Installing eudev (3.2.11-r4) 21:49:37 Executing busybox-1.35.0-r29.trigger 21:49:37 Executing eudev-3.2.11-r4.trigger 21:49:37 OK: 86 MiB in 98 packages 21:49:41 Removing intermediate container 5ec8bd031c21 21:49:41 ---> 0ef3c26a4c3d 21:49:41 Step 18/36 : WORKDIR / 21:49:41 ---> Running in ceaeed387079 21:49:41 Removing intermediate container ceaeed387079 21:49:41 ---> 298c77b90bed 21:49:41 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:49:42 ---> 9f739680dbdd 21:49:42 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:49:43 ---> 7a2247208572 21:49:43 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:49:43 ---> 58cb7cd9a335 21:49:43 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:49:43 ---> cbed9b3d1ace 21:49:43 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:49:44 ---> dd7a001254cd 21:49:44 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:49:44 ---> de009fd37ecb 21:49:44 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:49:46 ---> 72ded5ff53c4 21:49:46 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:49:46 ---> Running in f9c7003b82e2 21:49:49 Removing intermediate container f9c7003b82e2 21:49:49 ---> ed9330639402 21:49:49 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:49:49 ---> Running in 0d29b7b00c61 21:49:50 Removing intermediate container 0d29b7b00c61 21:49:50 ---> c31a763fbf03 21:49:50 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:49:50 ---> Running in 65f25311a93f 21:49:52 Removing intermediate container 65f25311a93f 21:49:52 ---> bbd656f93fb6 21:49:52 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:49:52 ---> Running in ec1ae4b1ebf3 21:49:54 Removing intermediate container ec1ae4b1ebf3 21:49:54 ---> 3dda0bef233a 21:49:54 Step 30/36 : EXPOSE 59983 21:49:54 ---> Running in f551d4796b7b 21:49:54 Removing intermediate container f551d4796b7b 21:49:54 ---> c039079082c4 21:49:54 Step 31/36 : EXPOSE 8554 21:49:54 ---> Running in b4c42e045091 21:49:54 Removing intermediate container b4c42e045091 21:49:54 ---> 9f99ade61210 21:49:54 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:49:54 ---> Running in 230bd2bf75b6 21:49:54 Removing intermediate container 230bd2bf75b6 21:49:54 ---> 4f48d113f1b4 21:49:54 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:49:54 ---> Running in 1dac90269dbe 21:49:55 Removing intermediate container 1dac90269dbe 21:49:55 ---> e42b74ed741c 21:49:55 Step 34/36 : LABEL arch=arm64 21:49:55 ---> Running in 99f4e12864b9 21:49:55 Removing intermediate container 99f4e12864b9 21:49:55 ---> a887af3b2102 21:49:55 Step 35/36 : LABEL git_sha=17c9c1b229f0135c46f4d448d01a1aa896ad8439 21:49:55 ---> Running in 81fdd2e8f0f1 21:49:55 Removing intermediate container 81fdd2e8f0f1 21:49:55 ---> 1e14e93dace2 21:49:55 Step 36/36 : LABEL version=0.0.0 21:49:55 ---> Running in 9e971086f3c9 21:49:55 Removing intermediate container 9e971086f3c9 21:49:55 ---> acc1a96c56c5 21:49:55 [Warning] One or more build-args [ARCH] were not consumed 21:49:55 Successfully built acc1a96c56c5 21:49:55 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:56 21:49:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:57 arm64: Pulling from edgex-lftools-log-publisher 21:49:57 8998bd30e6a1: Pulling fs layer 21:49:57 04944245beec: Pulling fs layer 21:49:57 699f458cf7ca: Pulling fs layer 21:49:57 765212b225bb: Pulling fs layer 21:49:57 f23df028b6ca: Pulling fs layer 21:49:57 d65c8cfc05b1: Pulling fs layer 21:49:57 2437ff75d9bd: Pulling fs layer 21:49:57 765212b225bb: Waiting 21:49:57 f23df028b6ca: Waiting 21:49:57 d65c8cfc05b1: Waiting 21:49:57 2437ff75d9bd: Waiting 21:49:57 04944245beec: Verifying Checksum 21:49:57 04944245beec: Download complete 21:49:57 765212b225bb: Verifying Checksum 21:49:57 765212b225bb: Download complete 21:49:57 f23df028b6ca: Download complete 21:49:57 d65c8cfc05b1: Verifying Checksum 21:49:57 d65c8cfc05b1: Download complete 21:49:57 699f458cf7ca: Verifying Checksum 21:49:57 699f458cf7ca: Download complete 21:49:57 8998bd30e6a1: Verifying Checksum 21:49:57 8998bd30e6a1: Download complete 21:50:00 2437ff75d9bd: Verifying Checksum 21:50:00 2437ff75d9bd: Download complete 21:50:01 8998bd30e6a1: Pull complete 21:50:03 04944245beec: Pull complete 21:50:04 699f458cf7ca: Pull complete 21:50:04 765212b225bb: Pull complete 21:50:05 f23df028b6ca: Pull complete 21:50:05 d65c8cfc05b1: Pull complete 21:50:20 2437ff75d9bd: Pull complete 21:50:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:50:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:50:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:20 prd-ubuntu20.04-docker-arm64-4c-16g-2286 does not seem to be running inside a container 21:50:20 $ 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/27 -v /w/workspace/device-usb-camera/27:/w/workspace/device-usb-camera/27:rw,z -v /w/workspace/device-usb-camera/27@tmp:/w/workspace/device-usb-camera/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:50:23 $ docker top 021eb52709cfbf978cf9b4f3c74dc8ddd651982132005f784ded1aba982cd50d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:23 ---> job-cost.sh 21:50:23 lf-activate-venv: SKIPPING 21:50:23 INFO: No Stack... 21:50:24 INFO: Retrieving Pricing Info for: v3-standard-4 21:50:25 INFO: Archiving Costs [Pipeline] sh 21:50:25 + cat /w/workspace/device-usb-camera/27/archives/cost.csv 21:50:25 + cut -d, -f6 [Pipeline] lock 21:50:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] 21:50:25 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] did not exist. Created. 21:50:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:50:25 /w/workspace/device-usb-camera/27@tmp/durable-70a604da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:50:26 + echo total: 0.10999999940395355 [Pipeline] stash 21:50:26 Warning: overwriting stash ‘stack-cost’ 21:50:26 Stashed 1 file(s) [Pipeline] } 21:50:26 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-27-stack-cost] [Pipeline] // lock [Pipeline] } 21:50:26 $ docker stop --time=1 021eb52709cfbf978cf9b4f3c74dc8ddd651982132005f784ded1aba982cd50d 21:50:27 $ docker rm -f --volumes 021eb52709cfbf978cf9b4f3c74dc8ddd651982132005f784ded1aba982cd50d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:50:28 provisioning config files... 21:50:28 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config9526775787579882909tmp [Pipeline] { [Pipeline] sh 21:50:28 + set +x 21:50:28 + curl -s https://codecov.io/bash 21:50:28 + bash -s -- 21:50:28 21:50:28 _____ _ 21:50:28 / ____| | | 21:50:28 | | ___ __| | ___ ___ _____ __ 21:50:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:50:28 | |___| (_) | (_| | __/ (_| (_) \ V / 21:50:28 \_____\___/ \__,_|\___|\___\___/ \_/ 21:50:28 Bash-1.0.6 21:50:28 21:50:28 21:50:28 ==> git version 2.25.1 found 21:50:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:50:28 Release-Date: 2020-01-08 21:50:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:50:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:50:28 ==> Jenkins CI detected. 21:50:28 current dir:  /w/workspace/foundry_device-usb-camera_PR-265 21:50:28 project root: . 21:50:28 --> token set from env 21:50:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:50:28 ==> Running gcov in . (disable via -X gcov) 21:50:28 ==> Python coveragepy not found 21:50:28 ==> Searching for coverage reports in: 21:50:28 + . 21:50:28 -> Found 1 reports 21:50:28 ==> Detecting git/mercurial file structure 21:50:28 ==> Reading reports 21:50:28 + ./coverage.out bytes=43708 21:50:28 ==> Appending adjustments 21:50:28 https://docs.codecov.io/docs/fixing-reports 21:50:28 + Found adjustments 21:50:28 ==> Gzipping contents 21:50:28 8.0K /tmp/codecov.Kl2XJ2.gz 21:50:28 ==> Uploading reports 21:50:28 url: https://codecov.io 21:50:28 query: branch=PR-265&commit=17c9c1b229f0135c46f4d448d01a1aa896ad8439&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= 21:50:28 -> Pinging Codecov 21:50:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-265&commit=17c9c1b229f0135c46f4d448d01a1aa896ad8439&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= 21:50:28 -> Uploading to 21:50:28 https://storage.googleapis.com/codecov/v4/raw/2023-07-26/73D8F5FF140700D3E01443B452E23636/17c9c1b229f0135c46f4d448d01a1aa896ad8439/a7a45e8f-e853-4337-b55b-421b48d42987.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230726%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230726T215028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b44ef558587253cc6a2d957f81c91cffa65ed39aef1b5d1e0339918ac7f1228 21:50:28 % Total % Received % Xferd Average Speed Time Time Time Current 21:50:28 Dload Upload Total Spent Left Speed 21:50:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5786 0 0 100 5786 0 27164 --:--:-- --:--:-- --:--:-- 27164 21:50:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/17c9c1b229f0135c46f4d448d01a1aa896ad8439 [Pipeline] } 21:50:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:50:29 + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] 21:50:29 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 21:50:29 total 16 21:50:29 drwxr-xr-x 3 root root 4096 Jul 26 21:41 . 21:50:29 drwxrwxr-x 11 jenkins jenkins 4096 Jul 26 21:41 .. 21:50:29 drwxr-xr-x 2 root root 4096 Jul 26 21:41 cost 21:50:29 -rw-r--r-- 1 root root 90 Jul 26 21:41 cost.csv 21:50:29 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives 21:50:29 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 21:50:29 total 16 21:50:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 21:41 . 21:50:29 drwxrwxr-x 11 jenkins jenkins 4096 Jul 26 21:41 .. 21:50:29 drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 21:41 cost 21:50:29 -rw-r--r-- 1 jenkins jenkins 90 Jul 26 21:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:50:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:50:30 ---> package-listing.sh 21:50:30 ++ facter osfamily 21:50:30 ++ tr '[:upper:]' '[:lower:]' 21:50:31 + OS_FAMILY=debian 21:50:31 + workspace=/w/workspace/foundry_device-usb-camera_PR-265 21:50:31 + START_PACKAGES=/tmp/packages_start.txt 21:50:31 + END_PACKAGES=/tmp/packages_end.txt 21:50:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:50:31 + PACKAGES=/tmp/packages_start.txt 21:50:31 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 21:50:31 + PACKAGES=/tmp/packages_end.txt 21:50:31 + case "${OS_FAMILY}" in 21:50:31 + dpkg -l 21:50:31 + grep '^ii' 21:50:31 + '[' -f /tmp/packages_start.txt ']' 21:50:31 + '[' -f /tmp/packages_end.txt ']' 21:50:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:50:31 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 21:50:31 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ 21:50:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo 21:50:31 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-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:50:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:31 prd-ubuntu20.04-docker-8c-8g-2285 does not seem to be running inside a container 21:50:31 $ 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-265/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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:50:32 $ docker top 572740cc47039b0e66f0edbf857f2d30b641a7ebf8cbe2ee5c6b493c515e4b18 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:32 + touch /tmp/pre-build-complete [Pipeline] sh 21:50:32 + mkdir -p /var/log/sysstat [Pipeline] sh 21:50:33 + ls /var/log/sa-host 21:50:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:33 provisioning config files... 21:50:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config9079210974941277218tmp [Pipeline] { [Pipeline] echo 21:50:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:50:33 ---> create-netrc.sh [Pipeline] } 21:50:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:50:33 ---> python-tools-install.sh [Pipeline] echo 21:50:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:50:34 ---> sudo-logs.sh 21:50:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:50:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:50:34 ---> job-cost.sh 21:50:34 lf-activate-venv: SKIPPING 21:50:34 DEBUG: total: 0.2199999988079071 21:50:34 INFO: Retrieving Stack Cost... 21:50:34 INFO: Retrieving Pricing Info for: v3-standard-8 21:50:35 INFO: Archiving Costs [Pipeline] echo 21:50:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:50:35 ---> logs-deploy.sh 21:50:35 lf-activate-venv: SKIPPING 21:50:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/27 21:50:35 INFO: archiving workspace using pattern(s): 21:50:36 Archives upload complete. 21:50:36 INFO: archiving logs to Nexus