Pull request #262 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than 473ff219b026b6d71cd1b6f680fc2769aaac1390 Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b 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-ssh10967690315558304350.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-ssh14784581785620119725.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-262/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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14736472536684949149.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-ssh10145618181582177454.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-262/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-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3787758259563817640.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 Running on prd-ubuntu20.04-docker-8c-8g-137 in /w/workspace/foundry_device-usb-camera_PR-262 [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-262 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit 473ff219b026b6d71cd1b6f680fc2769aaac1390 > 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/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 473ff219b026b6d71cd1b6f680fc2769aaac1390 # timeout=10 Merge succeeded, producing 473ff219b026b6d71cd1b6f680fc2769aaac1390 Checking out Revision 473ff219b026b6d71cd1b6f680fc2769aaac1390 (PR-262) Commit message: "feat: addressed more code review comments" > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 473ff219b026b6d71cd1b6f680fc2769aaac1390 # timeout=10 > git rev-list --no-walk 22d2067314cc1ebefed40a88bb932c9f627f71ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:55:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:55:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:55:49 ========================================================= 20:55:49 EdgeX Global Pipelines Version Info 20:55:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:55:49 ------------------- 20:55:49 stable info: 20:55:49 ------------------- 20:55:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:55:49 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:55:49 Message: update stable to v1.0.250 20:55:50 ------------------- 20:55:50 experimental info: 20:55:50 ------------------- 20:55:50 Commited By: **** collab-it+edgex@linuxfoundation.org 20:55:50 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:55:50 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo 20:55:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] echo 20:55:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 473ff21 [Pipeline] echo 20:55:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:51 provisioning config files... 20:55:51 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config16719945737053850899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:51 ---> docker-login.sh 20:55:51 nexus3.edgexfoundry.org:10001 20:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:51 Configure a credential helper to remove this warning. See 20:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:51 20:55:51 Login Succeeded 20:55:51 nexus3.edgexfoundry.org:10002 20:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:51 Configure a credential helper to remove this warning. See 20:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:51 20:55:51 Login Succeeded 20:55:51 nexus3.edgexfoundry.org:10003 20:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:51 Configure a credential helper to remove this warning. See 20:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:51 20:55:51 Login Succeeded 20:55:51 nexus3.edgexfoundry.org:10004 20:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:52 Configure a credential helper to remove this warning. See 20:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:52 20:55:52 Login Succeeded 20:55:52 docker.io 20:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:52 Configure a credential helper to remove this warning. See 20:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:52 20:55:52 Login Succeeded 20:55:52 ---> docker-login.sh ends [Pipeline] } 20:55:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:55:52 + git rev-list -1 --merges 473ff219b026b6d71cd1b6f680fc2769aaac1390~1..473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] echo 20:55:52 -----------> git rev-list -1 --merges 473ff219b026b6d71cd1b6f680fc2769aaac1390~1..473ff219b026b6d71cd1b6f680fc2769aaac1390 473ff219b026b6d71cd1b6f680fc2769aaac1390 [false] [Pipeline] sh 20:55:53 + git log --format=format:%s -1 473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] echo 20:55:53 ========================================================= 20:55:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:55:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:53 + git log --format=format:%s -1 473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] echo 20:55:53 [semverPrep] GIT_COMMIT: 473ff219b026b6d71cd1b6f680fc2769aaac1390, Commit Message: feat: addressed more code review comments [Pipeline] echo 20:55:53 [semverPrep] This is not a build commit. [Pipeline] sh 20:55:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:53 + grep -v github /etc/ssh/ssh_known_hosts 20:55:53 + [ -e /tmp/ssh_known_hosts ] 20:55:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:55:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:55:53 + sudo tee -a /etc/ssh/ssh_known_hosts 20:55:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:54 20:55:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:54 0.1.4: Pulling from edgex-devops/py-git-semver 20:55:54 b85a868b505f: Pulling fs layer 20:55:54 e2be974225ed: Pulling fs layer 20:55:54 339a4e72a1f5: Pulling fs layer 20:55:54 988bab9f4d93: Pulling fs layer 20:55:54 1469e6f7b9e6: Pulling fs layer 20:55:54 eaf3925da568: Pulling fs layer 20:55:54 bab4dde63d76: Pulling fs layer 20:55:54 bde34c3a00c8: Pulling fs layer 20:55:54 b352a97aabf1: Pulling fs layer 20:55:54 4872d77fe225: Pulling fs layer 20:55:54 5851b861e8e6: Pulling fs layer 20:55:54 bab4dde63d76: Waiting 20:55:54 988bab9f4d93: Waiting 20:55:54 1469e6f7b9e6: Waiting 20:55:54 4872d77fe225: Waiting 20:55:54 5851b861e8e6: Waiting 20:55:54 bde34c3a00c8: Waiting 20:55:54 b352a97aabf1: Waiting 20:55:54 eaf3925da568: Waiting 20:55:54 e2be974225ed: Download complete 20:55:54 988bab9f4d93: Download complete 20:55:54 1469e6f7b9e6: Verifying Checksum 20:55:54 1469e6f7b9e6: Download complete 20:55:54 eaf3925da568: Verifying Checksum 20:55:54 eaf3925da568: Download complete 20:55:54 339a4e72a1f5: Download complete 20:55:54 bde34c3a00c8: Verifying Checksum 20:55:54 bde34c3a00c8: Download complete 20:55:54 b352a97aabf1: Download complete 20:55:54 4872d77fe225: Verifying Checksum 20:55:54 4872d77fe225: Download complete 20:55:54 5851b861e8e6: Download complete 20:55:54 b85a868b505f: Download complete 20:55:55 bab4dde63d76: Verifying Checksum 20:55:55 bab4dde63d76: Download complete 20:55:56 b85a868b505f: Pull complete 20:55:56 e2be974225ed: Pull complete 20:55:56 339a4e72a1f5: Pull complete 20:55:56 988bab9f4d93: Pull complete 20:55:57 1469e6f7b9e6: Pull complete 20:55:57 eaf3925da568: Pull complete 20:55:59 bab4dde63d76: Pull complete 20:55:59 bde34c3a00c8: Pull complete 20:55:59 b352a97aabf1: Pull complete 20:55:59 4872d77fe225: Pull complete 20:55:59 5851b861e8e6: Pull complete 20:55:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:59 prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container 20:55:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:56:01 $ docker top db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d -eo pid,comm 20:56:02 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). 20:56:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:02 [ssh-agent] Looking for ssh-agent implementation... 20:56:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:02 $ docker exec db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d ssh-agent 20:56:02 SSH_AUTH_SOCK=/tmp/ssh-78ouFLJaRtVT/agent.33 20:56:02 SSH_AGENT_PID=40 20:56:02 Running ssh-add (command line suppressed) 20:56:02 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_1918414686917886916.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_1918414686917886916.key) 20:56:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:02 + git tag --points-at HEAD [Pipeline] } 20:56:02 $ docker exec --env ******** --env ******** db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d ssh-agent -k 20:56:02 unset SSH_AUTH_SOCK; 20:56:02 unset SSH_AGENT_PID; 20:56:02 echo Agent pid 40 killed; 20:56:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:56:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:02 [ssh-agent] Looking for ssh-agent implementation... 20:56:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:02 $ docker exec db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d ssh-agent 20:56:03 SSH_AUTH_SOCK=/tmp/ssh-rpg0hOgwxIGF/agent.73 20:56:03 SSH_AGENT_PID=79 20:56:03 Running ssh-add (command line suppressed) 20:56:03 Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_9264188583204849519.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_9264188583204849519.key) 20:56:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:03 + git semver init 20:56:03 2023-06-28 20:56:03,697 [run_init] DEBUG init version:0.0.0 force:False 20:56:03 2023-06-28 20:56:03,698 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver 20:56:03 2023-06-28 20:56:03,698 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver 20:56:03 2023-06-28 20:56:03,699 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) 20:56:04 2023-06-28 20:56:04,404 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude 20:56:04 2023-06-28 20:56:04,404 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False 20:56:04 2023-06-28 20:56:04,404 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 20:56:04 2023-06-28 20:56:04,407 [execute] INFO git cat-file --batch-check 20:56:04 2023-06-28 20:56:04,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 20:56:04 2023-06-28 20:56:04,413 [execute] INFO git cat-file --batch 20:56:04 2023-06-28 20:56:04,413 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) 20:56:04 2023-06-28 20:56:04,418 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 20:56:04 0.0.0 [Pipeline] } 20:56:04 $ docker exec --env ******** --env ******** db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d ssh-agent -k 20:56:04 unset SSH_AUTH_SOCK; 20:56:04 unset SSH_AGENT_PID; 20:56:04 echo Agent pid 79 killed; 20:56:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:05 + git semver [Pipeline] } 20:56:05 $ docker stop --time=1 db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d 20:56:06 $ docker rm -f --volumes db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d [Pipeline] // withDockerContainer [Pipeline] sh 20:56:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:07 Stashed 1 file(s) [Pipeline] echo 20:56:07 [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 20:56:07 provisioning config files... 20:56:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config3788476447860637017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:07 ---> docker-login.sh 20:56:07 nexus3.edgexfoundry.org:10001 20:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:07 Configure a credential helper to remove this warning. See 20:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:07 20:56:07 Login Succeeded 20:56:07 nexus3.edgexfoundry.org:10002 20:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:07 Configure a credential helper to remove this warning. See 20:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:07 20:56:07 Login Succeeded 20:56:07 nexus3.edgexfoundry.org:10003 20:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:08 Configure a credential helper to remove this warning. See 20:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:08 20:56:08 Login Succeeded 20:56:08 nexus3.edgexfoundry.org:10004 20:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:08 Configure a credential helper to remove this warning. See 20:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:08 20:56:08 Login Succeeded 20:56:08 docker.io 20:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:08 Configure a credential helper to remove this warning. See 20:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:08 20:56:08 Login Succeeded 20:56:08 ---> docker-login.sh ends [Pipeline] } 20:56:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:08 ========================================================= 20:56:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:56:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:08 + 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 . 20:56:08 Sending build context to Docker daemon 2.028MB 20:56:08 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:56:08 Step 2/13 : FROM ${BASE} AS builder 20:56:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:08 f56be85fc22e: Pulling fs layer 20:56:08 85791d961cd3: Pulling fs layer 20:56:08 d694b5ae8c79: Pulling fs layer 20:56:08 9f32a84ed3da: Pulling fs layer 20:56:08 4d19c01a9841: Pulling fs layer 20:56:08 9325e15d5711: Pulling fs layer 20:56:08 556b6ee489ea: Pulling fs layer 20:56:08 c5a4b2cf53e6: Pulling fs layer 20:56:08 9f32a84ed3da: Waiting 20:56:08 4d19c01a9841: Waiting 20:56:08 9325e15d5711: Waiting 20:56:08 556b6ee489ea: Waiting 20:56:08 c5a4b2cf53e6: Waiting 20:56:08 85791d961cd3: Download complete 20:56:08 9f32a84ed3da: Verifying Checksum 20:56:08 9f32a84ed3da: Download complete 20:56:08 4d19c01a9841: Verifying Checksum 20:56:08 4d19c01a9841: Download complete 20:56:08 f56be85fc22e: Verifying Checksum 20:56:08 f56be85fc22e: Download complete 20:56:08 9325e15d5711: Verifying Checksum 20:56:08 9325e15d5711: Download complete 20:56:08 f56be85fc22e: Pull complete 20:56:09 85791d961cd3: Pull complete 20:56:09 c5a4b2cf53e6: Verifying Checksum 20:56:09 c5a4b2cf53e6: Download complete 20:56:09 d694b5ae8c79: Verifying Checksum 20:56:09 d694b5ae8c79: Download complete 20:56:09 556b6ee489ea: Verifying Checksum 20:56:09 556b6ee489ea: Download complete 20:56:13 d694b5ae8c79: Pull complete 20:56:13 9f32a84ed3da: Pull complete 20:56:13 4d19c01a9841: Pull complete 20:56:13 9325e15d5711: Pull complete 20:56:15 556b6ee489ea: Pull complete 20:56:16 c5a4b2cf53e6: Pull complete 20:56:16 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:56:16 ---> c4be618373d6 20:56:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:56:21 ---> Running in a90ae98b7280 20:56:21 Removing intermediate container a90ae98b7280 20:56:21 ---> ca23427b15f4 20:56:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:21 ---> Running in 12770ec4c835 20:56:21 Removing intermediate container 12770ec4c835 20:56:21 ---> 525fa26b594b 20:56:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:56:21 ---> Running in 9219408535ca 20:56:21 Removing intermediate container 9219408535ca 20:56:21 ---> 02c0383faaf6 20:56:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:56:21 ---> Running in 949ffabf1053 20:56:21 Removing intermediate container 949ffabf1053 20:56:21 ---> 5a8cbaad4ee7 20:56:21 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:21 ---> Running in aa8968ae9124 20:56:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:56:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:56:21 (1/14) Installing libintl (0.21.1-r1) 20:56:21 (2/14) Installing eudev-libs (3.2.11-r4) 20:56:21 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:56:21 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:56:21 (5/14) Installing v4l-utils (1.22.1-r2) 20:56:22 (6/14) Installing udev-init-scripts (35-r1) 20:56:22 (7/14) Installing libblkid (2.38.1-r1) 20:56:22 (8/14) Installing xz-libs (5.2.9-r0) 20:56:22 (9/14) Installing zstd-libs (1.5.5-r0) 20:56:22 (10/14) Installing kmod-libs (30-r1) 20:56:22 (11/14) Installing eudev (3.2.11-r4) 20:56:22 (12/14) Installing eudev-dev (3.2.11-r4) 20:56:22 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:56:22 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:56:22 Executing busybox-1.35.0-r29.trigger 20:56:22 Executing eudev-3.2.11-r4.trigger 20:56:22 OK: 272 MiB in 67 packages 20:56:22 Still waiting to schedule task 20:56:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:56:22 Removing intermediate container aa8968ae9124 20:56:22 ---> bde564cf2e78 20:56:22 Step 8/13 : WORKDIR /device-usb-camera 20:56:22 ---> Running in b7bd658c92d4 20:56:22 Removing intermediate container b7bd658c92d4 20:56:22 ---> fc3912a0ef57 20:56:22 Step 9/13 : COPY go.mod vendor* ./ 20:56:22 ---> 51339c35f4c0 20:56:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:22 ---> Running in 6ed9f8a6aa0f 20:57:09 Removing intermediate container 6ed9f8a6aa0f 20:57:09 ---> 1a61e1abc6e2 20:57:09 Step 11/13 : COPY . . 20:57:09 ---> 17032155eaf7 20:57:09 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:57:09 ---> Running in 6afd5e306e0f 20:57:09  % Total % Received % Xferd Average Speed Time Time Time Current 20:57:09 Dload Upload Total Spent Left Speed 20:57:09  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8069 0 --:--:-- --:--:-- --:--:-- 8045 20:57:09 Removing intermediate container 6afd5e306e0f 20:57:09 ---> 715281402f90 20:57:09 Step 13/13 : RUN ${MAKE} 20:57:09 ---> Running in a6c67046ebc4 20:57:09 noop 20:57:09 Removing intermediate container a6c67046ebc4 20:57:09 ---> 5975d75ca650 20:57:09 Successfully built 5975d75ca650 20:57:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:09 + docker inspect -f . ci-base-image-x86_64 20:57:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:09 prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container 20:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:10 $ docker top 03bdb9fcaa3a1157385e13f1c9952086867d8a65c9bb68f34ee02e9a0919e299 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:10 + go version 20:57:10 go version go1.20.2 linux/amd64 [Pipeline] } 20:57:10 $ docker stop --time=1 03bdb9fcaa3a1157385e13f1c9952086867d8a65c9bb68f34ee02e9a0919e299 20:57:11 $ docker rm -f --volumes 03bdb9fcaa3a1157385e13f1c9952086867d8a65c9bb68f34ee02e9a0919e299 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:12 + docker inspect -f . ci-base-image-x86_64 20:57:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:12 prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container 20:57:12 $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:12 $ docker top aedf9c33baa27decf0bf4aa3468a4d73cdf84f8a9349b82cfd5b3b1f7f3bd740 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:13 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh 20:57:13 + make test 20:57:13 go test ./... -coverprofile=coverage.out ./... 20:57:18 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:57:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:57:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.022s coverage: 4.1% of statements 20:57:37 go vet ./... 20:57:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:41 ./bin/test-attribution-txt.sh [Pipeline] echo 20:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:57:41 $ docker stop --time=1 aedf9c33baa27decf0bf4aa3468a4d73cdf84f8a9349b82cfd5b3b1f7f3bd740 20:57:44 $ docker rm -f --volumes aedf9c33baa27decf0bf4aa3468a4d73cdf84f8a9349b82cfd5b3b1f7f3bd740 [Pipeline] // withDockerContainer [Pipeline] sh 20:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:57:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:57:46 + ls -al . 20:57:46 total 200 20:57:46 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 20:57 . 20:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:55 .. 20:57:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 20:56 .git 20:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:55 .github 20:57:46 -rw-rw-r-- 1 jenkins jenkins 414 Jun 28 20:55 .gitignore 20:57:46 -rw-rw-r-- 1 jenkins jenkins 45 Jun 28 20:55 .golangci.yml 20:57:46 -rw-rw-r-- 1 jenkins jenkins 77 Jun 28 20:55 .hadolint.yml 20:57:46 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 20:56 .semver 20:57:46 -rw-rw-r-- 1 jenkins jenkins 9783 Jun 28 20:55 Attribution.txt 20:57:46 -rw-rw-r-- 1 jenkins jenkins 11903 Jun 28 20:55 CHANGELOG.md 20:57:46 -rw-rw-r-- 1 jenkins jenkins 2453 Jun 28 20:55 Dockerfile 20:57:46 -rw-rw-r-- 1 jenkins jenkins 678 Jun 28 20:55 GOVERNANCE.md 20:57:46 -rw-rw-r-- 1 jenkins jenkins 659 Jun 28 20:55 Jenkinsfile 20:57:46 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 20:55 LICENSE 20:57:46 -rw-rw-r-- 1 jenkins jenkins 2364 Jun 28 20:55 Makefile 20:57:46 -rw-rw-r-- 1 jenkins jenkins 622 Jun 28 20:55 OWNERS.md 20:57:46 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 28 20:55 README.md 20:57:46 -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 20:56 VERSION 20:57:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:55 bin 20:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:55 cmd 20:57:46 -rw-r--r-- 1 jenkins jenkins 37272 Jun 28 20:57 coverage.out 20:57:46 -rwxrwxr-x 1 jenkins jenkins 140 Jun 28 20:55 docker-entrypoint.sh 20:57:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:55 docs 20:57:46 -rw-rw-r-- 1 jenkins jenkins 3416 Jun 28 20:55 go.mod 20:57:46 -rw-rw-r-- 1 jenkins jenkins 31482 Jun 28 20:55 go.sum 20:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:55 internal 20:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:55 snap 20:57:46 -rw-rw-r-- 1 jenkins jenkins 231 Jun 28 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:46 + 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=473ff219b026b6d71cd1b6f680fc2769aaac1390 --label arch=amd64 --label version=0.0.0 . 20:57:46 Sending build context to Docker daemon 2.066MB 20:57:46 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 20:57:46 Step 2/36 : FROM ${BASE} AS builder 20:57:46 ---> 5975d75ca650 20:57:46 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:57:46 ---> Running in 8d9fb9feaf29 20:57:46 Removing intermediate container 8d9fb9feaf29 20:57:46 ---> 967de8331279 20:57:46 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:46 ---> Running in fcff43098b47 20:57:46 Removing intermediate container fcff43098b47 20:57:46 ---> d221396dee02 20:57:46 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:57:46 ---> Running in 08f4da7c6be4 20:57:46 Removing intermediate container 08f4da7c6be4 20:57:46 ---> 1b35de47c129 20:57:46 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:57:46 ---> Running in eb4201290ecf 20:57:46 Removing intermediate container eb4201290ecf 20:57:46 ---> 78932244b8a7 20:57:46 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:46 ---> Running in e8fc2cefa535 20:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:57:47 OK: 272 MiB in 67 packages 20:57:47 Removing intermediate container e8fc2cefa535 20:57:47 ---> de673b4365ad 20:57:47 Step 8/36 : WORKDIR /device-usb-camera 20:57:48 ---> Running in 8d05d9c41fb8 20:57:48 Removing intermediate container 8d05d9c41fb8 20:57:48 ---> 463140fac5a9 20:57:48 Step 9/36 : COPY go.mod vendor* ./ 20:57:48 ---> 4dbbb9f48c0b 20:57:48 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:48 ---> Running in 23b414fe60f0 20:57:49 Removing intermediate container 23b414fe60f0 20:57:49 ---> 0fed3c0c9f27 20:57:49 Step 11/36 : COPY . . 20:57:49 ---> b69cfcf173eb 20:57:49 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:57:49 ---> Running in 2ed42632ddfe 20:57:49  % Total % Received % Xferd Average Speed Time Time Time Current 20:57:49 Dload Upload Total Spent Left Speed 20:57:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20495 0 --:--:-- --:--:-- --:--:-- 20823 20:57:49 Removing intermediate container 2ed42632ddfe 20:57:49 ---> f3ec4ca9f766 20:57:49 Step 13/36 : RUN ${MAKE} 20:57:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-138 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws 20:57:50 Running in /w/workspace/device-usb-camera/17 [Pipeline] { [Pipeline] checkout 20:57:50 Selected Git installation does not exist. Using Default 20:57:50 The recommended git tool is: NONE 20:57:50 ---> Running in 77aa8e33705c 20:57:50 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:57:55 using credential edgex-jenkins-ssh 20:57:55 Cloning the remote Git repository 20:57:55 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:57:55 > git init /w/workspace/device-usb-camera/17 # timeout=10 20:57:55 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:57:55 > git --version # timeout=10 20:57:55 > git --version # 'git version 2.25.1' 20:57:55 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:57 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:57:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:57:58 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:57:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:58:00 Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit 473ff219b026b6d71cd1b6f680fc2769aaac1390 20:58:01 Merge succeeded, producing 473ff219b026b6d71cd1b6f680fc2769aaac1390 20:58:01 Checking out Revision 473ff219b026b6d71cd1b6f680fc2769aaac1390 (PR-262) 20:58:01 Commit message: "feat: addressed more code review comments" 20:58:00 > git config core.sparsecheckout # timeout=10 20:58:01 > git checkout -f 473ff219b026b6d71cd1b6f680fc2769aaac1390 # timeout=10 20:58:01 > git remote # timeout=10 20:58:01 > git config --get remote.origin.url # timeout=10 20:58:01 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:01 > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 20:58:01 > git rev-parse HEAD^{commit} # timeout=10 20:58:01 > git config core.sparsecheckout # timeout=10 20:58:01 > git checkout -f 473ff219b026b6d71cd1b6f680fc2769aaac1390 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:58:02 % Total % Received % Xferd Average Speed Time Time Time Current 20:58:02 Dload Upload Total Spent Left Speed 20:58:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 20:58:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:58:03 + sudo tee /etc/docker/daemon.new 20:58:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:58:03 { 20:58:03 "registry-mirrors": [ 20:58:03 "https://nexus3.edgexfoundry.org:10001" 20:58:03 ], 20:58:03 "bip": "10.250.0.254/24", 20:58:03 "hosts": [ 20:58:03 "tcp://0.0.0.0:5555", 20:58:03 "unix:///var/run/docker.sock" 20:58:03 ], 20:58:03 "mtu": 1458, 20:58:03 "selinux-enabled": true, 20:58:03 "seccomp-profile": "/etc/docker/seccomp.json" 20:58:03 } [Pipeline] sh 20:58:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:58:04 + sudo service docker restart 20:58:12 Removing intermediate container 77aa8e33705c 20:58:12 ---> a6a5568a43ef 20:58:12 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:58:12 v0.21.6: Pulling from aler9/rtsp-simple-server 20:58:12 4acc49c71d14: Pulling fs layer 20:58:13 4acc49c71d14: Verifying Checksum 20:58:13 4acc49c71d14: Download complete 20:58:13 4acc49c71d14: Pull complete 20:58:13 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:58:13 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:58:13 ---> 01a2bd3e5fff 20:58:13 Step 15/36 : FROM alpine:3.17 20:58:13 3.17: Pulling from library/alpine 20:58:13 4db1b89c0bd1: Pulling fs layer 20:58:13 4db1b89c0bd1: Verifying Checksum 20:58:13 4db1b89c0bd1: Download complete 20:58:14 4db1b89c0bd1: Pull complete 20:58:14 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:58:14 Status: Downloaded newer image for alpine:3.17 20:58:14 ---> 1f73a9d63274 20:58:14 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:58:14 ---> Running in fd8c18f3b43e 20:58:14 Removing intermediate container fd8c18f3b43e 20:58:14 ---> d7373458cf5d 20:58:14 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:58:14 ---> Running in 1ca3cbf2cb8c 20:58:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:58:15 (1/86) Installing dumb-init (1.2.5-r2) 20:58:15 (2/86) Installing sdl2 (2.26.5-r0) 20:58:15 (3/86) Installing svt-av1-libs (1.3.0-r0) 20:58:15 (4/86) Installing libxau (1.0.10-r0) 20:58:15 (5/86) Installing libmd (1.0.4-r0) 20:58:15 (6/86) Installing libbsd (0.11.7-r0) 20:58:15 (7/86) Installing libxdmcp (1.1.4-r0) 20:58:15 (8/86) Installing libxcb (1.15-r0) 20:58:15 (9/86) Installing libx11 (1.8.4-r1) 20:58:15 (10/86) Installing aom-libs (3.5.0-r0) 20:58:15 (11/86) Installing alsa-lib (1.2.8-r0) 20:58:15 (12/86) Installing libexpat (2.5.0-r0) 20:58:15 (13/86) Installing brotli-libs (1.0.9-r9) 20:58:15 (14/86) Installing libbz2 (1.0.8-r4) 20:58:15 (15/86) Installing libpng (1.6.38-r0) 20:58:15 (16/86) Installing freetype (2.12.1-r0) 20:58:15 (17/86) Installing fontconfig (2.14.1-r0) 20:58:15 (18/86) Installing fribidi (1.0.12-r0) 20:58:15 (19/86) Installing libffi (3.4.4-r0) 20:58:15 (20/86) Installing libintl (0.21.1-r1) 20:58:15 (21/86) Installing libblkid (2.38.1-r1) 20:58:15 (22/86) Installing libmount (2.38.1-r1) 20:58:15 (23/86) Installing pcre2 (10.42-r0) 20:58:15 (24/86) Installing glib (2.74.7-r0) 20:58:15 (25/86) Installing graphite2 (1.3.14-r2) 20:58:15 (26/86) Installing harfbuzz (5.3.1-r1) 20:58:15 (27/86) Installing libass (0.16.0-r1) 20:58:15 (28/86) Installing libdav1d (1.0.0-r2) 20:58:15 (29/86) Installing hwdata-pci (0.364-r0) 20:58:15 (30/86) Installing libpciaccess (0.17-r0) 20:58:15 (31/86) Installing libdrm (2.4.114-r0) 20:58:15 (32/86) Installing gmp (6.2.1-r2) 20:58:15 (33/86) Installing nettle (3.8.1-r0) 20:58:15 (34/86) Installing p11-kit (0.24.1-r1) 20:58:15 (35/86) Installing libtasn1 (4.19.0-r0) 20:58:15 (36/86) Installing libunistring (1.1-r0) 20:58:15 (37/86) Installing gnutls (3.7.8-r3) 20:58:15 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 20:58:15 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 20:58:15 (40/86) Installing lame (3.100-r2) 20:58:15 (41/86) Installing opus (1.3.1-r1) 20:58:15 (42/86) Installing libasyncns (0.8-r1) 20:58:15 (43/86) Installing dbus-libs (1.14.8-r0) 20:58:15 (44/86) Installing libltdl (2.4.7-r1) 20:58:15 (45/86) Installing orc (0.4.33-r0) 20:58:15 (46/86) Installing libgcc (12.2.1_git20220924-r4) 20:58:15 (47/86) Installing libogg (1.3.5-r2) 20:58:15 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 20:58:15 (49/86) Installing flac-libs (1.4.2-r0) 20:58:15 (50/86) Installing libvorbis (1.3.7-r0) 20:58:15 (51/86) Installing libsndfile (1.1.0-r2) 20:58:15 (52/86) Installing libgomp (12.2.1_git20220924-r4) 20:58:15 (53/86) Installing soxr (0.1.3-r3) 20:58:15 (54/86) Installing speexdsp (1.2.1-r0) 20:58:15 (55/86) Installing tdb-libs (1.4.6-r0) 20:58:15 (56/86) Installing libpulse (16.1-r6) 20:58:16 (57/86) Installing cjson (1.7.15-r3) 20:58:16 (58/86) Installing mbedtls (2.28.3-r0) 20:58:16 (59/86) Installing librist (0.2.7-r0) 20:58:16 (60/86) Installing libsrt (1.5.1-r0) 20:58:16 (61/86) Installing libssh (0.10.5-r0) 20:58:16 (62/86) Installing libtheora (1.1.1-r16) 20:58:16 (63/86) Installing libjpeg-turbo (2.1.4-r0) 20:58:16 (64/86) Installing v4l-utils-libs (1.22.1-r2) 20:58:16 (65/86) Installing libxext (1.3.5-r0) 20:58:16 (66/86) Installing libxfixes (6.0.0-r0) 20:58:16 (67/86) Installing wayland-libs-client (1.21.0-r1) 20:58:16 (68/86) Installing libva (2.16.0-r0) 20:58:16 (69/86) Installing libvdpau (1.5-r0) 20:58:16 (70/86) Installing vidstab (1.1.0-r2) 20:58:16 (71/86) Installing libvpx (1.12.0-r1) 20:58:16 (72/86) Installing libwebp (1.2.4-r2) 20:58:16 (73/86) Installing x264-libs (0.164_git20220602-r0) 20:58:16 (74/86) Installing numactl (2.0.16-r1) 20:58:16 (75/86) Installing x265-libs (3.5-r3) 20:58:16 (76/86) Installing xvidcore (1.3.7-r1) 20:58:16 (77/86) Installing libsodium (1.0.18-r2) 20:58:16 (78/86) Installing libzmq (4.3.4-r1) 20:58:16 (79/86) Installing ffmpeg-libs (5.1.3-r0) 20:58:16 (80/86) Installing ffmpeg (5.1.3-r0) 20:58:16 (81/86) Installing udev-init-scripts (35-r1) 20:58:16 (82/86) Installing eudev-libs (3.2.11-r4) 20:58:16 (83/86) Installing xz-libs (5.2.9-r0) 20:58:16 (84/86) Installing zstd-libs (1.5.5-r0) 20:58:16 (85/86) Installing kmod-libs (30-r1) 20:58:16 (86/86) Installing eudev (3.2.11-r4) 20:58:16 Executing busybox-1.35.0-r29.trigger 20:58:16 Executing eudev-3.2.11-r4.trigger 20:58:16 OK: 112 MiB in 101 packages 20:58:19 Removing intermediate container 1ca3cbf2cb8c 20:58:19 ---> 77d2e718a0c4 20:58:19 Step 18/36 : WORKDIR / 20:58:19 ---> Running in 25d999f191db 20:58:19 Removing intermediate container 25d999f191db 20:58:19 ---> 95616ff97d87 20:58:19 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 20:58:19 ---> 32e3d5c25278 20:58:19 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:58:19 ---> 43e47f08cb10 20:58:19 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:58:19 ---> dc4247012818 20:58:19 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:58:19 ---> 4a142f11ed58 20:58:19 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:58:20 ---> aff895e12553 20:58:20 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:58:20 ---> e4e2a13609b2 20:58:20 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 20:58:21 ---> 497494563a06 20:58:21 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:58:21 ---> Running in 72c7f3a3a6b0 20:58:21 Removing intermediate container 72c7f3a3a6b0 20:58:21 ---> 42c9877cad37 20:58:21 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:58:21 ---> Running in 91e95b210141 20:58:22 Removing intermediate container 91e95b210141 20:58:22 ---> 7d92741a3cfe 20:58:22 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:58:22 ---> Running in 88ed2a4b44d1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:22 provisioning config files... 20:58:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/17@tmp/config2644118271413796865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:22 ---> docker-login.sh 20:58:22 nexus3.edgexfoundry.org:10001 20:58:22 Removing intermediate container 88ed2a4b44d1 20:58:22 ---> e45cc1e12cf2 20:58:22 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 20:58:22 ---> Running in bcc5a0c354d5 20:58:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:23 Configure a credential helper to remove this warning. See 20:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:23 20:58:23 Login Succeeded 20:58:23 nexus3.edgexfoundry.org:10002 20:58:23 Removing intermediate container bcc5a0c354d5 20:58:23 ---> 7efff9b05b02 20:58:23 Step 30/36 : EXPOSE 59983 20:58:23 ---> Running in b834d9741277 20:58:23 Removing intermediate container b834d9741277 20:58:23 ---> ea6adae73a20 20:58:23 Step 31/36 : EXPOSE 8554 20:58:23 ---> Running in 588f5bb8b0a9 20:58:23 Removing intermediate container 588f5bb8b0a9 20:58:23 ---> ddbe0ca59879 20:58:23 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:58:23 ---> Running in 9b8de2756757 20:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:23 Configure a credential helper to remove this warning. See 20:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:23 20:58:23 Login Succeeded 20:58:23 nexus3.edgexfoundry.org:10003 20:58:23 Removing intermediate container 9b8de2756757 20:58:23 ---> 7c1ee4c3ff19 20:58:23 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:58:23 ---> Running in fc0a647a55fc 20:58:23 Removing intermediate container fc0a647a55fc 20:58:23 ---> de4994a5fb98 20:58:23 Step 34/36 : LABEL arch=amd64 20:58:23 ---> Running in 953ae859d1e0 20:58:23 Removing intermediate container 953ae859d1e0 20:58:23 ---> dde023f39a2d 20:58:23 Step 35/36 : LABEL git_sha=473ff219b026b6d71cd1b6f680fc2769aaac1390 20:58:23 ---> Running in b64d917b735a 20:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:23 Removing intermediate container b64d917b735a 20:58:23 ---> 2b0d11b8fdef 20:58:23 Step 36/36 : LABEL version=0.0.0 20:58:23 ---> Running in 365e3e045462 20:58:23 Removing intermediate container 365e3e045462 20:58:23 ---> cfa6c3f0bd07 20:58:23 [Warning] One or more build-args [ARCH] were not consumed 20:58:23 Successfully built cfa6c3f0bd07 20:58:23 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] } 20:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:24 Configure a credential helper to remove this warning. See 20:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:24 20:58:24 Login Succeeded 20:58:24 nexus3.edgexfoundry.org:10004 [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:24 Configure a credential helper to remove this warning. See 20:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:24 20:58:24 Login Succeeded 20:58:24 docker.io 20:58:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:24 20:58:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:24 latest: Pulling from edgex-lftools-log-publisher 20:58:24 5eb5b503b376: Pulling fs layer 20:58:24 5c69ac0246d0: Pulling fs layer 20:58:24 ec43610c2a17: Pulling fs layer 20:58:24 3a2ae6a8a46f: Pulling fs layer 20:58:24 33b1e0a273af: Pulling fs layer 20:58:24 5d3b04190fa2: Pulling fs layer 20:58:24 2f39f015ded8: Pulling fs layer 20:58:24 3a2ae6a8a46f: Waiting 20:58:24 33b1e0a273af: Waiting 20:58:24 2f39f015ded8: Waiting 20:58:24 5d3b04190fa2: Waiting 20:58:24 5c69ac0246d0: Verifying Checksum 20:58:24 5c69ac0246d0: Download complete 20:58:24 3a2ae6a8a46f: Verifying Checksum 20:58:24 3a2ae6a8a46f: Download complete 20:58:24 33b1e0a273af: Verifying Checksum 20:58:24 33b1e0a273af: Download complete 20:58:24 5d3b04190fa2: Verifying Checksum 20:58:24 5d3b04190fa2: Download complete 20:58:24 ec43610c2a17: Download complete 20:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:24 Configure a credential helper to remove this warning. See 20:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:24 20:58:24 Login Succeeded 20:58:24 ---> docker-login.sh ends [Pipeline] } 20:58:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:58:24 5eb5b503b376: Download complete [Pipeline] echo 20:58:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:25 ========================================================= 20:58:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:58:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:25 + 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 . 20:58:25 2f39f015ded8: Download complete 20:58:25 Sending build context to Docker daemon 1.229MB 20:58:25 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:58:25 Step 2/13 : FROM ${BASE} AS builder 20:58:26 5eb5b503b376: Pull complete 20:58:26 5c69ac0246d0: Pull complete 20:58:26 ec43610c2a17: Pull complete 20:58:26 3a2ae6a8a46f: Pull complete 20:58:27 33b1e0a273af: Pull complete 20:58:27 5d3b04190fa2: Pull complete 20:58:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:58:28 c41833b44d91: Pulling fs layer 20:58:28 ed15518f5707: Pulling fs layer 20:58:28 feae8fd75edb: Pulling fs layer 20:58:28 242c74f7c9fa: Pulling fs layer 20:58:28 3cdef696dda3: Pulling fs layer 20:58:28 2ced38df9373: Pulling fs layer 20:58:28 58f1dce35555: Pulling fs layer 20:58:28 3cdef696dda3: Waiting 20:58:28 2ced38df9373: Waiting 20:58:28 58f1dce35555: Waiting 20:58:28 242c74f7c9fa: Waiting 20:58:28 ed15518f5707: Verifying Checksum 20:58:28 ed15518f5707: Download complete 20:58:28 242c74f7c9fa: Verifying Checksum 20:58:28 242c74f7c9fa: Download complete 20:58:28 3cdef696dda3: Verifying Checksum 20:58:28 3cdef696dda3: Download complete 20:58:28 c41833b44d91: Verifying Checksum 20:58:28 c41833b44d91: Download complete 20:58:29 c41833b44d91: Pull complete 20:58:29 58f1dce35555: Verifying Checksum 20:58:29 58f1dce35555: Download complete 20:58:30 ed15518f5707: Pull complete 20:58:30 feae8fd75edb: Verifying Checksum 20:58:30 feae8fd75edb: Download complete 20:58:30 2ced38df9373: Verifying Checksum 20:58:30 2ced38df9373: Download complete 20:58:32 2f39f015ded8: Pull complete 20:58:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:58:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:32 prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container 20:58:32 $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:58:35 $ docker top c3f2327f276be906dbc8800da7addc2c5fdba5aeab5f924f294ab5ab003ce8e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:36 ---> job-cost.sh 20:58:36 lf-activate-venv: SKIPPING 20:58:36 INFO: No Stack... 20:58:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:58:36 INFO: Archiving Costs [Pipeline] sh 20:58:37 + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv 20:58:37 + cut -d, -f6 [Pipeline] lock 20:58:37 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] 20:58:37 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] did not exist. Created. 20:58:37 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:37 + echo total: 0.2199999988079071 [Pipeline] stash 20:58:37 Stashed 1 file(s) [Pipeline] } 20:58:37 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:37 $ docker stop --time=1 c3f2327f276be906dbc8800da7addc2c5fdba5aeab5f924f294ab5ab003ce8e5 20:58:38 $ docker rm -f --volumes c3f2327f276be906dbc8800da7addc2c5fdba5aeab5f924f294ab5ab003ce8e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:58:43 feae8fd75edb: Pull complete 20:58:43 242c74f7c9fa: Pull complete 20:58:43 3cdef696dda3: Pull complete 20:58:48 2ced38df9373: Pull complete 20:58:51 58f1dce35555: Pull complete 20:58:51 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:58:51 ---> fadd8f120f05 20:58:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:58:52 ---> Running in ea515f1c04da 20:58:52 Removing intermediate container ea515f1c04da 20:58:52 ---> 0f13d25fb02e 20:58:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:53 ---> Running in 0c2913be4ef9 20:58:53 Removing intermediate container 0c2913be4ef9 20:58:53 ---> 05d7c0e35b1e 20:58:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:58:53 ---> Running in f9e5f56812f4 20:58:53 Removing intermediate container f9e5f56812f4 20:58:53 ---> dce68dd1fc04 20:58:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:58:53 ---> Running in c48af91f3ad7 20:58:53 Removing intermediate container c48af91f3ad7 20:58:53 ---> 809946cdae38 20:58:53 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:54 ---> Running in e314933ccdfe 20:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:58:56 (1/14) Installing libintl (0.21.1-r1) 20:58:56 (2/14) Installing eudev-libs (3.2.11-r4) 20:58:56 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:58:56 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:58:56 (5/14) Installing v4l-utils (1.22.1-r2) 20:58:56 (6/14) Installing udev-init-scripts (35-r1) 20:58:56 (7/14) Installing libblkid (2.38.1-r1) 20:58:56 (8/14) Installing xz-libs (5.2.9-r0) 20:58:56 (9/14) Installing zstd-libs (1.5.5-r0) 20:58:56 (10/14) Installing kmod-libs (30-r1) 20:58:56 (11/14) Installing eudev (3.2.11-r4) 20:58:56 (12/14) Installing eudev-dev (3.2.11-r4) 20:58:56 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:58:56 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:58:57 Executing busybox-1.35.0-r29.trigger 20:58:57 Executing eudev-3.2.11-r4.trigger 20:58:57 OK: 271 MiB in 67 packages 20:58:58 Removing intermediate container e314933ccdfe 20:58:58 ---> eee451b63e96 20:58:58 Step 8/13 : WORKDIR /device-usb-camera 20:58:58 ---> Running in 4f1b014cefee 20:58:58 Removing intermediate container 4f1b014cefee 20:58:58 ---> 6c5f5f4898f5 20:58:58 Step 9/13 : COPY go.mod vendor* ./ 20:58:59 ---> f26d7e3968f3 20:58:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:59 ---> Running in d527195c205e 21:00:06 Removing intermediate container d527195c205e 21:00:06 ---> 343befc972a4 21:00:06 Step 11/13 : COPY . . 21:00:06 ---> 18b080d71dbf 21:00:06 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:00:06 ---> Running in ec7b670f7e12 21:00:06  % Total % Received % Xferd Average Speed Time Time Time Current 21:00:06  Dload Upload Total  Spent Left Speed 21:00:06 0  0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4314 0 --:--:-- --:--:-- --:--:-- 4317 21:00:06 Removing intermediate container ec7b670f7e12 21:00:06 ---> e858008e7086 21:00:06 Step 13/13 : RUN ${MAKE} 21:00:06 ---> Running in c331d532eb8e 21:00:06 noop 21:00:06 Removing intermediate container c331d532eb8e 21:00:06 ---> 10954c8c97bf 21:00:06 Successfully built 10954c8c97bf 21:00:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:07 + docker inspect -f . ci-base-image-arm64 21:00:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:07 prd-ubuntu20.04-docker-arm64-4c-16g-138 does not seem to be running inside a container 21:00:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:00:08 $ docker top a7da9cb74fc42936e8f063250627235fb1b6324339da193b92053accd9602bff -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:09 + go version 21:00:09 go version go1.20.2 linux/arm64 [Pipeline] } 21:00:09 $ docker stop --time=1 a7da9cb74fc42936e8f063250627235fb1b6324339da193b92053accd9602bff 21:00:11 $ docker rm -f --volumes a7da9cb74fc42936e8f063250627235fb1b6324339da193b92053accd9602bff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:11 + docker inspect -f . ci-base-image-arm64 21:00:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:11 prd-ubuntu20.04-docker-arm64-4c-16g-138 does not seem to be running inside a container 21:00:11 $ 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/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:00:13 $ docker top 0108b808a0f9b679e30fdf813ff38e3c96d2a04913dec2c8239da8a51f879107 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:13 + git config --global --add safe.directory /w/workspace/device-usb-camera/17 [Pipeline] fileExists [Pipeline] sh 21:00:14 + make test 21:00:14 go test ./... -coverprofile=coverage.out ./... 21:00:46 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:02:38 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:02:44 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 4.1% of statements 21:02:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:02:44 go vet ./... 21:03:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:03:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:03:16 ./bin/test-attribution-txt.sh [Pipeline] echo 21:03:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:03:16 $ docker stop --time=1 0108b808a0f9b679e30fdf813ff38e3c96d2a04913dec2c8239da8a51f879107 21:03:19 $ docker rm -f --volumes 0108b808a0f9b679e30fdf813ff38e3c96d2a04913dec2c8239da8a51f879107 [Pipeline] // withDockerContainer [Pipeline] sh 21:03:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:03:20 Warning: overwriting stash ‘coverage-report’ 21:03:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:03:21 + ls -al . 21:03:21 total 196 21:03:21 drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 21:00 . 21:03:21 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:57 .. 21:03:21 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 20:58 .git 21:03:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:58 .github 21:03:21 -rw-rw-r-- 1 jenkins jenkins 414 Jun 28 20:58 .gitignore 21:03:21 -rw-rw-r-- 1 jenkins jenkins 45 Jun 28 20:58 .golangci.yml 21:03:21 -rw-rw-r-- 1 jenkins jenkins 77 Jun 28 20:58 .hadolint.yml 21:03:21 -rw-rw-r-- 1 jenkins jenkins 9783 Jun 28 20:58 Attribution.txt 21:03:21 -rw-rw-r-- 1 jenkins jenkins 11903 Jun 28 20:58 CHANGELOG.md 21:03:21 -rw-rw-r-- 1 jenkins jenkins 2453 Jun 28 20:58 Dockerfile 21:03:21 -rw-rw-r-- 1 jenkins jenkins 678 Jun 28 20:58 GOVERNANCE.md 21:03:21 -rw-rw-r-- 1 jenkins jenkins 659 Jun 28 20:58 Jenkinsfile 21:03:21 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 20:58 LICENSE 21:03:21 -rw-rw-r-- 1 jenkins jenkins 2364 Jun 28 20:58 Makefile 21:03:21 -rw-rw-r-- 1 jenkins jenkins 622 Jun 28 20:58 OWNERS.md 21:03:21 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 28 20:58 README.md 21:03:21 -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 20:56 VERSION 21:03:21 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:58 bin 21:03:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:58 cmd 21:03:21 -rw-r--r-- 1 jenkins jenkins 37272 Jun 28 21:02 coverage.out 21:03:21 -rwxrwxr-x 1 jenkins jenkins 140 Jun 28 20:58 docker-entrypoint.sh 21:03:21 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:58 docs 21:03:21 -rw-rw-r-- 1 jenkins jenkins 3416 Jun 28 20:58 go.mod 21:03:21 -rw-rw-r-- 1 jenkins jenkins 31482 Jun 28 20:58 go.sum 21:03:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:58 internal 21:03:21 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:58 snap 21:03:21 -rw-rw-r-- 1 jenkins jenkins 231 Jun 28 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:21 + 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=473ff219b026b6d71cd1b6f680fc2769aaac1390 --label arch=arm64 --label version=0.0.0 . 21:03:22 Sending build context to Docker daemon 1.267MB 21:03:22 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:03:22 Step 2/36 : FROM ${BASE} AS builder 21:03:22 ---> 10954c8c97bf 21:03:22 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:03:24 ---> Running in 2700690ef61d 21:03:24 Removing intermediate container 2700690ef61d 21:03:24 ---> 138c9cd1e8f7 21:03:24 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:24 ---> Running in 75b065cc57d8 21:03:25 Removing intermediate container 75b065cc57d8 21:03:25 ---> 25a0443e09a0 21:03:25 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:03:25 ---> Running in 31755c63ea1e 21:03:25 Removing intermediate container 31755c63ea1e 21:03:25 ---> ba01cbdbfc26 21:03:25 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:03:25 ---> Running in 9d6a771eadf2 21:03:25 Removing intermediate container 9d6a771eadf2 21:03:25 ---> d611b8fed0d2 21:03:25 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:26 ---> Running in fc459e39d209 21:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:03:28 OK: 271 MiB in 67 packages 21:03:29 Removing intermediate container fc459e39d209 21:03:29 ---> b54a3620ddd0 21:03:29 Step 8/36 : WORKDIR /device-usb-camera 21:03:29 ---> Running in a1f545113356 21:03:29 Removing intermediate container a1f545113356 21:03:29 ---> 9ff62f06a9db 21:03:29 Step 9/36 : COPY go.mod vendor* ./ 21:03:30 ---> 562832360d57 21:03:30 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:30 ---> Running in c79b29b5edf9 21:03:33 Removing intermediate container c79b29b5edf9 21:03:33 ---> 79db97986cc3 21:03:33 Step 11/36 : COPY . . 21:03:33 ---> 8b3d92cca3eb 21:03:33 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:03:33 ---> Running in 33c5d0fc2529 21:03:34  % Total % Received % Xferd Average Speed Time Time Time Current 21:03:34  Dload Upload Total Spent Left Speed 21:03:34 0 0 0  0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3168 0 --:--:-- --:--:-- --:--:-- 3170 100 1062 100  1062 0 0 3162 0 --:--:-- --:--:-- --:--:-- 3160 21:03:35 Removing intermediate container 33c5d0fc2529 21:03:35 ---> 7f71f68a3155 21:03:35 Step 13/36 : RUN ${MAKE} 21:03:35 ---> Running in 4c76846c9d31 21:03:36 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:05:58 Removing intermediate container 4c76846c9d31 21:05:58 ---> a35c2e0e2648 21:05:58 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:05:58 v0.21.6: Pulling from aler9/rtsp-simple-server 21:05:58 8766b47fe142: Pulling fs layer 21:05:58 8766b47fe142: Verifying Checksum 21:05:58 8766b47fe142: Download complete 21:05:58 8766b47fe142: Pull complete 21:05:58 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:05:58 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:05:58 ---> 69d40e2cb93c 21:05:58 Step 15/36 : FROM alpine:3.17 21:05:58 3.17: Pulling from library/alpine 21:05:58 edb6bdbacee9: Pulling fs layer 21:05:58 edb6bdbacee9: Verifying Checksum 21:05:58 edb6bdbacee9: Download complete 21:05:58 edb6bdbacee9: Pull complete 21:05:58 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:05:58 Status: Downloaded newer image for alpine:3.17 21:05:58 ---> 779605e5fbc0 21:05:58 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:05:58 ---> Running in ad3947d9a451 21:05:58 Removing intermediate container ad3947d9a451 21:05:58 ---> c01d9969622f 21:05:58 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:05:58 ---> Running in ebc5d4413d99 21:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:00 (1/83) Installing dumb-init (1.2.5-r2) 21:06:00 (2/83) Installing sdl2 (2.26.5-r0) 21:06:00 (3/83) Installing libxau (1.0.10-r0) 21:06:00 (4/83) Installing libmd (1.0.4-r0) 21:06:00 (5/83) Installing libbsd (0.11.7-r0) 21:06:00 (6/83) Installing libxdmcp (1.1.4-r0) 21:06:00 (7/83) Installing libxcb (1.15-r0) 21:06:00 (8/83) Installing libx11 (1.8.4-r1) 21:06:00 (9/83) Installing aom-libs (3.5.0-r0) 21:06:00 (10/83) Installing alsa-lib (1.2.8-r0) 21:06:01 (11/83) Installing libexpat (2.5.0-r0) 21:06:01 (12/83) Installing brotli-libs (1.0.9-r9) 21:06:01 (13/83) Installing libbz2 (1.0.8-r4) 21:06:01 (14/83) Installing libpng (1.6.38-r0) 21:06:01 (15/83) Installing freetype (2.12.1-r0) 21:06:01 (16/83) Installing fontconfig (2.14.1-r0) 21:06:01 (17/83) Installing fribidi (1.0.12-r0) 21:06:01 (18/83) Installing libffi (3.4.4-r0) 21:06:01 (19/83) Installing libintl (0.21.1-r1) 21:06:01 (20/83) Installing libblkid (2.38.1-r1) 21:06:01 (21/83) Installing libmount (2.38.1-r1) 21:06:01 (22/83) Installing pcre2 (10.42-r0) 21:06:01 (23/83) Installing glib (2.74.7-r0) 21:06:01 (24/83) Installing graphite2 (1.3.14-r2) 21:06:01 (25/83) Installing harfbuzz (5.3.1-r1) 21:06:01 (26/83) Installing libass (0.16.0-r1) 21:06:01 (27/83) Installing libdav1d (1.0.0-r2) 21:06:01 (28/83) Installing libdrm (2.4.114-r0) 21:06:01 (29/83) Installing gmp (6.2.1-r2) 21:06:01 (30/83) Installing nettle (3.8.1-r0) 21:06:01 (31/83) Installing p11-kit (0.24.1-r1) 21:06:01 (32/83) Installing libtasn1 (4.19.0-r0) 21:06:01 (33/83) Installing libunistring (1.1-r0) 21:06:01 (34/83) Installing gnutls (3.7.8-r3) 21:06:01 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:06:01 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 21:06:01 (37/83) Installing lame (3.100-r2) 21:06:01 (38/83) Installing opus (1.3.1-r1) 21:06:01 (39/83) Installing libasyncns (0.8-r1) 21:06:01 (40/83) Installing dbus-libs (1.14.8-r0) 21:06:01 (41/83) Installing libltdl (2.4.7-r1) 21:06:01 (42/83) Installing orc (0.4.33-r0) 21:06:01 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:06:01 (44/83) Installing libogg (1.3.5-r2) 21:06:01 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:06:01 (46/83) Installing flac-libs (1.4.2-r0) 21:06:01 (47/83) Installing libvorbis (1.3.7-r0) 21:06:01 (48/83) Installing libsndfile (1.1.0-r2) 21:06:01 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:06:01 (50/83) Installing soxr (0.1.3-r3) 21:06:01 (51/83) Installing speexdsp (1.2.1-r0) 21:06:01 (52/83) Installing tdb-libs (1.4.6-r0) 21:06:01 (53/83) Installing libpulse (16.1-r6) 21:06:02 (54/83) Installing cjson (1.7.15-r3) 21:06:02 (55/83) Installing mbedtls (2.28.3-r0) 21:06:02 (56/83) Installing librist (0.2.7-r0) 21:06:02 (57/83) Installing libsrt (1.5.1-r0) 21:06:02 (58/83) Installing libssh (0.10.5-r0) 21:06:02 (59/83) Installing libtheora (1.1.1-r16) 21:06:02 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:06:02 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:06:02 (62/83) Installing libxext (1.3.5-r0) 21:06:02 (63/83) Installing libxfixes (6.0.0-r0) 21:06:02 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:06:02 (65/83) Installing libva (2.16.0-r0) 21:06:02 (66/83) Installing libvdpau (1.5-r0) 21:06:02 (67/83) Installing vidstab (1.1.0-r2) 21:06:02 (68/83) Installing libvpx (1.12.0-r1) 21:06:02 (69/83) Installing libwebp (1.2.4-r2) 21:06:02 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:06:02 (71/83) Installing numactl (2.0.16-r1) 21:06:02 (72/83) Installing x265-libs (3.5-r3) 21:06:02 (73/83) Installing xvidcore (1.3.7-r1) 21:06:02 (74/83) Installing libsodium (1.0.18-r2) 21:06:02 (75/83) Installing libzmq (4.3.4-r1) 21:06:02 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:06:03 (77/83) Installing ffmpeg (5.1.3-r0) 21:06:03 (78/83) Installing udev-init-scripts (35-r1) 21:06:03 (79/83) Installing eudev-libs (3.2.11-r4) 21:06:03 (80/83) Installing xz-libs (5.2.9-r0) 21:06:03 (81/83) Installing zstd-libs (1.5.5-r0) 21:06:03 (82/83) Installing kmod-libs (30-r1) 21:06:03 (83/83) Installing eudev (3.2.11-r4) 21:06:03 Executing busybox-1.35.0-r29.trigger 21:06:03 Executing eudev-3.2.11-r4.trigger 21:06:03 OK: 86 MiB in 98 packages 21:06:08 Removing intermediate container ebc5d4413d99 21:06:08 ---> 73ebd4f5921c 21:06:08 Step 18/36 : WORKDIR / 21:06:08 ---> Running in d6e9703598d9 21:06:08 Removing intermediate container d6e9703598d9 21:06:08 ---> 8e96b0ee953a 21:06:08 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:06:09 ---> 03d8c7c524ab 21:06:09 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:06:10 ---> ea788b116355 21:06:10 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:06:10 ---> 0d3b3432c277 21:06:10 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:06:11 ---> 381fc7345996 21:06:11 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:06:11 ---> 3bb7bc5daa57 21:06:11 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:06:12 ---> 3be9097a148c 21:06:12 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:06:13 ---> df5ae11fb940 21:06:13 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:06:13 ---> Running in cf9b1a81d7ae 21:06:15 Removing intermediate container cf9b1a81d7ae 21:06:15 ---> fc4e091c42a7 21:06:15 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:06:15 ---> Running in 2ed2cabd3c20 21:06:16 Removing intermediate container 2ed2cabd3c20 21:06:16 ---> 23889fcc5d1a 21:06:16 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:06:17 ---> Running in 6633e3f17016 21:06:19 Removing intermediate container 6633e3f17016 21:06:19 ---> f4f6391d1e89 21:06:19 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:06:19 ---> Running in 827f078acb3d 21:06:21 Removing intermediate container 827f078acb3d 21:06:21 ---> 1dc88a6fadd8 21:06:21 Step 30/36 : EXPOSE 59983 21:06:21 ---> Running in 54dac93a0bb3 21:06:21 Removing intermediate container 54dac93a0bb3 21:06:21 ---> 422e9cf24ec9 21:06:21 Step 31/36 : EXPOSE 8554 21:06:21 ---> Running in 1d82192fb62c 21:06:21 Removing intermediate container 1d82192fb62c 21:06:21 ---> 1e62f9b42d4f 21:06:21 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:06:21 ---> Running in 1080361668a8 21:06:21 Removing intermediate container 1080361668a8 21:06:21 ---> 5dc1c1947cb8 21:06:21 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:06:21 ---> Running in 7ba1baf5c3b2 21:06:22 Removing intermediate container 7ba1baf5c3b2 21:06:22 ---> 626312454825 21:06:22 Step 34/36 : LABEL arch=arm64 21:06:22 ---> Running in dd654da6fa71 21:06:22 Removing intermediate container dd654da6fa71 21:06:22 ---> e052cebe4e5f 21:06:22 Step 35/36 : LABEL git_sha=473ff219b026b6d71cd1b6f680fc2769aaac1390 21:06:22 ---> Running in c05865e462f7 21:06:22 Removing intermediate container c05865e462f7 21:06:22 ---> 9f36fdfac082 21:06:22 Step 36/36 : LABEL version=0.0.0 21:06:22 ---> Running in d4fa63fe6015 21:06:23 Removing intermediate container d4fa63fe6015 21:06:23 ---> 4f87e9b74e4b 21:06:23 [Warning] One or more build-args [ARCH] were not consumed 21:06:23 Successfully built 4f87e9b74e4b 21:06:23 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:23 21:06:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:24 arm64: Pulling from edgex-lftools-log-publisher 21:06:24 8998bd30e6a1: Pulling fs layer 21:06:24 04944245beec: Pulling fs layer 21:06:24 699f458cf7ca: Pulling fs layer 21:06:24 765212b225bb: Pulling fs layer 21:06:24 f23df028b6ca: Pulling fs layer 21:06:24 d65c8cfc05b1: Pulling fs layer 21:06:24 2437ff75d9bd: Pulling fs layer 21:06:24 f23df028b6ca: Waiting 21:06:24 d65c8cfc05b1: Waiting 21:06:24 765212b225bb: Waiting 21:06:24 2437ff75d9bd: Waiting 21:06:24 04944245beec: Download complete 21:06:24 765212b225bb: Verifying Checksum 21:06:24 765212b225bb: Download complete 21:06:24 f23df028b6ca: Verifying Checksum 21:06:24 f23df028b6ca: Download complete 21:06:24 d65c8cfc05b1: Verifying Checksum 21:06:24 d65c8cfc05b1: Download complete 21:06:24 699f458cf7ca: Verifying Checksum 21:06:24 699f458cf7ca: Download complete 21:06:25 8998bd30e6a1: Verifying Checksum 21:06:25 8998bd30e6a1: Download complete 21:06:26 2437ff75d9bd: Verifying Checksum 21:06:26 2437ff75d9bd: Download complete 21:06:28 8998bd30e6a1: Pull complete 21:06:29 04944245beec: Pull complete 21:06:30 699f458cf7ca: Pull complete 21:06:31 765212b225bb: Pull complete 21:06:32 f23df028b6ca: Pull complete 21:06:32 d65c8cfc05b1: Pull complete 21:06:47 2437ff75d9bd: Pull complete 21:06:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:47 prd-ubuntu20.04-docker-arm64-4c-16g-138 does not seem to be running inside a container 21:06:48 $ 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/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:06:50 $ docker top 01d1515e7688ef177abfa5e3fe44c28d84cdb5c7695d465ba1779e09e3539fc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:51 ---> job-cost.sh 21:06:51 lf-activate-venv: SKIPPING 21:06:51 INFO: No Stack... 21:06:51 INFO: Retrieving Pricing Info for: v3-standard-4 21:06:52 INFO: Archiving Costs [Pipeline] sh 21:06:52 + cat /w/workspace/device-usb-camera/17/archives/cost.csv 21:06:52 + cut -d, -f6 [Pipeline] lock 21:06:52 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] 21:06:52 Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] did not exist. Created. 21:06:52 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:53 /w/workspace/device-usb-camera/17@tmp/durable-a6b11131/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:06:53 + echo total: 0.10999999940395355 [Pipeline] stash 21:06:53 Warning: overwriting stash ‘stack-cost’ 21:06:53 Stashed 1 file(s) [Pipeline] } 21:06:53 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:53 $ docker stop --time=1 01d1515e7688ef177abfa5e3fe44c28d84cdb5c7695d465ba1779e09e3539fc7 21:06:55 $ docker rm -f --volumes 01d1515e7688ef177abfa5e3fe44c28d84cdb5c7695d465ba1779e09e3539fc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:06:55 provisioning config files... 21:06:55 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config8106571097002679817tmp [Pipeline] { [Pipeline] sh 21:06:56 + set +x 21:06:56 + curl -s https://codecov.io/bash 21:06:56 + bash -s -- 21:06:56 21:06:56 _____ _ 21:06:56 / ____| | | 21:06:56 | | ___ __| | ___ ___ _____ __ 21:06:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:06:56 | |___| (_) | (_| | __/ (_| (_) \ V / 21:06:56 \_____\___/ \__,_|\___|\___\___/ \_/ 21:06:56 Bash-1.0.6 21:06:56 21:06:56 21:06:56 ==> git version 2.25.1 found 21:06:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:06:56 Release-Date: 2020-01-08 21:06:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:06:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:06:56 ==> Jenkins CI detected. 21:06:56 current dir:  /w/workspace/foundry_device-usb-camera_PR-262 21:06:56 project root: . 21:06:56 --> token set from env 21:06:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:06:56 ==> Running gcov in . (disable via -X gcov) 21:06:56 ==> Python coveragepy not found 21:06:56 ==> Searching for coverage reports in: 21:06:56 + . 21:06:56 -> Found 1 reports 21:06:56 ==> Detecting git/mercurial file structure 21:06:56 ==> Reading reports 21:06:56 + ./coverage.out bytes=37272 21:06:56 ==> Appending adjustments 21:06:56 https://docs.codecov.io/docs/fixing-reports 21:06:56 + Found adjustments 21:06:56 ==> Gzipping contents 21:06:56 8.0K /tmp/codecov.t2uHfL.gz 21:06:56 ==> Uploading reports 21:06:56 url: https://codecov.io 21:06:56 query: branch=PR-262&commit=473ff219b026b6d71cd1b6f680fc2769aaac1390&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= 21:06:56 -> Pinging Codecov 21:06:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-262&commit=473ff219b026b6d71cd1b6f680fc2769aaac1390&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= 21:06:56 -> Uploading to 21:06:56 https://storage.googleapis.com/codecov/v4/raw/2023-06-28/73D8F5FF140700D3E01443B452E23636/473ff219b026b6d71cd1b6f680fc2769aaac1390/0fc2a793-0de7-4b1d-9cc6-3f4f4abf6864.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230628T210656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9642f4019e82e2832a38145f26e828139bfb0a1879c199ed3e39b1e944a620e1 21:06:56 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:56 Dload Upload Total Spent Left Speed 21:06:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5144 0 0 100 5144 0 23381 --:--:-- --:--:-- --:--:-- 23276 100 5144 0 0 100 5144 0 23381 --:--:-- --:--:-- --:--:-- 23276 21:06:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] } 21:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:06:57 + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] 21:06:57 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 21:06:57 total 16 21:06:57 drwxr-xr-x 3 root root 4096 Jun 28 20:58 . 21:06:57 drwxrwxr-x 11 jenkins jenkins 4096 Jun 28 20:58 .. 21:06:57 drwxr-xr-x 2 root root 4096 Jun 28 20:58 cost 21:06:57 -rw-r--r-- 1 root root 90 Jun 28 20:58 cost.csv 21:06:57 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives 21:06:57 + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives 21:06:57 total 16 21:06:57 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 20:58 . 21:06:57 drwxrwxr-x 11 jenkins jenkins 4096 Jun 28 20:58 .. 21:06:57 drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 20:58 cost 21:06:57 -rw-r--r-- 1 jenkins jenkins 90 Jun 28 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:06:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:06:58 ---> package-listing.sh 21:06:58 ++ facter osfamily 21:06:58 ++ tr '[:upper:]' '[:lower:]' 21:06:58 + OS_FAMILY=debian 21:06:58 + workspace=/w/workspace/foundry_device-usb-camera_PR-262 21:06:58 + START_PACKAGES=/tmp/packages_start.txt 21:06:58 + END_PACKAGES=/tmp/packages_end.txt 21:06:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:06:58 + PACKAGES=/tmp/packages_start.txt 21:06:58 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 21:06:58 + PACKAGES=/tmp/packages_end.txt 21:06:58 + case "${OS_FAMILY}" in 21:06:58 + grep '^ii' 21:06:58 + dpkg -l 21:06:58 + '[' -f /tmp/packages_start.txt ']' 21:06:58 + '[' -f /tmp/packages_end.txt ']' 21:06:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:06:58 + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' 21:06:58 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ 21:06:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo 21:06:58 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-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:06:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:59 prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container 21:06:59 $ 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-262/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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:06:59 $ docker top e445ed8262687cf6bf1ec8e6966cd81d0bb0296bb7b1ab09b712a1342694c623 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:00 + touch /tmp/pre-build-complete [Pipeline] sh 21:07:00 + mkdir -p /var/log/sysstat [Pipeline] sh 21:07:00 + ls /var/log/sa-host 21:07:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:00 provisioning config files... 21:07:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config18444157037736503384tmp [Pipeline] { [Pipeline] echo 21:07:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:07:01 ---> create-netrc.sh [Pipeline] } 21:07:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:07:01 ---> python-tools-install.sh [Pipeline] echo 21:07:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:07:01 ---> sudo-logs.sh 21:07:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:07:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:07:02 ---> job-cost.sh 21:07:02 lf-activate-venv: SKIPPING 21:07:02 DEBUG: total: 0.2199999988079071 21:07:02 INFO: Retrieving Stack Cost... 21:07:02 INFO: Retrieving Pricing Info for: v3-standard-8 21:07:03 INFO: Archiving Costs [Pipeline] echo 21:07:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:07:03 ---> logs-deploy.sh 21:07:03 lf-activate-venv: SKIPPING 21:07:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/17 21:07:03 INFO: archiving workspace using pattern(s): 21:07:04 Archives upload complete. 21:07:04 INFO: archiving logs to Nexus