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 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 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-ssh10154054490435357725.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-ssh16177307324790291377.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-ssh14935462015951804517.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-ssh18306687961000646649.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-ssh5599251649070780079.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2309 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 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 Merge succeeded, producing cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 Checking out Revision cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 (PR-265) Commit message: "fix: name of deviceCommands" > git config core.sparsecheckout # timeout=10 > git checkout -f cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 # 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 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 # timeout=10 > git rev-list --no-walk db557b0a756cf7809e4a4d52a94fd34abc317e6f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:29:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:29:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:29:12 ========================================================= 00:29:12 EdgeX Global Pipelines Version Info 00:29:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:29:13 ------------------- 00:29:13 stable info: 00:29:13 ------------------- 00:29:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:29:13 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:29:13 Message: update stable to v1.0.250 00:29:13 ------------------- 00:29:13 experimental info: 00:29:13 ------------------- 00:29:13 Commited By: **** collab-it+edgex@linuxfoundation.org 00:29:13 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:29:13 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf72471 [Pipeline] echo 00:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:14 provisioning config files... 00:29:14 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config13603786912165135463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:29:14 ---> docker-login.sh 00:29:14 nexus3.edgexfoundry.org:10001 00:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:15 Configure a credential helper to remove this warning. See 00:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:15 00:29:15 Login Succeeded 00:29:15 nexus3.edgexfoundry.org:10002 00:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:15 Configure a credential helper to remove this warning. See 00:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:15 00:29:15 Login Succeeded 00:29:15 nexus3.edgexfoundry.org:10003 00:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:15 Configure a credential helper to remove this warning. See 00:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:15 00:29:15 Login Succeeded 00:29:15 nexus3.edgexfoundry.org:10004 00:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:15 Configure a credential helper to remove this warning. See 00:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:15 00:29:15 Login Succeeded 00:29:15 docker.io 00:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:15 Configure a credential helper to remove this warning. See 00:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:15 00:29:15 Login Succeeded 00:29:15 ---> docker-login.sh ends [Pipeline] } 00:29:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:29:16 + git rev-list -1 --merges cf72471dfa73fdfbc6e89d16bce2d6c491b80f72~1..cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] echo 00:29:16 -----------> git rev-list -1 --merges cf72471dfa73fdfbc6e89d16bce2d6c491b80f72~1..cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [false] [Pipeline] sh 00:29:16 + git log --format=format:%s -1 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] echo 00:29:16 ========================================================= 00:29:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:29:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:17 + git log --format=format:%s -1 cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] echo 00:29:17 [semverPrep] GIT_COMMIT: cf72471dfa73fdfbc6e89d16bce2d6c491b80f72, Commit Message: fix: name of deviceCommands [Pipeline] echo 00:29:17 [semverPrep] This is not a build commit. [Pipeline] sh 00:29:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:17 + grep -v github /etc/ssh/ssh_known_hosts 00:29:17 + [ -e /tmp/ssh_known_hosts ] 00:29:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:29:17 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:29:17 sudo tee -a /etc/ssh/ssh_known_hosts 00:29:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:17 00:29:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:18 0.1.4: Pulling from edgex-devops/py-git-semver 00:29:18 b85a868b505f: Pulling fs layer 00:29:18 e2be974225ed: Pulling fs layer 00:29:18 339a4e72a1f5: Pulling fs layer 00:29:18 988bab9f4d93: Pulling fs layer 00:29:18 1469e6f7b9e6: Pulling fs layer 00:29:18 eaf3925da568: Pulling fs layer 00:29:18 bab4dde63d76: Pulling fs layer 00:29:18 bde34c3a00c8: Pulling fs layer 00:29:18 b352a97aabf1: Pulling fs layer 00:29:18 4872d77fe225: Pulling fs layer 00:29:18 5851b861e8e6: Pulling fs layer 00:29:18 988bab9f4d93: Waiting 00:29:18 eaf3925da568: Waiting 00:29:18 1469e6f7b9e6: Waiting 00:29:18 bab4dde63d76: Waiting 00:29:18 bde34c3a00c8: Waiting 00:29:18 b352a97aabf1: Waiting 00:29:18 4872d77fe225: Waiting 00:29:18 5851b861e8e6: Waiting 00:29:18 e2be974225ed: Verifying Checksum 00:29:18 e2be974225ed: Download complete 00:29:18 988bab9f4d93: Download complete 00:29:18 1469e6f7b9e6: Verifying Checksum 00:29:18 1469e6f7b9e6: Download complete 00:29:18 eaf3925da568: Verifying Checksum 00:29:18 eaf3925da568: Download complete 00:29:18 339a4e72a1f5: Verifying Checksum 00:29:18 339a4e72a1f5: Download complete 00:29:18 bde34c3a00c8: Download complete 00:29:18 b352a97aabf1: Verifying Checksum 00:29:18 b352a97aabf1: Download complete 00:29:18 4872d77fe225: Verifying Checksum 00:29:18 4872d77fe225: Download complete 00:29:18 5851b861e8e6: Verifying Checksum 00:29:18 5851b861e8e6: Download complete 00:29:18 b85a868b505f: Verifying Checksum 00:29:18 b85a868b505f: Download complete 00:29:18 bab4dde63d76: Verifying Checksum 00:29:18 bab4dde63d76: Download complete 00:29:19 b85a868b505f: Pull complete 00:29:19 e2be974225ed: Pull complete 00:29:20 339a4e72a1f5: Pull complete 00:29:20 988bab9f4d93: Pull complete 00:29:20 1469e6f7b9e6: Pull complete 00:29:20 eaf3925da568: Pull complete 00:29:22 bab4dde63d76: Pull complete 00:29:22 bde34c3a00c8: Pull complete 00:29:22 b352a97aabf1: Pull complete 00:29:22 4872d77fe225: Pull complete 00:29:22 5851b861e8e6: Pull complete 00:29:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:29:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:22 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 00:29:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:29:25 $ docker top c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 -eo pid,comm 00:29:25 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). 00:29:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:25 [ssh-agent] Looking for ssh-agent implementation... 00:29:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:26 $ docker exec c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 ssh-agent 00:29:26 SSH_AUTH_SOCK=/tmp/ssh-SOHhBtihflno/agent.32 00:29:26 SSH_AGENT_PID=38 00:29:26 Running ssh-add (command line suppressed) 00:29:26 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_2753811126051301428.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_2753811126051301428.key) 00:29:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:26 + git tag --points-at HEAD [Pipeline] } 00:29:26 $ docker exec --env ******** --env ******** c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 ssh-agent -k 00:29:26 unset SSH_AUTH_SOCK; 00:29:26 unset SSH_AGENT_PID; 00:29:26 echo Agent pid 38 killed; 00:29:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:29:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:26 [ssh-agent] Looking for ssh-agent implementation... 00:29:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:26 $ docker exec c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 ssh-agent 00:29:26 SSH_AUTH_SOCK=/tmp/ssh-UX2P3mIPUENu/agent.70 00:29:26 SSH_AGENT_PID=76 00:29:26 Running ssh-add (command line suppressed) 00:29:27 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_6420108354017635374.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_6420108354017635374.key) 00:29:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:27 + git semver init 00:29:27 2023-07-27 00:29:27,528 [run_init] DEBUG init version:0.0.0 force:False 00:29:27 2023-07-27 00:29:27,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver 00:29:27 2023-07-27 00:29:27,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver 00:29:27 2023-07-27 00:29:27,530 [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) 00:29:28 2023-07-27 00:29:28,302 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude 00:29:28 2023-07-27 00:29:28,303 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False 00:29:28 2023-07-27 00:29:28,303 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 00:29:28 2023-07-27 00:29:28,307 [execute] INFO git cat-file --batch-check 00:29:28 2023-07-27 00:29:28,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 00:29:28 2023-07-27 00:29:28,315 [execute] INFO git cat-file --batch 00:29:28 2023-07-27 00:29:28,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 00:29:28 2023-07-27 00:29:28,320 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 00:29:28 0.0.0 [Pipeline] } 00:29:28 $ docker exec --env ******** --env ******** c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 ssh-agent -k 00:29:28 unset SSH_AUTH_SOCK; 00:29:28 unset SSH_AGENT_PID; 00:29:28 echo Agent pid 76 killed; 00:29:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:28 + git semver [Pipeline] } 00:29:29 $ docker stop --time=1 c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 00:29:30 $ docker rm -f --volumes c965bdd96379108dbd56ab2f2ccefc7bf8e5803ab6d58f0d6e960c15bd36bb99 [Pipeline] // withDockerContainer [Pipeline] sh 00:29:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:29:31 Stashed 1 file(s) [Pipeline] echo 00:29:31 [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 00:29:31 provisioning config files... 00:29:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config6718154975911973258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:29:31 ---> docker-login.sh 00:29:31 nexus3.edgexfoundry.org:10001 00:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:31 Configure a credential helper to remove this warning. See 00:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:31 00:29:31 Login Succeeded 00:29:31 nexus3.edgexfoundry.org:10002 00:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:31 Configure a credential helper to remove this warning. See 00:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:31 00:29:31 Login Succeeded 00:29:31 nexus3.edgexfoundry.org:10003 00:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:31 Configure a credential helper to remove this warning. See 00:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:31 00:29:31 Login Succeeded 00:29:31 nexus3.edgexfoundry.org:10004 00:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:31 Configure a credential helper to remove this warning. See 00:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:31 00:29:31 Login Succeeded 00:29:31 docker.io 00:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:32 Configure a credential helper to remove this warning. See 00:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:32 00:29:32 Login Succeeded 00:29:32 ---> docker-login.sh ends [Pipeline] } 00:29:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:29:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:29:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:29:32 ========================================================= 00:29:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:29:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:32 + 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 . 00:29:32 Sending build context to Docker daemon 2.042MB 00:29:32 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:29:32 Step 2/13 : FROM ${BASE} AS builder 00:29:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:29:32 4db1b89c0bd1: Pulling fs layer 00:29:32 6911f1a30b25: Pulling fs layer 00:29:32 e194b8c5c2a9: Pulling fs layer 00:29:32 6863d3e3a2b1: Pulling fs layer 00:29:32 ec0bb842ea78: Pulling fs layer 00:29:32 40a00589a448: Pulling fs layer 00:29:32 6c08303d61cc: Pulling fs layer 00:29:32 798269fcf238: Pulling fs layer 00:29:32 40a00589a448: Waiting 00:29:32 6c08303d61cc: Waiting 00:29:32 ec0bb842ea78: Waiting 00:29:32 798269fcf238: Waiting 00:29:32 6863d3e3a2b1: Waiting 00:29:32 6911f1a30b25: Verifying Checksum 00:29:32 6911f1a30b25: Download complete 00:29:32 6863d3e3a2b1: Download complete 00:29:32 ec0bb842ea78: Verifying Checksum 00:29:32 ec0bb842ea78: Download complete 00:29:33 4db1b89c0bd1: Download complete 00:29:33 40a00589a448: Verifying Checksum 00:29:33 40a00589a448: Download complete 00:29:33 4db1b89c0bd1: Pull complete 00:29:33 6911f1a30b25: Pull complete 00:29:33 798269fcf238: Verifying Checksum 00:29:33 798269fcf238: Download complete 00:29:33 e194b8c5c2a9: Verifying Checksum 00:29:33 e194b8c5c2a9: Download complete 00:29:33 6c08303d61cc: Verifying Checksum 00:29:33 6c08303d61cc: Download complete 00:29:37 e194b8c5c2a9: Pull complete 00:29:37 6863d3e3a2b1: Pull complete 00:29:37 ec0bb842ea78: Pull complete 00:29:37 40a00589a448: Pull complete 00:29:39 6c08303d61cc: Pull complete 00:29:40 798269fcf238: Pull complete 00:29:40 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:29:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:29:40 ---> ec979cd7f677 00:29:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:29:44 ---> Running in 2ac52183a9ff 00:29:44 Removing intermediate container 2ac52183a9ff 00:29:44 ---> 3333b3318f13 00:29:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:29:44 ---> Running in a6a2db0325ae 00:29:44 Removing intermediate container a6a2db0325ae 00:29:44 ---> f4d7bd13db34 00:29:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:29:44 ---> Running in 90c233701379 00:29:44 Removing intermediate container 90c233701379 00:29:44 ---> 9a2529038103 00:29:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:29:44 ---> Running in 73591ff4a179 00:29:44 Removing intermediate container 73591ff4a179 00:29:44 ---> 6a7804b00267 00:29:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:29:44 ---> Running in 8801516c1d3e 00:29:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:29:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:29:45 (1/14) Installing libintl (0.21.1-r1) 00:29:45 (2/14) Installing eudev-libs (3.2.11-r4) 00:29:45 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:29:45 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:29:45 (5/14) Installing v4l-utils (1.22.1-r2) 00:29:45 (6/14) Installing udev-init-scripts (35-r1) 00:29:45 (7/14) Installing libblkid (2.38.1-r1) 00:29:45 (8/14) Installing xz-libs (5.2.9-r0) 00:29:45 (9/14) Installing zstd-libs (1.5.5-r0) 00:29:45 (10/14) Installing kmod-libs (30-r1) 00:29:45 (11/14) Installing eudev (3.2.11-r4) 00:29:45 (12/14) Installing eudev-dev (3.2.11-r4) 00:29:45 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:29:45 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:29:45 Executing busybox-1.35.0-r29.trigger 00:29:45 Executing eudev-3.2.11-r4.trigger 00:29:45 OK: 272 MiB in 67 packages 00:29:46 Still waiting to schedule task 00:29:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2308’ 00:29:46 Removing intermediate container 8801516c1d3e 00:29:46 ---> a88fa830d4bf 00:29:46 Step 8/13 : WORKDIR /device-usb-camera 00:29:46 ---> Running in 1b5b4077bf44 00:29:46 Removing intermediate container 1b5b4077bf44 00:29:46 ---> 29318d7f1b80 00:29:46 Step 9/13 : COPY go.mod vendor* ./ 00:29:46 ---> 8bb5deff9140 00:29:46 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:29:46 ---> Running in 214ed85102b9 00:30:54 Removing intermediate container 214ed85102b9 00:30:54 ---> 1db33807bce9 00:30:54 Step 11/13 : COPY . . 00:30:54 ---> 7339371a2ce4 00:30:54 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:30:54 ---> Running in a2270abfc801 00:30:54  % Total % Received % Xferd Average Speed Time Time Time Current 00:30:54 Dload Upload Total Spent Left Speed 00:30:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7820 0 --:--:-- --:--:-- --:--:-- 7808 100 1062 100 1062 0 0 7814 0 --:--:-- --:--:-- --:--:-- 7808 00:30:54 Removing intermediate container a2270abfc801 00:30:54 ---> f0aee2e0f327 00:30:54 Step 13/13 : RUN ${MAKE} 00:30:54 ---> Running in aaf93aaacf73 00:30:54 noop 00:30:54 Removing intermediate container aaf93aaacf73 00:30:54 ---> e68700d60ae2 00:30:54 Successfully built e68700d60ae2 00:30:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:55 + docker inspect -f . ci-base-image-x86_64 00:30:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:55 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 00:30:55 $ 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 ******** ci-base-image-x86_64 cat 00:30:55 $ docker top 14874aa117217d0b623df2f7e6221be84d6258ce989d5d164261fc33d6216ebc -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:56 + go version 00:30:56 go version go1.20.6 linux/amd64 [Pipeline] } 00:30:56 $ docker stop --time=1 14874aa117217d0b623df2f7e6221be84d6258ce989d5d164261fc33d6216ebc 00:30:57 $ docker rm -f --volumes 14874aa117217d0b623df2f7e6221be84d6258ce989d5d164261fc33d6216ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:57 + docker inspect -f . ci-base-image-x86_64 00:30:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:57 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 00:30:57 $ 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 ******** ci-base-image-x86_64 cat 00:30:58 $ docker top a1209ffc8d7ddd6eff8eef9b773d03d9a347b39dfd8779c9bf3c3ec04a1682bf -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:58 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh 00:30:58 + make test 00:30:58 go test ./... -coverprofile=coverage.out ./... 00:31:02 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:31:15 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:31:15 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 3.5% of statements 00:31:20 go vet ./... 00:31:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:31:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:31:24 ./bin/test-attribution-txt.sh [Pipeline] echo 00:31:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:31:24 $ docker stop --time=1 a1209ffc8d7ddd6eff8eef9b773d03d9a347b39dfd8779c9bf3c3ec04a1682bf 00:31:28 $ docker rm -f --volumes a1209ffc8d7ddd6eff8eef9b773d03d9a347b39dfd8779c9bf3c3ec04a1682bf [Pipeline] // withDockerContainer [Pipeline] sh 00:31:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:31:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:31:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:31:29 + ls -al . 00:31:29 total 204 00:31:29 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 00:30 . 00:31:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:29 .. 00:31:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:29 .git 00:31:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:29 .github 00:31:29 -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 00:29 .gitignore 00:31:29 -rw-rw-r-- 1 jenkins jenkins 45 Jul 27 00:29 .golangci.yml 00:31:29 -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 00:29 .hadolint.yml 00:31:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 00:29 .semver 00:31:29 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 27 00:29 Attribution.txt 00:31:29 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 27 00:29 CHANGELOG.md 00:31:29 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 27 00:29 Dockerfile 00:31:29 -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 00:29 GOVERNANCE.md 00:31:29 -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 00:29 Jenkinsfile 00:31:29 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 00:29 LICENSE 00:31:29 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 27 00:29 Makefile 00:31:29 -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 00:29 OWNERS.md 00:31:29 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 27 00:29 README.md 00:31:29 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 00:29 VERSION 00:31:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:29 bin 00:31:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:29 cmd 00:31:29 -rw-r--r-- 1 jenkins jenkins 43708 Jul 27 00:31 coverage.out 00:31:29 -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 00:29 docker-entrypoint.sh 00:31:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:29 docs 00:31:29 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 27 00:29 go.mod 00:31:29 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 27 00:29 go.sum 00:31:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:29 internal 00:31:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:29 snap 00:31:29 -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 00:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:29 + 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=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 --label arch=amd64 --label version=0.0.0 . 00:31:29 Sending build context to Docker daemon 2.086MB 00:31:29 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:31:29 Step 2/36 : FROM ${BASE} AS builder 00:31:29 ---> e68700d60ae2 00:31:29 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:31:30 ---> Running in 347173030f91 00:31:30 Removing intermediate container 347173030f91 00:31:30 ---> 843235ef5ea3 00:31:30 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:31:30 ---> Running in 84986f839025 00:31:30 Removing intermediate container 84986f839025 00:31:30 ---> 52110d4ae91b 00:31:30 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:31:30 ---> Running in 1038e77daa4a 00:31:30 Removing intermediate container 1038e77daa4a 00:31:30 ---> 790500357a89 00:31:30 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:31:30 ---> Running in 0672e1268632 00:31:30 Removing intermediate container 0672e1268632 00:31:30 ---> 8ae6066415fb 00:31:30 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:31:30 ---> Running in 378bd40071b6 00:31:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:31:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:31:31 OK: 272 MiB in 67 packages 00:31:31 Removing intermediate container 378bd40071b6 00:31:31 ---> 1e8ded16f449 00:31:31 Step 8/36 : WORKDIR /device-usb-camera 00:31:31 ---> Running in a9fbb60e619c 00:31:31 Removing intermediate container a9fbb60e619c 00:31:31 ---> 5bed83abff57 00:31:31 Step 9/36 : COPY go.mod vendor* ./ 00:31:31 ---> 6f59b1d757d2 00:31:31 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:31:31 ---> Running in 14b677be50ee 00:31:32 Removing intermediate container 14b677be50ee 00:31:32 ---> c09df5e26cae 00:31:32 Step 11/36 : COPY . . 00:31:33 ---> d4a567ed31f2 00:31:33 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:31:33 ---> Running in ce21b8cf4f86 00:31:33  % Total % Received % Xferd Average Speed Time Time Time Current 00:31:33 Dload Upload Total Spent Left Speed 00:31:33 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20337 0 --:--:-- --:--:-- --:--:-- 20823 00:31:33 Removing intermediate container ce21b8cf4f86 00:31:33 ---> 780c175c237f 00:31:33 Step 13/36 : RUN ${MAKE} 00:31:33 ---> Running in 465276d10a4a 00:31:33 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:31:55 Removing intermediate container 465276d10a4a 00:31:55 ---> 6582dca7faf4 00:31:55 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:31:55 v0.21.6: Pulling from aler9/rtsp-simple-server 00:31:56 4acc49c71d14: Pulling fs layer 00:31:56 4acc49c71d14: Verifying Checksum 00:31:56 4acc49c71d14: Download complete 00:31:56 4acc49c71d14: Pull complete 00:31:56 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:31:56 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:31:56 ---> 01a2bd3e5fff 00:31:56 Step 15/36 : FROM alpine:3.17 00:31:57 3.17: Pulling from library/alpine 00:31:57 4db1b89c0bd1: Already exists 00:31:57 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:31:57 Status: Downloaded newer image for alpine:3.17 00:31:57 ---> 1f73a9d63274 00:31:57 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:31:57 ---> Running in d865f638edcd 00:31:57 Removing intermediate container d865f638edcd 00:31:57 ---> 253c6a1c064e 00:31:57 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:31:57 ---> Running in 38960b9cc57f 00:31:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:31:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:31:58 (1/86) Installing dumb-init (1.2.5-r2) 00:31:58 (2/86) Installing sdl2 (2.26.5-r0) 00:31:58 (3/86) Installing svt-av1-libs (1.3.0-r0) 00:31:58 (4/86) Installing libxau (1.0.10-r0) 00:31:58 (5/86) Installing libmd (1.0.4-r0) 00:31:58 (6/86) Installing libbsd (0.11.7-r0) 00:31:58 (7/86) Installing libxdmcp (1.1.4-r0) 00:31:58 (8/86) Installing libxcb (1.15-r0) 00:31:58 (9/86) Installing libx11 (1.8.4-r1) 00:31:58 (10/86) Installing aom-libs (3.5.0-r0) 00:31:58 (11/86) Installing alsa-lib (1.2.8-r0) 00:31:58 (12/86) Installing libexpat (2.5.0-r0) 00:31:58 (13/86) Installing brotli-libs (1.0.9-r9) 00:31:58 (14/86) Installing libbz2 (1.0.8-r4) 00:31:58 (15/86) Installing libpng (1.6.38-r0) 00:31:58 (16/86) Installing freetype (2.12.1-r0) 00:31:58 (17/86) Installing fontconfig (2.14.1-r0) 00:31:58 (18/86) Installing fribidi (1.0.12-r0) 00:31:58 (19/86) Installing libffi (3.4.4-r0) 00:31:58 (20/86) Installing libintl (0.21.1-r1) 00:31:58 (21/86) Installing libblkid (2.38.1-r1) 00:31:58 (22/86) Installing libmount (2.38.1-r1) 00:31:58 (23/86) Installing pcre2 (10.42-r0) 00:31:58 (24/86) Installing glib (2.74.7-r0) 00:31:58 (25/86) Installing graphite2 (1.3.14-r2) 00:31:58 (26/86) Installing harfbuzz (5.3.1-r1) 00:31:58 (27/86) Installing libass (0.16.0-r1) 00:31:58 (28/86) Installing libdav1d (1.0.0-r2) 00:31:58 (29/86) Installing hwdata-pci (0.364-r0) 00:31:58 (30/86) Installing libpciaccess (0.17-r0) 00:31:58 (31/86) Installing libdrm (2.4.114-r0) 00:31:58 (32/86) Installing gmp (6.2.1-r2) 00:31:59 (33/86) Installing nettle (3.8.1-r0) 00:31:59 (34/86) Installing p11-kit (0.24.1-r1) 00:31:59 (35/86) Installing libtasn1 (4.19.0-r0) 00:31:59 (36/86) Installing libunistring (1.1-r0) 00:31:59 (37/86) Installing gnutls (3.7.8-r3) 00:31:59 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:31:59 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 00:31:59 (40/86) Installing lame (3.100-r2) 00:31:59 (41/86) Installing opus (1.3.1-r1) 00:31:59 (42/86) Installing libasyncns (0.8-r1) 00:31:59 (43/86) Installing dbus-libs (1.14.8-r0) 00:31:59 (44/86) Installing libltdl (2.4.7-r1) 00:31:59 (45/86) Installing orc (0.4.33-r0) 00:31:59 (46/86) Installing libgcc (12.2.1_git20220924-r4) 00:31:59 (47/86) Installing libogg (1.3.5-r2) 00:31:59 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 00:31:59 (49/86) Installing flac-libs (1.4.2-r0) 00:31:59 (50/86) Installing libvorbis (1.3.7-r0) 00:31:59 (51/86) Installing libsndfile (1.1.0-r2) 00:31:59 (52/86) Installing libgomp (12.2.1_git20220924-r4) 00:31:59 (53/86) Installing soxr (0.1.3-r3) 00:31:59 (54/86) Installing speexdsp (1.2.1-r0) 00:31:59 (55/86) Installing tdb-libs (1.4.6-r0) 00:31:59 (56/86) Installing libpulse (16.1-r6) 00:31:59 (57/86) Installing cjson (1.7.15-r3) 00:31:59 (58/86) Installing mbedtls (2.28.3-r0) 00:31:59 (59/86) Installing librist (0.2.7-r0) 00:31:59 (60/86) Installing libsrt (1.5.1-r0) 00:31:59 (61/86) Installing libssh (0.10.5-r0) 00:31:59 (62/86) Installing libtheora (1.1.1-r16) 00:31:59 (63/86) Installing libjpeg-turbo (2.1.4-r0) 00:31:59 (64/86) Installing v4l-utils-libs (1.22.1-r2) 00:31:59 (65/86) Installing libxext (1.3.5-r0) 00:31:59 (66/86) Installing libxfixes (6.0.0-r0) 00:31:59 (67/86) Installing wayland-libs-client (1.21.0-r1) 00:31:59 (68/86) Installing libva (2.16.0-r0) 00:31:59 (69/86) Installing libvdpau (1.5-r0) 00:31:59 (70/86) Installing vidstab (1.1.0-r2) 00:31:59 (71/86) Installing libvpx (1.12.0-r1) 00:31:59 (72/86) Installing libwebp (1.2.4-r2) 00:31:59 (73/86) Installing x264-libs (0.164_git20220602-r0) 00:31:59 (74/86) Installing numactl (2.0.16-r1) 00:31:59 (75/86) Installing x265-libs (3.5-r3) 00:31:59 (76/86) Installing xvidcore (1.3.7-r1) 00:31:59 (77/86) Installing libsodium (1.0.18-r2) 00:31:59 (78/86) Installing libzmq (4.3.4-r1) 00:31:59 (79/86) Installing ffmpeg-libs (5.1.3-r0) 00:31:59 (80/86) Installing ffmpeg (5.1.3-r0) 00:31:59 (81/86) Installing udev-init-scripts (35-r1) 00:31:59 (82/86) Installing eudev-libs (3.2.11-r4) 00:31:59 (83/86) Installing xz-libs (5.2.9-r0) 00:31:59 (84/86) Installing zstd-libs (1.5.5-r0) 00:31:59 (85/86) Installing kmod-libs (30-r1) 00:31:59 (86/86) Installing eudev (3.2.11-r4) 00:31:59 Executing busybox-1.35.0-r29.trigger 00:31:59 Executing eudev-3.2.11-r4.trigger 00:31:59 OK: 112 MiB in 101 packages 00:32:02 Removing intermediate container 38960b9cc57f 00:32:02 ---> cc2957c5afba 00:32:02 Step 18/36 : WORKDIR / 00:32:02 ---> Running in b6da665f3419 00:32:02 Removing intermediate container b6da665f3419 00:32:02 ---> da2d6e2a6335 00:32:02 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:32:03 ---> ce6acdfab32d 00:32:03 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:32:03 ---> e86bf7719577 00:32:03 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:32:03 ---> 58ec26b35800 00:32:03 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:32:03 ---> c6933c125e20 00:32:03 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:32:03 ---> 46887eeaa6de 00:32:03 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:32:03 ---> 7a8f451a1d75 00:32:03 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:32:03 ---> e89c7e918583 00:32:03 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:32:04 ---> Running in 4a75038b9ef0 00:32:04 Removing intermediate container 4a75038b9ef0 00:32:04 ---> bff8fcea3afe 00:32:04 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:32:04 ---> Running in 050fa4848dba 00:32:05 Removing intermediate container 050fa4848dba 00:32:05 ---> cbb0d31e6749 00:32:05 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:32:05 ---> Running in bff026958eb1 00:32:05 Removing intermediate container bff026958eb1 00:32:05 ---> 6b6f7670d272 00:32:05 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:32:06 ---> Running in 0092510de853 00:32:06 Removing intermediate container 0092510de853 00:32:06 ---> 96a97d0b31d8 00:32:06 Step 30/36 : EXPOSE 59983 00:32:06 ---> Running in 3d62889f2eba 00:32:06 Removing intermediate container 3d62889f2eba 00:32:06 ---> fbb7b9f3a06c 00:32:06 Step 31/36 : EXPOSE 8554 00:32:06 ---> Running in df8461f2505f 00:32:06 Removing intermediate container df8461f2505f 00:32:06 ---> 5697728017f1 00:32:06 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:32:06 ---> Running in ae3970ddac02 00:32:06 Removing intermediate container ae3970ddac02 00:32:06 ---> c063c89ac3a2 00:32:06 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:32:06 ---> Running in f8fe601470db 00:32:07 Removing intermediate container f8fe601470db 00:32:07 ---> 521d96622115 00:32:07 Step 34/36 : LABEL arch=amd64 00:32:07 ---> Running in c65ce713aa49 00:32:07 Removing intermediate container c65ce713aa49 00:32:07 ---> 19e06dcc5c7e 00:32:07 Step 35/36 : LABEL git_sha=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 00:32:07 ---> Running in 4f44db2a66ad 00:32:07 Removing intermediate container 4f44db2a66ad 00:32:07 ---> f8c3355de92b 00:32:07 Step 36/36 : LABEL version=0.0.0 00:32:07 ---> Running in 171d7a8e55ef 00:32:07 Removing intermediate container 171d7a8e55ef 00:32:07 ---> 4dbd2fb9f610 00:32:07 [Warning] One or more build-args [ARCH] were not consumed 00:32:07 Successfully built 4dbd2fb9f610 00:32:07 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 00:32:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:32:07 00:32:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:32:08 latest: Pulling from edgex-lftools-log-publisher 00:32:08 5eb5b503b376: Pulling fs layer 00:32:08 5c69ac0246d0: Pulling fs layer 00:32:08 ec43610c2a17: Pulling fs layer 00:32:08 3a2ae6a8a46f: Pulling fs layer 00:32:08 33b1e0a273af: Pulling fs layer 00:32:08 5d3b04190fa2: Pulling fs layer 00:32:08 2f39f015ded8: Pulling fs layer 00:32:08 33b1e0a273af: Waiting 00:32:08 5d3b04190fa2: Waiting 00:32:08 2f39f015ded8: Waiting 00:32:08 5c69ac0246d0: Download complete 00:32:08 3a2ae6a8a46f: Verifying Checksum 00:32:08 3a2ae6a8a46f: Download complete 00:32:08 33b1e0a273af: Verifying Checksum 00:32:08 33b1e0a273af: Download complete 00:32:08 5d3b04190fa2: Verifying Checksum 00:32:08 5d3b04190fa2: Download complete 00:32:08 ec43610c2a17: Verifying Checksum 00:32:08 ec43610c2a17: Download complete 00:32:08 5eb5b503b376: Verifying Checksum 00:32:08 5eb5b503b376: Download complete 00:32:08 2f39f015ded8: Download complete 00:32:09 5eb5b503b376: Pull complete 00:32:09 5c69ac0246d0: Pull complete 00:32:10 ec43610c2a17: Pull complete 00:32:10 3a2ae6a8a46f: Pull complete 00:32:10 33b1e0a273af: Pull complete 00:32:10 5d3b04190fa2: Pull complete 00:32:14 2f39f015ded8: Pull complete 00:32:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:32:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:14 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 00:32:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:32:18 $ docker top f3c2d09c4449a6828cb4df256fffac529e99da673635e48e3b6aefeb514ff61e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:19 ---> job-cost.sh 00:32:19 lf-activate-venv: SKIPPING 00:32:19 INFO: No Stack... 00:32:19 INFO: Retrieving Pricing Info for: v3-standard-8 00:32:19 INFO: Archiving Costs [Pipeline] sh 00:32:20 + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv 00:32:20 + cut -d, -f6 [Pipeline] lock 00:32:20 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] 00:32:20 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] did not exist. Created. 00:32:20 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:32:20 + echo total: 0.2199999988079071 [Pipeline] stash 00:32:20 Stashed 1 file(s) [Pipeline] } 00:32:20 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [Pipeline] // lock [Pipeline] } 00:32:20 $ docker stop --time=1 f3c2d09c4449a6828cb4df256fffac529e99da673635e48e3b6aefeb514ff61e 00:32:21 $ docker rm -f --volumes f3c2d09c4449a6828cb4df256fffac529e99da673635e48e3b6aefeb514ff61e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:33:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2310 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws 00:33:13 Running in /w/workspace/device-usb-camera/30 [Pipeline] { [Pipeline] checkout 00:33:13 Selected Git installation does not exist. Using Default 00:33:13 The recommended git tool is: NONE 00:33:18 using credential edgex-jenkins-ssh 00:33:18 Cloning the remote Git repository 00:33:18 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:33:18 > git init /w/workspace/device-usb-camera/30 # timeout=10 00:33:18 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:33:18 > git --version # timeout=10 00:33:18 > git --version # 'git version 2.25.1' 00:33:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:19 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:33:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:20 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:33:20 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:33:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:20 > 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 00:33:21 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 00:33:21 Merge succeeded, producing cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 00:33:21 Checking out Revision cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 (PR-265) 00:33:21 Commit message: "fix: name of deviceCommands" 00:33:21 > git config core.sparsecheckout # timeout=10 00:33:21 > git checkout -f cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 # timeout=10 00:33:21 > git remote # timeout=10 00:33:21 > git config --get remote.origin.url # timeout=10 00:33:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:21 > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 00:33:21 > git rev-parse HEAD^{commit} # timeout=10 00:33:21 > git config core.sparsecheckout # timeout=10 00:33:21 > git checkout -f cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:33:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:33:22 % Total % Received % Xferd Average Speed Time Time Time Current 00:33:22 Dload Upload Total Spent Left Speed 00:33:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 00:33:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:33:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:33:23 + sudo tee /etc/docker/daemon.new 00:33:23 { 00:33:23 "registry-mirrors": [ 00:33:23 "https://nexus3.edgexfoundry.org:10001" 00:33:23 ], 00:33:23 "bip": "10.250.0.254/24", 00:33:23 "hosts": [ 00:33:23 "tcp://0.0.0.0:5555", 00:33:23 "unix:///var/run/docker.sock" 00:33:23 ], 00:33:23 "mtu": 1458, 00:33:23 "selinux-enabled": true, 00:33:23 "seccomp-profile": "/etc/docker/seccomp.json" 00:33:23 } [Pipeline] sh 00:33:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:33:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:33:42 provisioning config files... 00:33:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/30@tmp/config16283381350586575126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:33:42 ---> docker-login.sh 00:33:42 nexus3.edgexfoundry.org:10001 00:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:43 Configure a credential helper to remove this warning. See 00:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:43 00:33:43 Login Succeeded 00:33:43 nexus3.edgexfoundry.org:10002 00:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:43 Configure a credential helper to remove this warning. See 00:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:43 00:33:43 Login Succeeded 00:33:43 nexus3.edgexfoundry.org:10003 00:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:44 Configure a credential helper to remove this warning. See 00:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:44 00:33:44 Login Succeeded 00:33:44 nexus3.edgexfoundry.org:10004 00:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:44 Configure a credential helper to remove this warning. See 00:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:44 00:33:44 Login Succeeded 00:33:44 docker.io 00:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:45 Configure a credential helper to remove this warning. See 00:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:45 00:33:45 Login Succeeded 00:33:45 ---> docker-login.sh ends [Pipeline] } 00:33:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:33:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:33:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:33:45 ========================================================= 00:33:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:33:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:45 + 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 . 00:33:46 Sending build context to Docker daemon 1.239MB 00:33:46 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:33:46 Step 2/13 : FROM ${BASE} AS builder 00:33:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:33:46 edb6bdbacee9: Pulling fs layer 00:33:46 5f9638ab2659: Pulling fs layer 00:33:46 8d51d6327a98: Pulling fs layer 00:33:46 8b374f2dd631: Pulling fs layer 00:33:46 ec14aa9079de: Pulling fs layer 00:33:46 2f466654f4bb: Pulling fs layer 00:33:46 554e91adad29: Pulling fs layer 00:33:46 8b374f2dd631: Waiting 00:33:46 ec14aa9079de: Waiting 00:33:46 2f466654f4bb: Waiting 00:33:46 554e91adad29: Waiting 00:33:46 5f9638ab2659: Download complete 00:33:46 8b374f2dd631: Verifying Checksum 00:33:46 8b374f2dd631: Download complete 00:33:46 ec14aa9079de: Verifying Checksum 00:33:46 ec14aa9079de: Download complete 00:33:46 edb6bdbacee9: Verifying Checksum 00:33:46 edb6bdbacee9: Download complete 00:33:47 edb6bdbacee9: Pull complete 00:33:48 554e91adad29: Verifying Checksum 00:33:48 554e91adad29: Download complete 00:33:48 5f9638ab2659: Pull complete 00:33:49 8d51d6327a98: Verifying Checksum 00:33:49 2f466654f4bb: Verifying Checksum 00:33:49 2f466654f4bb: Download complete 00:34:01 8d51d6327a98: Pull complete 00:34:01 8b374f2dd631: Pull complete 00:34:01 ec14aa9079de: Pull complete 00:34:06 2f466654f4bb: Pull complete 00:34:08 554e91adad29: Pull complete 00:34:08 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:34:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:34:08 ---> 1e15ea492957 00:34:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:34:10 ---> Running in 1bd1f08df43b 00:34:10 Removing intermediate container 1bd1f08df43b 00:34:10 ---> c8fb9d2df7f2 00:34:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:34:10 ---> Running in 9b131c5b6d47 00:34:11 Removing intermediate container 9b131c5b6d47 00:34:11 ---> 7056a996a865 00:34:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:34:11 ---> Running in e872bd0ea96c 00:34:11 Removing intermediate container e872bd0ea96c 00:34:11 ---> 882535197f4a 00:34:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:34:11 ---> Running in 7876035d151e 00:34:12 Removing intermediate container 7876035d151e 00:34:12 ---> e0451d6066b3 00:34:12 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:34:12 ---> Running in d9ec1fd0445e 00:34:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:34:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:34:14 (1/14) Installing libintl (0.21.1-r1) 00:34:14 (2/14) Installing eudev-libs (3.2.11-r4) 00:34:14 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:34:14 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:34:14 (5/14) Installing v4l-utils (1.22.1-r2) 00:34:14 (6/14) Installing udev-init-scripts (35-r1) 00:34:14 (7/14) Installing libblkid (2.38.1-r1) 00:34:14 (8/14) Installing xz-libs (5.2.9-r0) 00:34:14 (9/14) Installing zstd-libs (1.5.5-r0) 00:34:14 (10/14) Installing kmod-libs (30-r1) 00:34:14 (11/14) Installing eudev (3.2.11-r4) 00:34:14 (12/14) Installing eudev-dev (3.2.11-r4) 00:34:14 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:34:14 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:34:14 Executing busybox-1.35.0-r29.trigger 00:34:14 Executing eudev-3.2.11-r4.trigger 00:34:14 OK: 271 MiB in 67 packages 00:34:16 Removing intermediate container d9ec1fd0445e 00:34:16 ---> 290ea2f8748d 00:34:16 Step 8/13 : WORKDIR /device-usb-camera 00:34:16 ---> Running in 33d48941acd2 00:34:16 Removing intermediate container 33d48941acd2 00:34:16 ---> 836cb02965b4 00:34:16 Step 9/13 : COPY go.mod vendor* ./ 00:34:20 ---> e0221494eb87 00:34:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:34:20 ---> Running in 8350e1c270d4 00:35:16 Removing intermediate container 8350e1c270d4 00:35:16 ---> 866cad443312 00:35:16 Step 11/13 : COPY . . 00:35:16 ---> aff10212b8ea 00:35:16 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:35:16 ---> Running in 669404c1169d 00:35:17  % Total % Received % Xferd Average Speed Time Time Time Current 00:35:17 Dload Upload Total Spent Left Speed 00:35:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4292 0 --:--:-- --:--:-- --:--:-- 4317 00:35:18 Removing intermediate container 669404c1169d 00:35:18 ---> 358626e57413 00:35:18 Step 13/13 : RUN ${MAKE} 00:35:18 ---> Running in 5015e93d6bf8 00:35:19 noop 00:35:19 Removing intermediate container 5015e93d6bf8 00:35:19 ---> 2ceef80b806c 00:35:19 Successfully built 2ceef80b806c 00:35:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:20 + docker inspect -f . ci-base-image-arm64 00:35:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:35:20 prd-ubuntu20.04-docker-arm64-4c-16g-2310 does not seem to be running inside a container 00:35:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/30 -v /w/workspace/device-usb-camera/30:/w/workspace/device-usb-camera/30:rw,z -v /w/workspace/device-usb-camera/30@tmp:/w/workspace/device-usb-camera/30@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 00:35:21 $ docker top 1e4d9a21dc7ec52a634e8f7cd1d99d7fe6041003ed584b80a2a36699642bbc9f -eo pid,comm [Pipeline] { [Pipeline] sh 00:35:22 + go version 00:35:22 go version go1.20.6 linux/arm64 [Pipeline] } 00:35:22 $ docker stop --time=1 1e4d9a21dc7ec52a634e8f7cd1d99d7fe6041003ed584b80a2a36699642bbc9f 00:35:24 $ docker rm -f --volumes 1e4d9a21dc7ec52a634e8f7cd1d99d7fe6041003ed584b80a2a36699642bbc9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:24 + docker inspect -f . ci-base-image-arm64 00:35:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:35:25 prd-ubuntu20.04-docker-arm64-4c-16g-2310 does not seem to be running inside a container 00:35:25 $ 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/30 -v /w/workspace/device-usb-camera/30:/w/workspace/device-usb-camera/30:rw,z -v /w/workspace/device-usb-camera/30@tmp:/w/workspace/device-usb-camera/30@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 00:35:28 $ docker top 788755f1ac6f02b103f1d0022b688ef071aa6619050c3583fc2645d5e017ba8d -eo pid,comm [Pipeline] { [Pipeline] sh 00:35:28 + git config --global --add safe.directory /w/workspace/device-usb-camera/30 [Pipeline] fileExists [Pipeline] sh 00:35:29 + make test 00:35:29 go test ./... -coverprofile=coverage.out ./... 00:36:01 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:37:53 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:38:03 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.087s coverage: 3.5% of statements 00:38:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:38:03 go vet ./... 00:38:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:38:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:38:36 ./bin/test-attribution-txt.sh [Pipeline] echo 00:38:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:38:36 $ docker stop --time=1 788755f1ac6f02b103f1d0022b688ef071aa6619050c3583fc2645d5e017ba8d 00:38:41 $ docker rm -f --volumes 788755f1ac6f02b103f1d0022b688ef071aa6619050c3583fc2645d5e017ba8d [Pipeline] // withDockerContainer [Pipeline] sh 00:38:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:38:42 Warning: overwriting stash ‘coverage-report’ 00:38:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:38:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:38:44 + ls -al . 00:38:44 total 200 00:38:44 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 00:35 . 00:38:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:33 .. 00:38:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:33 .git 00:38:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:33 .github 00:38:44 -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 00:33 .gitignore 00:38:44 -rw-rw-r-- 1 jenkins jenkins 45 Jul 27 00:33 .golangci.yml 00:38:44 -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 00:33 .hadolint.yml 00:38:44 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 27 00:33 Attribution.txt 00:38:44 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 27 00:33 CHANGELOG.md 00:38:44 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 27 00:33 Dockerfile 00:38:44 -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 00:33 GOVERNANCE.md 00:38:44 -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 00:33 Jenkinsfile 00:38:44 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 00:33 LICENSE 00:38:44 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 27 00:33 Makefile 00:38:44 -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 00:33 OWNERS.md 00:38:44 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 27 00:33 README.md 00:38:44 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 00:29 VERSION 00:38:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:33 bin 00:38:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:33 cmd 00:38:44 -rw-r--r-- 1 jenkins jenkins 43708 Jul 27 00:38 coverage.out 00:38:44 -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 00:33 docker-entrypoint.sh 00:38:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:33 docs 00:38:44 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 27 00:33 go.mod 00:38:44 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 27 00:33 go.sum 00:38:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:33 internal 00:38:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:33 snap 00:38:44 -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 00:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:44 + 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=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 --label arch=arm64 --label version=0.0.0 . 00:38:45 Sending build context to Docker daemon 1.284MB 00:38:45 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:38:45 Step 2/36 : FROM ${BASE} AS builder 00:38:45 ---> 2ceef80b806c 00:38:45 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:38:46 ---> Running in d08583557a79 00:38:46 Removing intermediate container d08583557a79 00:38:46 ---> 1f9ae9083ec8 00:38:46 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:38:46 ---> Running in e4a3c20e1610 00:38:47 Removing intermediate container e4a3c20e1610 00:38:47 ---> 73f5b0f69967 00:38:47 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:38:47 ---> Running in 7558595e9e22 00:38:47 Removing intermediate container 7558595e9e22 00:38:47 ---> 0ca61607c467 00:38:47 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:38:48 ---> Running in eeffa830df56 00:38:48 Removing intermediate container eeffa830df56 00:38:48 ---> 7902df56f7a3 00:38:48 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:38:48 ---> Running in c0331528cad2 00:38:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:38:51 OK: 271 MiB in 67 packages 00:38:53 Removing intermediate container c0331528cad2 00:38:53 ---> 8090c5a4c28d 00:38:53 Step 8/36 : WORKDIR /device-usb-camera 00:38:54 ---> Running in 3f28949aec9d 00:38:54 Removing intermediate container 3f28949aec9d 00:38:54 ---> 94f25cbb00b2 00:38:54 Step 9/36 : COPY go.mod vendor* ./ 00:38:54 ---> 90d09fc2a3f5 00:38:54 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:38:54 ---> Running in 7a2b4df072a1 00:38:57 Removing intermediate container 7a2b4df072a1 00:38:57 ---> d7abb1bc1494 00:38:57 Step 11/36 : COPY . . 00:38:58 ---> 8ffa8f569144 00:38:58 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:38:58 ---> Running in 0bb4f9cc17f8 00:38:59  % Total % Received % Xferd Average Speed Time Time Time Current 00:38:59 Dload Upload Total Spent Left Speed 00:38:59 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3315 0 --:--:-- --:--:-- --:--:-- 3329 00:39:00 Removing intermediate container 0bb4f9cc17f8 00:39:00 ---> b041c4b16fbb 00:39:00 Step 13/36 : RUN ${MAKE} 00:39:00 ---> Running in 341e098d77db 00:39:01 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:41:39 Removing intermediate container 341e098d77db 00:41:39 ---> 68392208d2ba 00:41:39 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:41:39 v0.21.6: Pulling from aler9/rtsp-simple-server 00:41:39 8766b47fe142: Pulling fs layer 00:41:39 8766b47fe142: Verifying Checksum 00:41:39 8766b47fe142: Download complete 00:41:39 8766b47fe142: Pull complete 00:41:39 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:41:39 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:41:39 ---> 69d40e2cb93c 00:41:39 Step 15/36 : FROM alpine:3.17 00:41:39 3.17: Pulling from library/alpine 00:41:39 edb6bdbacee9: Already exists 00:41:39 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:41:39 Status: Downloaded newer image for alpine:3.17 00:41:39 ---> 779605e5fbc0 00:41:39 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:41:39 ---> Running in eb360a006728 00:41:39 Removing intermediate container eb360a006728 00:41:39 ---> 10ae1117c11c 00:41:39 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:41:39 ---> Running in 0213deb7ddb7 00:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:41:39 (1/83) Installing dumb-init (1.2.5-r2) 00:41:39 (2/83) Installing sdl2 (2.26.5-r0) 00:41:39 (3/83) Installing libxau (1.0.10-r0) 00:41:39 (4/83) Installing libmd (1.0.4-r0) 00:41:39 (5/83) Installing libbsd (0.11.7-r0) 00:41:39 (6/83) Installing libxdmcp (1.1.4-r0) 00:41:39 (7/83) Installing libxcb (1.15-r0) 00:41:39 (8/83) Installing libx11 (1.8.4-r1) 00:41:39 (9/83) Installing aom-libs (3.5.0-r0) 00:41:39 (10/83) Installing alsa-lib (1.2.8-r0) 00:41:39 (11/83) Installing libexpat (2.5.0-r0) 00:41:39 (12/83) Installing brotli-libs (1.0.9-r9) 00:41:39 (13/83) Installing libbz2 (1.0.8-r4) 00:41:39 (14/83) Installing libpng (1.6.38-r0) 00:41:39 (15/83) Installing freetype (2.12.1-r0) 00:41:39 (16/83) Installing fontconfig (2.14.1-r0) 00:41:39 (17/83) Installing fribidi (1.0.12-r0) 00:41:39 (18/83) Installing libffi (3.4.4-r0) 00:41:39 (19/83) Installing libintl (0.21.1-r1) 00:41:39 (20/83) Installing libblkid (2.38.1-r1) 00:41:39 (21/83) Installing libmount (2.38.1-r1) 00:41:39 (22/83) Installing pcre2 (10.42-r0) 00:41:39 (23/83) Installing glib (2.74.7-r0) 00:41:39 (24/83) Installing graphite2 (1.3.14-r2) 00:41:39 (25/83) Installing harfbuzz (5.3.1-r1) 00:41:39 (26/83) Installing libass (0.16.0-r1) 00:41:39 (27/83) Installing libdav1d (1.0.0-r2) 00:41:39 (28/83) Installing libdrm (2.4.114-r0) 00:41:39 (29/83) Installing gmp (6.2.1-r2) 00:41:39 (30/83) Installing nettle (3.8.1-r0) 00:41:39 (31/83) Installing p11-kit (0.24.1-r1) 00:41:39 (32/83) Installing libtasn1 (4.19.0-r0) 00:41:39 (33/83) Installing libunistring (1.1-r0) 00:41:39 (34/83) Installing gnutls (3.7.8-r3) 00:41:39 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:41:39 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 00:41:39 (37/83) Installing lame (3.100-r2) 00:41:39 (38/83) Installing opus (1.3.1-r1) 00:41:39 (39/83) Installing libasyncns (0.8-r1) 00:41:39 (40/83) Installing dbus-libs (1.14.8-r0) 00:41:39 (41/83) Installing libltdl (2.4.7-r1) 00:41:39 (42/83) Installing orc (0.4.33-r0) 00:41:39 (43/83) Installing libgcc (12.2.1_git20220924-r4) 00:41:39 (44/83) Installing libogg (1.3.5-r2) 00:41:39 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 00:41:39 (46/83) Installing flac-libs (1.4.2-r0) 00:41:39 (47/83) Installing libvorbis (1.3.7-r0) 00:41:39 (48/83) Installing libsndfile (1.1.0-r2) 00:41:39 (49/83) Installing libgomp (12.2.1_git20220924-r4) 00:41:39 (50/83) Installing soxr (0.1.3-r3) 00:41:39 (51/83) Installing speexdsp (1.2.1-r0) 00:41:39 (52/83) Installing tdb-libs (1.4.6-r0) 00:41:39 (53/83) Installing libpulse (16.1-r6) 00:41:39 (54/83) Installing cjson (1.7.15-r3) 00:41:39 (55/83) Installing mbedtls (2.28.3-r0) 00:41:39 (56/83) Installing librist (0.2.7-r0) 00:41:39 (57/83) Installing libsrt (1.5.1-r0) 00:41:39 (58/83) Installing libssh (0.10.5-r0) 00:41:39 (59/83) Installing libtheora (1.1.1-r16) 00:41:39 (60/83) Installing libjpeg-turbo (2.1.4-r0) 00:41:39 (61/83) Installing v4l-utils-libs (1.22.1-r2) 00:41:39 (62/83) Installing libxext (1.3.5-r0) 00:41:39 (63/83) Installing libxfixes (6.0.0-r0) 00:41:39 (64/83) Installing wayland-libs-client (1.21.0-r1) 00:41:39 (65/83) Installing libva (2.16.0-r0) 00:41:39 (66/83) Installing libvdpau (1.5-r0) 00:41:39 (67/83) Installing vidstab (1.1.0-r2) 00:41:39 (68/83) Installing libvpx (1.12.0-r1) 00:41:39 (69/83) Installing libwebp (1.2.4-r2) 00:41:39 (70/83) Installing x264-libs (0.164_git20220602-r0) 00:41:39 (71/83) Installing numactl (2.0.16-r1) 00:41:39 (72/83) Installing x265-libs (3.5-r3) 00:41:39 (73/83) Installing xvidcore (1.3.7-r1) 00:41:39 (74/83) Installing libsodium (1.0.18-r2) 00:41:39 (75/83) Installing libzmq (4.3.4-r1) 00:41:39 (76/83) Installing ffmpeg-libs (5.1.3-r0) 00:41:39 (77/83) Installing ffmpeg (5.1.3-r0) 00:41:39 (78/83) Installing udev-init-scripts (35-r1) 00:41:39 (79/83) Installing eudev-libs (3.2.11-r4) 00:41:39 (80/83) Installing xz-libs (5.2.9-r0) 00:41:39 (81/83) Installing zstd-libs (1.5.5-r0) 00:41:39 (82/83) Installing kmod-libs (30-r1) 00:41:39 (83/83) Installing eudev (3.2.11-r4) 00:41:39 Executing busybox-1.35.0-r29.trigger 00:41:39 Executing eudev-3.2.11-r4.trigger 00:41:39 OK: 86 MiB in 98 packages 00:41:42 Removing intermediate container 0213deb7ddb7 00:41:42 ---> 1103be01a162 00:41:42 Step 18/36 : WORKDIR / 00:41:42 ---> Running in ad3de79e2bcf 00:41:42 Removing intermediate container ad3de79e2bcf 00:41:42 ---> 7b02f84b930f 00:41:42 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:41:43 ---> acd0a385e235 00:41:43 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:41:44 ---> 418163a7753c 00:41:44 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:41:44 ---> a3e3340bc7d2 00:41:44 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:41:44 ---> 5af3beaebca3 00:41:44 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:41:45 ---> b23a194d5f49 00:41:45 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:41:46 ---> 42a121c11182 00:41:46 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:41:47 ---> e5742cfccd83 00:41:47 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:41:47 ---> Running in b3e46a15feae 00:41:49 Removing intermediate container b3e46a15feae 00:41:49 ---> eae3ac01dfd2 00:41:49 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:41:49 ---> Running in b11da770fb38 00:41:51 Removing intermediate container b11da770fb38 00:41:51 ---> 7a625d53a8dc 00:41:51 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:41:51 ---> Running in ce3e713d1dea 00:41:52 Removing intermediate container ce3e713d1dea 00:41:52 ---> 3858a5b49050 00:41:52 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:41:52 ---> Running in c040dec48b30 00:41:54 Removing intermediate container c040dec48b30 00:41:54 ---> 167799dcb168 00:41:54 Step 30/36 : EXPOSE 59983 00:41:54 ---> Running in a51b52e6e2c7 00:41:54 Removing intermediate container a51b52e6e2c7 00:41:54 ---> c7296e87cb87 00:41:54 Step 31/36 : EXPOSE 8554 00:41:54 ---> Running in 06bb2aaac523 00:41:55 Removing intermediate container 06bb2aaac523 00:41:55 ---> f7a2a7e87f5f 00:41:55 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:41:55 ---> Running in d950c8d96cd7 00:41:55 Removing intermediate container d950c8d96cd7 00:41:55 ---> 280fd3586e9d 00:41:55 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:41:55 ---> Running in cdc71e761af1 00:41:55 Removing intermediate container cdc71e761af1 00:41:55 ---> 515a8264e2ad 00:41:55 Step 34/36 : LABEL arch=arm64 00:41:55 ---> Running in 3554ac8cf795 00:41:56 Removing intermediate container 3554ac8cf795 00:41:56 ---> 8d69b7e04909 00:41:56 Step 35/36 : LABEL git_sha=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 00:41:56 ---> Running in 69d402deec1e 00:41:56 Removing intermediate container 69d402deec1e 00:41:56 ---> 5e7ee312280d 00:41:56 Step 36/36 : LABEL version=0.0.0 00:41:56 ---> Running in b59ce07102b6 00:41:56 Removing intermediate container b59ce07102b6 00:41:56 ---> 1dfff791bbf9 00:41:56 [Warning] One or more build-args [ARCH] were not consumed 00:41:56 Successfully built 1dfff791bbf9 00:41:56 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 00:41:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:41:57 00:41:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:41:57 arm64: Pulling from edgex-lftools-log-publisher 00:41:57 8998bd30e6a1: Pulling fs layer 00:41:57 04944245beec: Pulling fs layer 00:41:57 699f458cf7ca: Pulling fs layer 00:41:57 765212b225bb: Pulling fs layer 00:41:57 f23df028b6ca: Pulling fs layer 00:41:57 d65c8cfc05b1: Pulling fs layer 00:41:57 2437ff75d9bd: Pulling fs layer 00:41:57 f23df028b6ca: Waiting 00:41:57 d65c8cfc05b1: Waiting 00:41:57 2437ff75d9bd: Waiting 00:41:57 765212b225bb: Waiting 00:41:57 04944245beec: Verifying Checksum 00:41:57 04944245beec: Download complete 00:41:57 765212b225bb: Verifying Checksum 00:41:57 765212b225bb: Download complete 00:41:57 f23df028b6ca: Verifying Checksum 00:41:57 f23df028b6ca: Download complete 00:41:57 d65c8cfc05b1: Verifying Checksum 00:41:57 d65c8cfc05b1: Download complete 00:41:57 699f458cf7ca: Verifying Checksum 00:41:57 699f458cf7ca: Download complete 00:41:58 8998bd30e6a1: Verifying Checksum 00:41:58 8998bd30e6a1: Download complete 00:42:00 2437ff75d9bd: Verifying Checksum 00:42:00 2437ff75d9bd: Download complete 00:42:02 8998bd30e6a1: Pull complete 00:42:02 04944245beec: Pull complete 00:42:04 699f458cf7ca: Pull complete 00:42:04 765212b225bb: Pull complete 00:42:05 f23df028b6ca: Pull complete 00:42:05 d65c8cfc05b1: Pull complete 00:42:20 2437ff75d9bd: Pull complete 00:42:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:42:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:20 prd-ubuntu20.04-docker-arm64-4c-16g-2310 does not seem to be running inside a container 00:42: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/30 -v /w/workspace/device-usb-camera/30:/w/workspace/device-usb-camera/30:rw,z -v /w/workspace/device-usb-camera/30@tmp:/w/workspace/device-usb-camera/30@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 00:42:23 $ docker top b40f0e550fec4ad6d3290d200abb02006c1e5126e167d4054eaf96e7cfab9cbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:24 ---> job-cost.sh 00:42:24 lf-activate-venv: SKIPPING 00:42:24 INFO: No Stack... 00:42:24 INFO: Retrieving Pricing Info for: v3-standard-4 00:42:25 INFO: Archiving Costs [Pipeline] sh 00:42:25 + cat /w/workspace/device-usb-camera/30/archives/cost.csv 00:42:25 + cut -d, -f6 [Pipeline] lock 00:42:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] 00:42:25 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] did not exist. Created. 00:42:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:42:26 /w/workspace/device-usb-camera/30@tmp/durable-b78777d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:42:26 + echo total: 0.10999999940395355 [Pipeline] stash 00:42:26 Warning: overwriting stash ‘stack-cost’ 00:42:26 Stashed 1 file(s) [Pipeline] } 00:42:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-30-stack-cost] [Pipeline] // lock [Pipeline] } 00:42:27 $ docker stop --time=1 b40f0e550fec4ad6d3290d200abb02006c1e5126e167d4054eaf96e7cfab9cbc 00:42:28 $ docker rm -f --volumes b40f0e550fec4ad6d3290d200abb02006c1e5126e167d4054eaf96e7cfab9cbc [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 00:42:30 provisioning config files... 00:42:30 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config1245148511918503405tmp [Pipeline] { [Pipeline] sh 00:42:30 + set +x 00:42:30 + bash -s -- 00:42:30 + curl -s https://codecov.io/bash 00:42:30 00:42:30 _____ _ 00:42:30 / ____| | | 00:42:30 | | ___ __| | ___ ___ _____ __ 00:42:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:42:30 | |___| (_) | (_| | __/ (_| (_) \ V / 00:42:30 \_____\___/ \__,_|\___|\___\___/ \_/ 00:42:30 Bash-1.0.6 00:42:30 00:42:30 00:42:30 ==> git version 2.25.1 found 00:42:30 ==> 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 00:42:30 Release-Date: 2020-01-08 00:42:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:42:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:42:30 ==> Jenkins CI detected. 00:42:30 current dir:  /w/workspace/foundry_device-usb-camera_PR-265 00:42:30 project root: . 00:42:30 --> token set from env 00:42:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:42:30 ==> Running gcov in . (disable via -X gcov) 00:42:30 ==> Python coveragepy not found 00:42:30 ==> Searching for coverage reports in: 00:42:30 + . 00:42:30 -> Found 1 reports 00:42:30 ==> Detecting git/mercurial file structure 00:42:30 ==> Reading reports 00:42:30 + ./coverage.out bytes=43708 00:42:30 ==> Appending adjustments 00:42:30 https://docs.codecov.io/docs/fixing-reports 00:42:31 + Found adjustments 00:42:31 ==> Gzipping contents 00:42:31 8.0K /tmp/codecov.oMmi5U.gz 00:42:31 ==> Uploading reports 00:42:31 url: https://codecov.io 00:42:31 query: branch=PR-265&commit=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= 00:42:31 -> Pinging Codecov 00:42:31 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=cf72471dfa73fdfbc6e89d16bce2d6c491b80f72&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= 00:42:31 -> Uploading to 00:42:31 https://storage.googleapis.com/codecov/v4/raw/2023-07-27/73D8F5FF140700D3E01443B452E23636/cf72471dfa73fdfbc6e89d16bce2d6c491b80f72/24691b9b-e6a0-454c-a694-fbabcd61fbe4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230727T004231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f04715f746f9abd4b2e125e2d69e32fae5162e1b2d99839edfbd872df3b2197b 00:42:31 % Total % Received % Xferd Average Speed Time Time Time Current 00:42:31 Dload Upload Total Spent Left Speed 00:42:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5766 0 0 100 5766 0 29269 --:--:-- --:--:-- --:--:-- 29269 00:42:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/cf72471dfa73fdfbc6e89d16bce2d6c491b80f72 [Pipeline] } 00:42:31 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 00:42:32 + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] 00:42:32 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 00:42:32 total 16 00:42:32 drwxr-xr-x 3 root root 4096 Jul 27 00:32 . 00:42:32 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 00:32 .. 00:42:32 drwxr-xr-x 2 root root 4096 Jul 27 00:32 cost 00:42:32 -rw-r--r-- 1 root root 90 Jul 27 00:32 cost.csv 00:42:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives 00:42:32 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 00:42:32 total 16 00:42:32 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 00:32 . 00:42:32 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 00:32 .. 00:42:32 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 00:32 cost 00:42:32 -rw-r--r-- 1 jenkins jenkins 90 Jul 27 00:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:42:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:42:33 ---> package-listing.sh 00:42:33 ++ facter osfamily 00:42:33 ++ tr '[:upper:]' '[:lower:]' 00:42:33 + OS_FAMILY=debian 00:42:33 + workspace=/w/workspace/foundry_device-usb-camera_PR-265 00:42:33 + START_PACKAGES=/tmp/packages_start.txt 00:42:33 + END_PACKAGES=/tmp/packages_end.txt 00:42:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:42:33 + PACKAGES=/tmp/packages_start.txt 00:42:33 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 00:42:33 + PACKAGES=/tmp/packages_end.txt 00:42:33 + case "${OS_FAMILY}" in 00:42:33 + dpkg -l 00:42:33 + grep '^ii' 00:42:33 + '[' -f /tmp/packages_start.txt ']' 00:42:33 + '[' -f /tmp/packages_end.txt ']' 00:42:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:42:33 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 00:42:33 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ 00:42:33 + 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 00:42:33 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 00:42:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:42:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:34 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 00:42:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:42:35 $ docker top 074fe2b653619b280c0a2fa8604891b1795f7d2839a521aa57264113a24e479a -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:35 + touch /tmp/pre-build-complete [Pipeline] sh 00:42:35 + mkdir -p /var/log/sysstat [Pipeline] sh 00:42:36 + ls /var/log/sa-host 00:42:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:36 provisioning config files... 00:42:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config828946921385350285tmp [Pipeline] { [Pipeline] echo 00:42:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:42:36 ---> create-netrc.sh [Pipeline] } 00:42:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:42:36 ---> python-tools-install.sh [Pipeline] echo 00:42:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:42:37 ---> sudo-logs.sh 00:42:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:42:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:42:37 ---> job-cost.sh 00:42:37 lf-activate-venv: SKIPPING 00:42:37 DEBUG: total: 0.2199999988079071 00:42:37 INFO: Retrieving Stack Cost... 00:42:37 INFO: Retrieving Pricing Info for: v3-standard-8 00:42:38 INFO: Archiving Costs [Pipeline] echo 00:42:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:42:38 ---> logs-deploy.sh 00:42:38 lf-activate-venv: SKIPPING 00:42:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/30 00:42:38 INFO: archiving workspace using pattern(s): 00:42:39 Archives upload complete. 00:42:39 INFO: archiving logs to Nexus