Pull request #95 updated Pull request #95 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 vyshali-chitikeshi for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 2f8c06fbfb8b0782f288c35171c6afc148f652fe rather than 102c65230d7094dd32c2165472000c3ddebb97ae Obtained Jenkinsfile from 2f8c06fbfb8b0782f288c35171c6afc148f652fe 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-ssh13707809495246862159.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7230429357425553692.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-95/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-95/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18370614890777855216.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh11987647148392858918.key Verifying host key using known hosts file > 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-95/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-95/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13285347217215067396.key Verifying host key using known hosts file > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2150 in /w/workspace/xfoundry_device-usb-camera_PR-95 [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/xfoundry_device-usb-camera_PR-95 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2f8c06fbfb8b0782f288c35171c6afc148f652fe into PR head commit 102c65230d7094dd32c2165472000c3ddebb97ae Merge succeeded, producing 102c65230d7094dd32c2165472000c3ddebb97ae Checking out Revision 102c65230d7094dd32c2165472000c3ddebb97ae (PR-95) > git config core.sparsecheckout # timeout=10 > git checkout -f 102c65230d7094dd32c2165472000c3ddebb97ae # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 2f8c06fbfb8b0782f288c35171c6afc148f652fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 102c65230d7094dd32c2165472000c3ddebb97ae # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into postman" First time build. Skipping changelog. > git rev-list --no-walk 8952d07bdc491e9596ba70a3204e47b2a8f3587f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:28:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:28:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:28:14 ========================================================= 18:28:14 EdgeX Global Pipelines Version Info 18:28:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:28:15 ------------------- 18:28:15 stable info: 18:28:15 ------------------- 18:28:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:28:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:28:15 Message: update stable to v1.0.239 18:28:15 ------------------- 18:28:15 experimental info: 18:28:15 ------------------- 18:28:15 Commited By: **** collab-it+edgex@linuxfoundation.org 18:28:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:28:15 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:28:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:28:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 102c65230d7094dd32c2165472000c3ddebb97ae [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 102c652 [Pipeline] echo 18:28:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:16 provisioning config files... 18:28:16 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-95@tmp/config11565670444823744880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:16 ---> docker-login.sh 18:28:16 nexus3.edgexfoundry.org:10001 18:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:17 Configure a credential helper to remove this warning. See 18:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:17 18:28:17 Login Succeeded 18:28:17 nexus3.edgexfoundry.org:10002 18:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:17 Configure a credential helper to remove this warning. See 18:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:17 18:28:17 Login Succeeded 18:28:17 nexus3.edgexfoundry.org:10003 18:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:17 Configure a credential helper to remove this warning. See 18:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:17 18:28:17 Login Succeeded 18:28:17 nexus3.edgexfoundry.org:10004 18:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:17 Configure a credential helper to remove this warning. See 18:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:17 18:28:17 Login Succeeded 18:28:17 docker.io 18:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:17 Configure a credential helper to remove this warning. See 18:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:17 18:28:17 Login Succeeded 18:28:17 ---> docker-login.sh ends [Pipeline] } 18:28:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:28:18 + git rev-list -1 --merges 102c65230d7094dd32c2165472000c3ddebb97ae~1..102c65230d7094dd32c2165472000c3ddebb97ae [Pipeline] echo 18:28:18 -----------> git rev-list -1 --merges 102c65230d7094dd32c2165472000c3ddebb97ae~1..102c65230d7094dd32c2165472000c3ddebb97ae 102c65230d7094dd32c2165472000c3ddebb97ae 18:28:18 102c65230d7094dd32c2165472000c3ddebb97ae [false] [Pipeline] sh 18:28:18 + git log --format=format:%s -1 102c65230d7094dd32c2165472000c3ddebb97ae [Pipeline] echo 18:28:18 ========================================================= 18:28:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:28:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:28:18 + git log --format=format:%s -1 102c65230d7094dd32c2165472000c3ddebb97ae [Pipeline] echo 18:28:18 [semverPrep] GIT_COMMIT: 102c65230d7094dd32c2165472000c3ddebb97ae, Commit Message: Merge branch 'edgexfoundry:main' into postman [Pipeline] echo 18:28:18 [semverPrep] This is not a build commit. [Pipeline] sh 18:28:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:28:19 + grep -v github /etc/ssh/ssh_known_hosts 18:28:19 + [ -e /tmp/ssh_known_hosts ] 18:28:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:28:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:28:19 + sudo tee -a /etc/ssh/ssh_known_hosts 18:28:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:28:19 18:28:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:28:19 0.1.4: Pulling from edgex-devops/py-git-semver 18:28:19 b85a868b505f: Pulling fs layer 18:28:19 e2be974225ed: Pulling fs layer 18:28:19 339a4e72a1f5: Pulling fs layer 18:28:19 988bab9f4d93: Pulling fs layer 18:28:19 1469e6f7b9e6: Pulling fs layer 18:28:19 eaf3925da568: Pulling fs layer 18:28:19 bab4dde63d76: Pulling fs layer 18:28:19 bde34c3a00c8: Pulling fs layer 18:28:19 b352a97aabf1: Pulling fs layer 18:28:19 4872d77fe225: Pulling fs layer 18:28:19 5851b861e8e6: Pulling fs layer 18:28:19 bde34c3a00c8: Waiting 18:28:19 988bab9f4d93: Waiting 18:28:19 1469e6f7b9e6: Waiting 18:28:19 eaf3925da568: Waiting 18:28:19 bab4dde63d76: Waiting 18:28:19 b352a97aabf1: Waiting 18:28:19 4872d77fe225: Waiting 18:28:19 e2be974225ed: Download complete 18:28:19 988bab9f4d93: Download complete 18:28:20 1469e6f7b9e6: Verifying Checksum 18:28:20 1469e6f7b9e6: Download complete 18:28:20 eaf3925da568: Verifying Checksum 18:28:20 eaf3925da568: Download complete 18:28:20 339a4e72a1f5: Verifying Checksum 18:28:20 339a4e72a1f5: Download complete 18:28:20 bde34c3a00c8: Download complete 18:28:20 b352a97aabf1: Verifying Checksum 18:28:20 b352a97aabf1: Download complete 18:28:20 4872d77fe225: Download complete 18:28:20 5851b861e8e6: Verifying Checksum 18:28:20 5851b861e8e6: Download complete 18:28:20 b85a868b505f: Verifying Checksum 18:28:20 b85a868b505f: Download complete 18:28:20 bab4dde63d76: Verifying Checksum 18:28:20 bab4dde63d76: Download complete 18:28:21 b85a868b505f: Pull complete 18:28:21 e2be974225ed: Pull complete 18:28:22 339a4e72a1f5: Pull complete 18:28:22 988bab9f4d93: Pull complete 18:28:22 1469e6f7b9e6: Pull complete 18:28:22 eaf3925da568: Pull complete 18:28:24 bab4dde63d76: Pull complete 18:28:24 bde34c3a00c8: Pull complete 18:28:24 b352a97aabf1: Pull complete 18:28:24 4872d77fe225: Pull complete 18:28:24 5851b861e8e6: Pull complete 18:28:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:28:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:28:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:24 prd-ubuntu20.04-docker-8c-8g-2150 does not seem to be running inside a container 18:28:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-95 -v /w/workspace/xfoundry_device-usb-camera_PR-95:/w/workspace/xfoundry_device-usb-camera_PR-95:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-95@tmp:/w/workspace/xfoundry_device-usb-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:28:26 $ docker top d807c0bac68b61b2f7737bf976e5b0b4fb1c1c5c30ff780bbbee8b474768c158 -eo pid,comm 18:28:26 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). 18:28:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:28:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:28:26 [ssh-agent] Looking for ssh-agent implementation... 18:28:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:28:26 $ docker exec d807c0bac68b61b2f7737bf976e5b0b4fb1c1c5c30ff780bbbee8b474768c158 ssh-agent 18:28:26 SSH_AUTH_SOCK=/tmp/ssh-ae6WbFedokkU/agent.33 18:28:26 SSH_AGENT_PID=40 18:28:26 Running ssh-add (command line suppressed) 18:28:27 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-95@tmp/private_key_11146558396144926866.key (/w/workspace/xfoundry_device-usb-camera_PR-95@tmp/private_key_11146558396144926866.key) 18:28:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:28:27 + git tag --points-at HEAD [Pipeline] } 18:28:27 $ docker exec --env ******** --env ******** d807c0bac68b61b2f7737bf976e5b0b4fb1c1c5c30ff780bbbee8b474768c158 ssh-agent -k 18:28:27 unset SSH_AUTH_SOCK; 18:28:27 unset SSH_AGENT_PID; 18:28:27 echo Agent pid 40 killed; 18:28:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:28:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:28:27 [ssh-agent] Looking for ssh-agent implementation... 18:28:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:28:27 $ docker exec d807c0bac68b61b2f7737bf976e5b0b4fb1c1c5c30ff780bbbee8b474768c158 ssh-agent 18:28:27 SSH_AUTH_SOCK=/tmp/ssh-7nTLqwVGVBjV/agent.72 18:28:27 SSH_AGENT_PID=78 18:28:27 Running ssh-add (command line suppressed) 18:28:27 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-95@tmp/private_key_6810687084095876646.key (/w/workspace/xfoundry_device-usb-camera_PR-95@tmp/private_key_6810687084095876646.key) 18:28:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:28:28 + git semver init 18:28:28 2022-09-29 18:28:28,358 [run_init] DEBUG init version:0.0.0 force:False 18:28:28 2022-09-29 18:28:28,359 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-95/.semver 18:28:28 2022-09-29 18:28:28,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-95/.semver 18:28:28 2022-09-29 18:28:28,360 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-95/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-95, universal_newlines=False, shell=None, istream=None) 18:28:29 2022-09-29 18:28:29,168 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-95/.git/info/exclude 18:28:29 2022-09-29 18:28:29,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-95/.semver/PR-95 with force:False 18:28:29 2022-09-29 18:28:29,169 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-95/.semver/PR-95 18:28:29 2022-09-29 18:28:29,174 [execute] INFO git cat-file --batch-check 18:28:29 2022-09-29 18:28:29,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-95/.semver, universal_newlines=False, shell=None, istream=) 18:28:29 2022-09-29 18:28:29,181 [execute] INFO git cat-file --batch 18:28:29 2022-09-29 18:28:29,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-95/.semver, universal_newlines=False, shell=None, istream=) 18:28:29 2022-09-29 18:28:29,187 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-95/.semver/PR-95 18:28:29 0.0.0 [Pipeline] } 18:28:29 $ docker exec --env ******** --env ******** d807c0bac68b61b2f7737bf976e5b0b4fb1c1c5c30ff780bbbee8b474768c158 ssh-agent -k 18:28:29 unset SSH_AUTH_SOCK; 18:28:29 unset SSH_AGENT_PID; 18:28:29 echo Agent pid 78 killed; 18:28:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:28:29 + git semver [Pipeline] } 18:28:30 $ docker stop --time=1 d807c0bac68b61b2f7737bf976e5b0b4fb1c1c5c30ff780bbbee8b474768c158 18:28:31 $ docker rm -f d807c0bac68b61b2f7737bf976e5b0b4fb1c1c5c30ff780bbbee8b474768c158 [Pipeline] // withDockerContainer [Pipeline] sh 18:28:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:28:31 Stashed 1 file(s) [Pipeline] echo 18:28:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:32 provisioning config files... 18:28:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-95@tmp/config7268820330146705266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:32 ---> docker-login.sh 18:28:32 nexus3.edgexfoundry.org:10001 18:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:32 Configure a credential helper to remove this warning. See 18:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:32 18:28:32 Login Succeeded 18:28:32 nexus3.edgexfoundry.org:10002 18:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:32 Configure a credential helper to remove this warning. See 18:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:32 18:28:32 Login Succeeded 18:28:32 nexus3.edgexfoundry.org:10003 18:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:32 Configure a credential helper to remove this warning. See 18:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:32 18:28:32 Login Succeeded 18:28:32 nexus3.edgexfoundry.org:10004 18:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:32 Configure a credential helper to remove this warning. See 18:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:32 18:28:32 Login Succeeded 18:28:32 docker.io 18:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:33 Configure a credential helper to remove this warning. See 18:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:33 18:28:33 Login Succeeded 18:28:33 ---> docker-login.sh ends [Pipeline] } 18:28:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:28:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:33 ========================================================= 18:28:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:28:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:28:33 Sending build context to Docker daemon 1.503MB 18:28:33 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:28:33 Step 2/14 : FROM ${BASE} AS builder 18:28:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:28:33 2408cc74d12b: Pulling fs layer 18:28:33 ea60b727a1ce: Pulling fs layer 18:28:33 30c4a7721957: Pulling fs layer 18:28:33 370296b7ddb6: Pulling fs layer 18:28:33 7c6cee850709: Pulling fs layer 18:28:33 39a5fcdaea64: Pulling fs layer 18:28:33 d94ebbe4e438: Pulling fs layer 18:28:33 bcfd1f05c69d: Pulling fs layer 18:28:33 59ccb84bbe0f: Pulling fs layer 18:28:33 370296b7ddb6: Waiting 18:28:33 7c6cee850709: Waiting 18:28:33 39a5fcdaea64: Waiting 18:28:33 d94ebbe4e438: Waiting 18:28:33 bcfd1f05c69d: Waiting 18:28:33 59ccb84bbe0f: Waiting 18:28:33 30c4a7721957: Verifying Checksum 18:28:33 30c4a7721957: Download complete 18:28:33 ea60b727a1ce: Verifying Checksum 18:28:33 ea60b727a1ce: Download complete 18:28:33 7c6cee850709: Download complete 18:28:33 39a5fcdaea64: Verifying Checksum 18:28:33 39a5fcdaea64: Download complete 18:28:33 2408cc74d12b: Verifying Checksum 18:28:33 2408cc74d12b: Download complete 18:28:33 d94ebbe4e438: Download complete 18:28:33 2408cc74d12b: Pull complete 18:28:34 ea60b727a1ce: Pull complete 18:28:34 30c4a7721957: Pull complete 18:28:34 59ccb84bbe0f: Verifying Checksum 18:28:34 59ccb84bbe0f: Download complete 18:28:34 bcfd1f05c69d: Verifying Checksum 18:28:34 bcfd1f05c69d: Download complete 18:28:34 370296b7ddb6: Verifying Checksum 18:28:34 370296b7ddb6: Download complete 18:28:38 370296b7ddb6: Pull complete 18:28:38 7c6cee850709: Pull complete 18:28:38 39a5fcdaea64: Pull complete 18:28:38 d94ebbe4e438: Pull complete 18:28:41 bcfd1f05c69d: Pull complete 18:28:41 59ccb84bbe0f: Pull complete 18:28:41 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:28:41 ---> a4fb48ad2a94 18:28:41 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:28:43 ---> Running in ed629c941354 18:28:43 Removing intermediate container ed629c941354 18:28:43 ---> 4efcf04f1222 18:28:43 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:28:43 ---> Running in 1c8cbd5a84c8 18:28:43 Removing intermediate container 1c8cbd5a84c8 18:28:43 ---> ab5c70336272 18:28:43 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:28:43 ---> Running in dae12094fc39 18:28:43 Removing intermediate container dae12094fc39 18:28:43 ---> f373278b7b81 18:28:43 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:28:43 ---> Running in dc4075ce975d 18:28:44 Removing intermediate container dc4075ce975d 18:28:44 ---> ac827f18bceb 18:28:44 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:28:44 ---> Running in a37f7aa5a3e8 18:28:44 Removing intermediate container a37f7aa5a3e8 18:28:44 ---> decbf4ed3757 18:28:44 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:28:44 ---> Running in eff575967c68 18:28:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:28:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:28:46 (1/80) Installing mesa (21.3.8-r2) 18:28:46 (2/80) Installing libxau (1.0.9-r0) 18:28:46 (3/80) Installing libxdmcp (1.1.3-r0) 18:28:46 (4/80) Installing libxcb (1.15-r0) 18:28:46 (5/80) Installing libx11 (1.8-r0) 18:28:46 (6/80) Installing libxext (1.3.4-r0) 18:28:46 (7/80) Installing libxfixes (6.0.0-r0) 18:28:46 (8/80) Installing libxxf86vm (1.1.4-r2) 18:28:47 (9/80) Installing libpciaccess (0.16-r0) 18:28:47 (10/80) Installing libdrm (2.4.110-r0) 18:28:47 (11/80) Installing mesa-glapi (21.3.8-r2) 18:28:47 Still waiting to schedule task 18:28:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2141’ 18:28:47 (12/80) Installing libxshmfence (1.3-r1) 18:28:47 (13/80) Installing mesa-gl (21.3.8-r2) 18:28:47 (14/80) Installing icu-data-full (71.1-r2) 18:28:48 (15/80) Installing libice (1.0.10-r0) 18:28:48 (16/80) Installing libuuid (2.38-r1) 18:28:48 (17/80) Installing libsm (1.2.3-r0) 18:28:48 (18/80) Installing libxt (1.2.1-r0) 18:28:48 (19/80) Installing libxmu (1.1.3-r0) 18:28:48 (20/80) Installing xset (1.2.4-r0) 18:28:48 (21/80) Installing xprop (1.2.5-r0) 18:28:48 (22/80) Installing xdg-utils (1.1.3-r3) 18:28:48 (23/80) Installing dbus-libs (1.14.0-r1) 18:28:48 (24/80) Installing libffi (3.4.2-r1) 18:28:48 (25/80) Installing libintl (0.21-r2) 18:28:49 (26/80) Installing libblkid (2.38-r1) 18:28:49 (27/80) Installing libmount (2.38-r1) 18:28:49 (28/80) Installing pcre (8.45-r2) 18:28:49 (29/80) Installing glib (2.72.1-r0) 18:28:49 (30/80) Installing icu-libs (71.1-r2) 18:28:49 (31/80) Installing libpcre2-16 (10.40-r0) 18:28:49 (32/80) Installing zstd-libs (1.5.2-r1) 18:28:50 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 18:28:50 (34/80) Installing hicolor-icon-theme (0.17-r1) 18:28:50 (35/80) Installing wayland-libs-server (1.20.0-r0) 18:28:50 (36/80) Installing mesa-gbm (21.3.8-r2) 18:28:50 (37/80) Installing wayland-libs-client (1.20.0-r0) 18:28:50 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 18:28:50 (39/80) Installing libxcomposite (0.4.5-r0) 18:28:51 (40/80) Installing libbz2 (1.0.8-r1) 18:28:51 (41/80) Installing libpng (1.6.37-r1) 18:28:51 (42/80) Installing freetype (2.12.1-r0) 18:28:51 (43/80) Installing fontconfig (2.14.0-r0) 18:28:51 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 18:28:51 (45/80) Installing wayland-libs-egl (1.20.0-r0) 18:28:51 (46/80) Installing xkeyboard-config (2.35.1-r0) 18:28:51 (47/80) Installing xz-libs (5.2.5-r1) 18:28:51 (48/80) Installing libxml2 (2.9.14-r1) 18:28:51 (49/80) Installing libxkbcommon (1.4.1-r0) 18:28:51 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 18:28:52 (51/80) Installing mesa-egl (21.3.8-r2) 18:28:52 (52/80) Installing avahi-libs (0.8-r6) 18:28:52 (53/80) Installing nettle (3.7.3-r0) 18:28:52 (54/80) Installing p11-kit (0.24.1-r0) 18:28:52 (55/80) Installing libtasn1 (4.18.0-r0) 18:28:52 (56/80) Installing libunistring (1.0-r0) 18:28:52 (57/80) Installing gnutls (3.7.7-r0) 18:28:52 (58/80) Installing cups-libs (2.4.2-r0) 18:28:52 (59/80) Installing graphite2 (1.3.14-r1) 18:28:52 (60/80) Installing harfbuzz (4.3.0-r0) 18:28:52 (61/80) Installing libevdev (1.12.1-r0) 18:28:53 (62/80) Installing mtdev (1.1.6-r0) 18:28:53 (63/80) Installing eudev-libs (3.2.11-r0) 18:28:53 (64/80) Installing libinput-libs (1.20.1-r0) 18:28:53 (65/80) Installing libjpeg-turbo (2.1.3-r1) 18:28:53 (66/80) Installing xcb-util-wm (0.4.1-r1) 18:28:53 (67/80) Installing xcb-util (0.4.0-r3) 18:28:53 (68/80) Installing xcb-util-image (0.4.0-r1) 18:28:53 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 18:28:53 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 18:28:53 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 18:28:53 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 18:28:54 (73/80) Installing v4l-utils-libs (1.22.1-r1) 18:28:54 (74/80) Installing v4l-utils (1.22.1-r1) 18:28:54 (75/80) Installing udev-init-scripts (35-r0) 18:28:54 Executing udev-init-scripts-35-r0.post-install 18:28:54 (76/80) Installing kmod-libs (29-r2) 18:28:54 (77/80) Installing eudev (3.2.11-r0) 18:28:55 (78/80) Installing eudev-dev (3.2.11-r0) 18:28:55 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:28:55 (80/80) Installing v4l-utils-dev (1.22.1-r1) 18:28:55 Executing busybox-1.35.0-r13.trigger 18:28:55 Executing eudev-3.2.11-r0.trigger 18:28:55 OK: 330 MiB in 131 packages 18:28:57 Removing intermediate container eff575967c68 18:28:57 ---> ebffa00dcd80 18:28:57 Step 9/14 : WORKDIR /device-usb-camera 18:28:57 ---> Running in d98b4edac90f 18:28:57 Removing intermediate container d98b4edac90f 18:28:57 ---> f955987b57d0 18:28:57 Step 10/14 : COPY go.mod vendor* ./ 18:28:57 ---> 58f46ccf1b87 18:28:57 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:28:57 ---> Running in 144d84cc3650 18:29:15 Removing intermediate container 144d84cc3650 18:29:15 ---> 0009b492df4e 18:29:15 Step 12/14 : COPY . . 18:29:15 ---> 548f99c208c6 18:29:15 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:29:15 ---> Running in d7b51e538b5f 18:29:15  % Total % Received % Xferd Average Speed Time Time Time Current 18:29:15 Dload Upload Total Spent Left  Speed 18:29:15 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9639 0 --:--:-- --:--:-- --:--:-- 9654 18:29:15 Removing intermediate container d7b51e538b5f 18:29:15 ---> 91e15604b801 18:29:15 Step 14/14 : RUN ${MAKE} 18:29:15 ---> Running in e26396221ed9 18:29:15 noop 18:29:15 Removing intermediate container e26396221ed9 18:29:15 ---> e0f0bd6c7839 18:29:15 Successfully built e0f0bd6c7839 18:29:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:16 + docker inspect -f . ci-base-image-x86_64 18:29:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:16 prd-ubuntu20.04-docker-8c-8g-2150 does not seem to be running inside a container 18:29:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-95 -v /w/workspace/xfoundry_device-usb-camera_PR-95:/w/workspace/xfoundry_device-usb-camera_PR-95:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-95@tmp:/w/workspace/xfoundry_device-usb-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:29:16 $ docker top 78c3b1d277ee72a0c6e742a6c1765bd26157ec7a03740e94306ee0154c556d49 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:17 + go version 18:29:17 go version go1.18.3 linux/amd64 [Pipeline] } 18:29:17 $ docker stop --time=1 78c3b1d277ee72a0c6e742a6c1765bd26157ec7a03740e94306ee0154c556d49 18:29:18 $ docker rm -f 78c3b1d277ee72a0c6e742a6c1765bd26157ec7a03740e94306ee0154c556d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:18 + docker inspect -f . ci-base-image-x86_64 18:29:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:18 prd-ubuntu20.04-docker-8c-8g-2150 does not seem to be running inside a container 18:29:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-95 -v /w/workspace/xfoundry_device-usb-camera_PR-95:/w/workspace/xfoundry_device-usb-camera_PR-95:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-95@tmp:/w/workspace/xfoundry_device-usb-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:29:19 $ docker top f0981a9e6c0238655c50c120e4d3a81ad8d1d7fad79eac44a9b8757b0c201500 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:19 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-95 [Pipeline] fileExists [Pipeline] sh 18:29:19 + make test 18:29:19 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:29:20 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:29:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:29:31 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements 18:29:39 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:29:39 CGO_ENABLED=1 go vet ./... 18:29:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:41 ./bin/test-attribution-txt.sh [Pipeline] echo 18:29:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:41 $ docker stop --time=1 f0981a9e6c0238655c50c120e4d3a81ad8d1d7fad79eac44a9b8757b0c201500 18:29:43 $ docker rm -f f0981a9e6c0238655c50c120e4d3a81ad8d1d7fad79eac44a9b8757b0c201500 [Pipeline] // withDockerContainer [Pipeline] sh 18:29:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:29:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:45 + ls -al . 18:29:45 total 196 18:29:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 29 18:29 . 18:29:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:28 .. 18:29:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 18:29 .git 18:29:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:28 .github 18:29:45 -rw-rw-r-- 1 jenkins jenkins 414 Sep 29 18:28 .gitignore 18:29:45 -rw-rw-r-- 1 jenkins jenkins 42 Sep 29 18:28 .golangci.yml 18:29:45 -rw-rw-r-- 1 jenkins jenkins 77 Sep 29 18:28 .hadolint.yml 18:29:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 18:28 .semver 18:29:45 -rw-rw-r-- 1 jenkins jenkins 9702 Sep 29 18:28 Attribution.txt 18:29:45 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 29 18:28 CHANGELOG.md 18:29:45 -rw-rw-r-- 1 jenkins jenkins 2467 Sep 29 18:28 Dockerfile 18:29:45 -rw-rw-r-- 1 jenkins jenkins 678 Sep 29 18:28 GOVERNANCE.md 18:29:45 -rw-rw-r-- 1 jenkins jenkins 659 Sep 29 18:28 Jenkinsfile 18:29:45 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 29 18:28 LICENSE 18:29:45 -rw-rw-r-- 1 jenkins jenkins 2554 Sep 29 18:28 Makefile 18:29:45 -rw-rw-r-- 1 jenkins jenkins 622 Sep 29 18:28 OWNERS.md 18:29:45 -rw-rw-r-- 1 jenkins jenkins 5773 Sep 29 18:28 README.md 18:29:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 18:28 VERSION 18:29:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:28 bin 18:29:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:28 cmd 18:29:45 -rw-r--r-- 1 jenkins jenkins 29387 Sep 29 18:29 coverage.out 18:29:45 -rwxrwxr-x 1 jenkins jenkins 140 Sep 29 18:28 docker-entrypoint.sh 18:29:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:28 docs 18:29:45 -rw-rw-r-- 1 jenkins jenkins 3633 Sep 29 18:28 go.mod 18:29:45 -rw-rw-r-- 1 jenkins jenkins 38103 Sep 29 18:28 go.sum 18:29:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:28 internal 18:29:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:28 snap 18:29:45 -rw-rw-r-- 1 jenkins jenkins 231 Sep 29 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:45 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=102c65230d7094dd32c2165472000c3ddebb97ae --label arch=amd64 --label version=0.0.0 . 18:29:45 Sending build context to Docker daemon 1.533MB 18:29:45 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 18:29:45 Step 2/36 : FROM ${BASE} AS builder 18:29:45 ---> e0f0bd6c7839 18:29:45 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:29:45 ---> Running in a790c85e4fc6 18:29:45 Removing intermediate container a790c85e4fc6 18:29:45 ---> 4568c9027c21 18:29:45 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:29:45 ---> Running in b88d7175061d 18:29:45 Removing intermediate container b88d7175061d 18:29:45 ---> e630ee48d87f 18:29:45 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:29:45 ---> Running in ecef76d66b61 18:29:45 Removing intermediate container ecef76d66b61 18:29:45 ---> d84755fc28aa 18:29:45 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:29:45 ---> Running in 0ee359c03638 18:29:45 Removing intermediate container 0ee359c03638 18:29:45 ---> 14c4cf1736e7 18:29:45 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:29:45 ---> Running in 7ebd4c4adb2e 18:29:46 Removing intermediate container 7ebd4c4adb2e 18:29:46 ---> e0d997735b31 18:29:46 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:29:46 ---> Running in 1cba088868b3 18:29:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:29:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:29:47 OK: 330 MiB in 131 packages 18:29:48 Removing intermediate container 1cba088868b3 18:29:48 ---> 626758ffd672 18:29:48 Step 9/36 : WORKDIR /device-usb-camera 18:29:48 ---> Running in 155e8ae9d3ef 18:29:48 Removing intermediate container 155e8ae9d3ef 18:29:48 ---> 18ad15b08e22 18:29:48 Step 10/36 : COPY go.mod vendor* ./ 18:29:48 ---> 5b1c3a736aed 18:29:48 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:48 ---> Running in ef4b00cd50fe 18:29:49 Removing intermediate container ef4b00cd50fe 18:29:49 ---> f8ee2ac322ef 18:29:49 Step 12/36 : COPY . . 18:29:49 ---> abf77416d39b 18:29:49 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:29:49 ---> Running in eb5809627bc3 18:29:50  % Total % Received % Xferd Average Speed Time Time Time Current 18:29:50 Dload Upload Total Spent Left Speed 18:29:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44250 0 --:--:-- --:--:-- --:--:-- 46173 18:29:50 Removing intermediate container eb5809627bc3 18:29:50 ---> 6eb3ba0b9a7b 18:29:50 Step 14/36 : RUN ${MAKE} 18:29:50 ---> Running in 5067b3cea6d0 18:29:50 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 18:30:12 Removing intermediate container 5067b3cea6d0 18:30:12 ---> 0e0a1006e586 18:30:12 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:30:12 v0.18.4: Pulling from aler9/rtsp-simple-server 18:30:12 af6660deedbd: Pulling fs layer 18:30:12 97cd0a44c592: Pulling fs layer 18:30:12 97cd0a44c592: Download complete 18:30:12 af6660deedbd: Download complete 18:30:12 af6660deedbd: Pull complete 18:30:12 97cd0a44c592: Pull complete 18:30:12 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:30:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:30:12 ---> fea57e182299 18:30:12 Step 16/36 : FROM alpine:3.16 18:30:13 3.16: Pulling from library/alpine 18:30:13 213ec9aee27d: Pulling fs layer 18:30:13 213ec9aee27d: Verifying Checksum 18:30:13 213ec9aee27d: Download complete 18:30:13 213ec9aee27d: Pull complete 18:30:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:30:13 Status: Downloaded newer image for alpine:3.16 18:30:13 ---> 9c6f07244728 18:30:13 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:30:13 ---> Running in 613de493a3b5 18:30:14 Removing intermediate container 613de493a3b5 18:30:14 ---> ee885f5e425e 18:30:14 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:30:14 ---> Running in e5da96fe4c8f 18:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:30:14 (1/83) Installing dumb-init (1.2.5-r1) 18:30:14 (2/83) Installing sdl2 (2.0.22-r0) 18:30:14 (3/83) Installing libxau (1.0.9-r0) 18:30:14 (4/83) Installing libxdmcp (1.1.3-r0) 18:30:14 (5/83) Installing libxcb (1.15-r0) 18:30:14 (6/83) Installing libx11 (1.8-r0) 18:30:14 (7/83) Installing aom-libs (3.3.0-r0) 18:30:14 (8/83) Installing alsa-lib (1.2.7.2-r0) 18:30:14 (9/83) Installing expat (2.4.9-r0) 18:30:14 (10/83) Installing brotli-libs (1.0.9-r6) 18:30:14 (11/83) Installing libbz2 (1.0.8-r1) 18:30:14 (12/83) Installing libpng (1.6.37-r1) 18:30:14 (13/83) Installing freetype (2.12.1-r0) 18:30:14 (14/83) Installing fontconfig (2.14.0-r0) 18:30:14 (15/83) Installing fribidi (1.0.12-r0) 18:30:14 (16/83) Installing libffi (3.4.2-r1) 18:30:14 (17/83) Installing libintl (0.21-r2) 18:30:14 (18/83) Installing libblkid (2.38-r1) 18:30:14 (19/83) Installing libmount (2.38-r1) 18:30:14 (20/83) Installing pcre (8.45-r2) 18:30:14 (21/83) Installing glib (2.72.1-r0) 18:30:14 (22/83) Installing graphite2 (1.3.14-r1) 18:30:14 (23/83) Installing harfbuzz (4.3.0-r0) 18:30:14 (24/83) Installing libass (0.16.0-r0) 18:30:14 (25/83) Installing libdav1d (1.0.0-r0) 18:30:14 (26/83) Installing libpciaccess (0.16-r0) 18:30:14 (27/83) Installing libdrm (2.4.110-r0) 18:30:14 (28/83) Installing gmp (6.2.1-r2) 18:30:14 (29/83) Installing nettle (3.7.3-r0) 18:30:14 (30/83) Installing p11-kit (0.24.1-r0) 18:30:14 (31/83) Installing libtasn1 (4.18.0-r0) 18:30:14 (32/83) Installing libunistring (1.0-r0) 18:30:14 (33/83) Installing gnutls (3.7.7-r0) 18:30:15 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 18:30:15 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 18:30:15 (36/83) Installing lame (3.100-r0) 18:30:15 (37/83) Installing opus (1.3.1-r1) 18:30:15 (38/83) Installing libasyncns (0.8-r1) 18:30:15 (39/83) Installing dbus-libs (1.14.0-r1) 18:30:15 (40/83) Installing libltdl (2.4.7-r0) 18:30:15 (41/83) Installing orc (0.4.32-r0) 18:30:15 (42/83) Installing libgcc (11.2.1_git20220219-r2) 18:30:15 (43/83) Installing libogg (1.3.5-r1) 18:30:15 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 18:30:15 (45/83) Installing flac (1.3.4-r0) 18:30:15 (46/83) Installing libvorbis (1.3.7-r0) 18:30:15 (47/83) Installing libsndfile (1.1.0-r0) 18:30:15 (48/83) Installing libgomp (11.2.1_git20220219-r2) 18:30:15 (49/83) Installing soxr (0.1.3-r2) 18:30:15 (50/83) Installing speexdsp (1.2.0-r0) 18:30:15 (51/83) Installing tdb-libs (1.4.6-r0) 18:30:15 (52/83) Installing libpulse (15.0-r2) 18:30:15 (53/83) Installing cjson (1.7.15-r3) 18:30:15 (54/83) Installing mbedtls (2.28.1-r0) 18:30:15 (55/83) Installing librist (0.2.6-r1) 18:30:15 (56/83) Installing libsrt (1.4.4-r0) 18:30:15 (57/83) Installing libssh (0.9.6-r1) 18:30:15 (58/83) Installing libtheora (1.1.1-r16) 18:30:15 (59/83) Installing libjpeg-turbo (2.1.3-r1) 18:30:15 (60/83) Installing v4l-utils-libs (1.22.1-r1) 18:30:15 (61/83) Installing libxext (1.3.4-r0) 18:30:15 (62/83) Installing libxfixes (6.0.0-r0) 18:30:15 (63/83) Installing wayland-libs-client (1.20.0-r0) 18:30:15 (64/83) Installing libva (2.14.0-r0) 18:30:15 (65/83) Installing libvdpau (1.5-r0) 18:30:15 (66/83) Installing vidstab (1.1.0-r1) 18:30:15 (67/83) Installing libvpx (1.11.0-r1) 18:30:15 (68/83) Installing libwebp (1.2.3-r0) 18:30:15 (69/83) Installing x264-libs (0.163_git20210613-r0) 18:30:15 (70/83) Installing numactl (2.0.14-r0) 18:30:15 (71/83) Installing x265-libs (3.5-r3) 18:30:15 (72/83) Installing xvidcore (1.3.7-r1) 18:30:15 (73/83) Installing ffmpeg-libs (5.0.1-r1) 18:30:15 (74/83) Installing ffmpeg (5.0.1-r1) 18:30:15 (75/83) Installing udev-init-scripts (35-r0) 18:30:15 Executing udev-init-scripts-35-r0.post-install 18:30:15 (76/83) Installing eudev-libs (3.2.11-r0) 18:30:15 (77/83) Installing xz-libs (5.2.5-r1) 18:30:15 (78/83) Installing zstd-libs (1.5.2-r1) 18:30:15 (79/83) Installing kmod-libs (29-r2) 18:30:15 (80/83) Installing eudev (3.2.11-r0) 18:30:15 (81/83) Installing libsodium (1.0.18-r0) 18:30:15 (82/83) Installing libzmq (4.3.4-r0) 18:30:15 (83/83) Installing zeromq (4.3.4-r0) 18:30:15 Executing busybox-1.35.0-r17.trigger 18:30:15 Executing eudev-3.2.11-r0.trigger 18:30:15 OK: 101 MiB in 97 packages 18:30:17 Removing intermediate container e5da96fe4c8f 18:30:17 ---> a348031e475c 18:30:17 Step 19/36 : WORKDIR / 18:30:17 ---> Running in 025b35fa3548 18:30:17 Removing intermediate container 025b35fa3548 18:30:17 ---> ad2269b13a03 18:30:17 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 18:30:18 ---> 56a5ea7eb29a 18:30:18 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:30:18 ---> 9842c5a1df83 18:30:18 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:30:18 ---> cab4f69b1e23 18:30:18 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:30:18 ---> 0255108b50b0 18:30:18 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:30:19 ---> d44a41e1b5fd 18:30:19 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:30:19 ---> ed626611a77e 18:30:19 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 18:30:19 ---> 3e3f7d49d829 18:30:19 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:30:19 ---> Running in a8fa78625436 18:30:20 Removing intermediate container a8fa78625436 18:30:20 ---> 849a08e7f160 18:30:20 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:30:20 ---> Running in 17e30c61a335 18:30:20 Removing intermediate container 17e30c61a335 18:30:20 ---> 9f33a6fd7032 18:30:20 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:30:20 ---> Running in 2d9d445094c3 18:30:21 Removing intermediate container 2d9d445094c3 18:30:21 ---> d7d06db4ec40 18:30:21 Step 30/36 : EXPOSE 59983 18:30:21 ---> Running in 6361fc218b0e 18:30:21 Removing intermediate container 6361fc218b0e 18:30:21 ---> e1c16df13f9b 18:30:21 Step 31/36 : EXPOSE 8554 18:30:21 ---> Running in 7f844c1e28b3 18:30:21 Removing intermediate container 7f844c1e28b3 18:30:21 ---> e51d5ec856b1 18:30:21 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:30:21 ---> Running in 96a761dc1627 18:30:21 Removing intermediate container 96a761dc1627 18:30:21 ---> a54fafcdc71a 18:30:21 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:30:21 ---> Running in b389cfe91066 18:30:21 Removing intermediate container b389cfe91066 18:30:21 ---> b1306017cf7f 18:30:21 Step 34/36 : LABEL arch=amd64 18:30:22 ---> Running in af3089c405af 18:30:22 Removing intermediate container af3089c405af 18:30:22 ---> 231f4d2f7abf 18:30:22 Step 35/36 : LABEL git_sha=102c65230d7094dd32c2165472000c3ddebb97ae 18:30:22 ---> Running in 2a0397f9cfd2 18:30:22 Removing intermediate container 2a0397f9cfd2 18:30:22 ---> 165c066df06a 18:30:22 Step 36/36 : LABEL version=0.0.0 18:30:22 ---> Running in 1b9ada122dc9 18:30:22 Removing intermediate container 1b9ada122dc9 18:30:22 ---> 2a19236441e3 18:30:22 [Warning] One or more build-args [ARCH] were not consumed 18:30:22 Successfully built 2a19236441e3 18:30:22 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:22 18:30:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:23 latest: Pulling from edgex-lftools-log-publisher 18:30:23 5eb5b503b376: Pulling fs layer 18:30:23 5c69ac0246d0: Pulling fs layer 18:30:23 ec43610c2a17: Pulling fs layer 18:30:23 3a2ae6a8a46f: Pulling fs layer 18:30:23 33b1e0a273af: Pulling fs layer 18:30:23 5d3b04190fa2: Pulling fs layer 18:30:23 2f39f015ded8: Pulling fs layer 18:30:23 3a2ae6a8a46f: Waiting 18:30:23 5d3b04190fa2: Waiting 18:30:23 2f39f015ded8: Waiting 18:30:23 33b1e0a273af: Waiting 18:30:23 5c69ac0246d0: Verifying Checksum 18:30:23 5c69ac0246d0: Download complete 18:30:23 3a2ae6a8a46f: Verifying Checksum 18:30:23 3a2ae6a8a46f: Download complete 18:30:23 33b1e0a273af: Verifying Checksum 18:30:23 33b1e0a273af: Download complete 18:30:23 5d3b04190fa2: Download complete 18:30:23 ec43610c2a17: Verifying Checksum 18:30:23 ec43610c2a17: Download complete 18:30:23 5eb5b503b376: Verifying Checksum 18:30:23 5eb5b503b376: Download complete 18:30:23 2f39f015ded8: Download complete 18:30:24 5eb5b503b376: Pull complete 18:30:24 5c69ac0246d0: Pull complete 18:30:24 ec43610c2a17: Pull complete 18:30:24 3a2ae6a8a46f: Pull complete 18:30:25 33b1e0a273af: Pull complete 18:30:25 5d3b04190fa2: Pull complete 18:30:29 2f39f015ded8: Pull complete 18:30:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:30:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:29 prd-ubuntu20.04-docker-8c-8g-2150 does not seem to be running inside a container 18:30:29 $ 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/xfoundry_device-usb-camera_PR-95 -v /w/workspace/xfoundry_device-usb-camera_PR-95:/w/workspace/xfoundry_device-usb-camera_PR-95:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-95@tmp:/w/workspace/xfoundry_device-usb-camera_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:30:31 $ docker top 0210e224d4ac738567042f7d40bd7070875fb76131f6c9bebd64d22bb74a6075 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:31 ---> job-cost.sh 18:30:31 lf-activate-venv: SKIPPING 18:30:31 INFO: No Stack... 18:30:32 INFO: Retrieving Pricing Info for: v3-standard-8 18:30:32 INFO: Archiving Costs [Pipeline] sh 18:30:32 + cat /w/workspace/xfoundry_device-usb-camera_PR-95/archives/cost.csv 18:30:32 + cut -d, -f6 [Pipeline] lock 18:30:32 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-95-2-stack-cost] 18:30:32 Resource [jenkins-edgexfoundry-device-usb-camera-PR-95-2-stack-cost] did not exist. Created. 18:30:32 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-95-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:30:33 + echo total: 0.2199999988079071 [Pipeline] stash 18:30:33 Stashed 1 file(s) [Pipeline] } 18:30:33 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-95-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:30:33 $ docker stop --time=1 0210e224d4ac738567042f7d40bd7070875fb76131f6c9bebd64d22bb74a6075 18:30:34 $ docker rm -f 0210e224d4ac738567042f7d40bd7070875fb76131f6c9bebd64d22bb74a6075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:31:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2151 in /w/workspace/xfoundry_device-usb-camera_PR-95 [Pipeline] { [Pipeline] ws 18:31:56 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 18:31:56 Selected Git installation does not exist. Using Default 18:31:56 The recommended git tool is: NONE 18:32:02 using credential edgex-jenkins-ssh 18:32:02 Cloning the remote Git repository 18:32:02 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:32:02 > git init /w/workspace/device-usb-camera/2 # timeout=10 18:32:02 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:32:02 > git --version # timeout=10 18:32:02 > git --version # 'git version 2.25.1' 18:32:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:32:02 Verifying host key using known hosts file 18:32:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:32:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:32:03 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:32:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:32:04 Merging remotes/origin/main commit 2f8c06fbfb8b0782f288c35171c6afc148f652fe into PR head commit 102c65230d7094dd32c2165472000c3ddebb97ae 18:32:05 Merge succeeded, producing 102c65230d7094dd32c2165472000c3ddebb97ae 18:32:05 Checking out Revision 102c65230d7094dd32c2165472000c3ddebb97ae (PR-95) 18:32:04 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:32:04 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:32:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:32:04 Verifying host key using known hosts file 18:32:04 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:32:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:32:04 > git config core.sparsecheckout # timeout=10 18:32:04 > git checkout -f 102c65230d7094dd32c2165472000c3ddebb97ae # timeout=10 18:32:05 > git remote # timeout=10 18:32:05 > git config --get remote.origin.url # timeout=10 18:32:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:32:05 Verifying host key using known hosts file 18:32:05 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 18:32:05 > git merge 2f8c06fbfb8b0782f288c35171c6afc148f652fe # timeout=10 18:32:05 > git rev-parse HEAD^{commit} # timeout=10 18:32:05 > git config core.sparsecheckout # timeout=10 18:32:05 > git checkout -f 102c65230d7094dd32c2165472000c3ddebb97ae # timeout=10 18:32:08 Commit message: "Merge branch 'edgexfoundry:main' into postman" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:32:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:32:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:32:09 Dload Upload Total Spent Left Speed 18:32:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh 18:32:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:32:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:32:10 + sudo tee /etc/docker/daemon.new 18:32:10 { 18:32:10 "registry-mirrors": [ 18:32:10 "https://nexus3.edgexfoundry.org:10001" 18:32:10 ], 18:32:10 "bip": "10.250.0.254/24", 18:32:10 "hosts": [ 18:32:10 "tcp://0.0.0.0:5555", 18:32:10 "unix:///var/run/docker.sock" 18:32:10 ], 18:32:10 "mtu": 1458, 18:32:10 "selinux-enabled": true, 18:32:10 "seccomp-profile": "/etc/docker/seccomp.json" 18:32:10 } [Pipeline] sh 18:32:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:32:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:29 provisioning config files... 18:32:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config18287057821591317090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:30 ---> docker-login.sh 18:32:30 nexus3.edgexfoundry.org:10001 18:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:30 Configure a credential helper to remove this warning. See 18:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:30 18:32:30 Login Succeeded 18:32:30 nexus3.edgexfoundry.org:10002 18:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:30 Configure a credential helper to remove this warning. See 18:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:30 18:32:31 Login Succeeded 18:32:31 nexus3.edgexfoundry.org:10003 18:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:31 Configure a credential helper to remove this warning. See 18:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:31 18:32:31 Login Succeeded 18:32:31 nexus3.edgexfoundry.org:10004 18:32:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:31 Configure a credential helper to remove this warning. See 18:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:31 18:32:31 Login Succeeded 18:32:31 docker.io 18:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:32 Configure a credential helper to remove this warning. See 18:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:32 18:32:32 Login Succeeded 18:32:32 ---> docker-login.sh ends [Pipeline] } 18:32:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:32:32 ========================================================= 18:32:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:32:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:32:33 Sending build context to Docker daemon 992.8kB 18:32:33 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:32:33 Step 2/14 : FROM ${BASE} AS builder 18:32:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:32:33 b3c136eddcbf: Pulling fs layer 18:32:33 c0a3192eca97: Pulling fs layer 18:32:33 a050256f5b6f: Pulling fs layer 18:32:33 656be50a0ddc: Pulling fs layer 18:32:33 2bbca73fdf42: Pulling fs layer 18:32:33 46d945488cbd: Pulling fs layer 18:32:33 8a5474983e97: Pulling fs layer 18:32:33 329c88fbcd65: Pulling fs layer 18:32:33 656be50a0ddc: Waiting 18:32:33 2bbca73fdf42: Waiting 18:32:33 46d945488cbd: Waiting 18:32:33 8a5474983e97: Waiting 18:32:33 329c88fbcd65: Waiting 18:32:33 a050256f5b6f: Verifying Checksum 18:32:33 a050256f5b6f: Download complete 18:32:33 c0a3192eca97: Verifying Checksum 18:32:33 c0a3192eca97: Download complete 18:32:33 2bbca73fdf42: Verifying Checksum 18:32:33 2bbca73fdf42: Download complete 18:32:33 46d945488cbd: Verifying Checksum 18:32:33 46d945488cbd: Download complete 18:32:33 b3c136eddcbf: Verifying Checksum 18:32:33 b3c136eddcbf: Download complete 18:32:34 b3c136eddcbf: Pull complete 18:32:34 329c88fbcd65: Verifying Checksum 18:32:34 329c88fbcd65: Download complete 18:32:34 c0a3192eca97: Pull complete 18:32:35 a050256f5b6f: Pull complete 18:32:35 8a5474983e97: Verifying Checksum 18:32:35 8a5474983e97: Download complete 18:32:36 656be50a0ddc: Verifying Checksum 18:32:36 656be50a0ddc: Download complete 18:32:49 656be50a0ddc: Pull complete 18:32:49 2bbca73fdf42: Pull complete 18:32:49 46d945488cbd: Pull complete 18:32:54 8a5474983e97: Pull complete 18:32:55 329c88fbcd65: Pull complete 18:32:55 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:32:55 ---> ff4287adb874 18:32:55 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:32:57 ---> Running in 54a3669383b7 18:32:57 Removing intermediate container 54a3669383b7 18:32:57 ---> 52550e6e126a 18:32:57 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:32:58 ---> Running in b3eb4078f43b 18:32:58 Removing intermediate container b3eb4078f43b 18:32:58 ---> 827657ead7d4 18:32:58 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:32:58 ---> Running in 695a8b028197 18:32:58 Removing intermediate container 695a8b028197 18:32:58 ---> 0ecddf513e85 18:32:58 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:32:58 ---> Running in b55114a56cd1 18:32:58 Removing intermediate container b55114a56cd1 18:32:58 ---> 3ad9a0c3bede 18:32:58 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:32:59 ---> Running in dfcd872fcc21 18:33:01 Removing intermediate container dfcd872fcc21 18:33:01 ---> e80b038a68d2 18:33:01 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:33:01 ---> Running in 6494ccc0c96a 18:33:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:33:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:33:03 (1/14) Installing libintl (0.21-r2) 18:33:03 (2/14) Installing eudev-libs (3.2.11-r0) 18:33:03 (3/14) Installing libjpeg-turbo (2.1.3-r1) 18:33:03 (4/14) Installing v4l-utils-libs (1.22.1-r1) 18:33:04 (5/14) Installing v4l-utils (1.22.1-r1) 18:33:04 (6/14) Installing udev-init-scripts (35-r0) 18:33:04 Executing udev-init-scripts-35-r0.post-install 18:33:04 (7/14) Installing libblkid (2.38-r1) 18:33:04 (8/14) Installing xz-libs (5.2.5-r1) 18:33:04 (9/14) Installing zstd-libs (1.5.2-r1) 18:33:04 (10/14) Installing kmod-libs (29-r2) 18:33:04 (11/14) Installing eudev (3.2.11-r0) 18:33:05 (12/14) Installing eudev-dev (3.2.11-r0) 18:33:05 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:33:05 (14/14) Installing v4l-utils-dev (1.22.1-r1) 18:33:05 Executing busybox-1.35.0-r13.trigger 18:33:05 Executing eudev-3.2.11-r0.trigger 18:33:05 OK: 228 MiB in 65 packages 18:33:06 Removing intermediate container 6494ccc0c96a 18:33:06 ---> c06e36014b37 18:33:06 Step 9/14 : WORKDIR /device-usb-camera 18:33:06 ---> Running in 207e39440199 18:33:07 Removing intermediate container 207e39440199 18:33:07 ---> bb7b1d53e06e 18:33:07 Step 10/14 : COPY go.mod vendor* ./ 18:33:07 ---> 2a540c314e89 18:33:07 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:33:07 ---> Running in d3f6f1877def 18:34:04 Removing intermediate container d3f6f1877def 18:34:04 ---> 5f97ab674615 18:34:04 Step 12/14 : COPY . . 18:34:04 ---> 41542618bf53 18:34:04 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:34:04 ---> Running in d9cac579401f 18:34:04  % Total % Received % Xferd Average Speed Time Time Time Current 18:34:04  Dload Upload Total Spent  Left Speed 18:34:04 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13744 0 --:--:-- --:--:-- --:--:-- 13973 18:34:04 Removing intermediate container d9cac579401f 18:34:04 ---> 865438dae3ca 18:34:04 Step 14/14 : RUN ${MAKE} 18:34:04 ---> Running in bc496040f3e1 18:34:04 noop 18:34:04 Removing intermediate container bc496040f3e1 18:34:04 ---> 2fdd1e8b28e9 18:34:04 Successfully built 2fdd1e8b28e9 18:34:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:04 + docker inspect -f . ci-base-image-arm64 18:34:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:04 prd-ubuntu20.04-docker-arm64-4c-16g-2151 does not seem to be running inside a container 18:34:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:34:05 $ docker top f27a439d17e9668fc8509816ee61f9a44b9e91171c398029a2671ec98ccff547 -eo pid,comm [Pipeline] { [Pipeline] sh 18:34:06 + go version 18:34:06 go version go1.18.3 linux/arm64 [Pipeline] } 18:34:06 $ docker stop --time=1 f27a439d17e9668fc8509816ee61f9a44b9e91171c398029a2671ec98ccff547 18:34:08 $ docker rm -f f27a439d17e9668fc8509816ee61f9a44b9e91171c398029a2671ec98ccff547 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:08 + docker inspect -f . ci-base-image-arm64 18:34:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:08 prd-ubuntu20.04-docker-arm64-4c-16g-2151 does not seem to be running inside a container 18:34:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:34:10 $ docker top 4d7e3a64b46958cb3f573431832d9b904d82176e31e7cb33c23dddc581ab7ce8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:34:10 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 18:34:11 + make test 18:34:11 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:34:13 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:35:49 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:35:49 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.070s coverage: 1.9% of statements 18:35:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:35:49 CGO_ENABLED=1 go vet ./... 18:36:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:36:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:36:04 ./bin/test-attribution-txt.sh [Pipeline] echo 18:36:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:36:04 $ docker stop --time=1 4d7e3a64b46958cb3f573431832d9b904d82176e31e7cb33c23dddc581ab7ce8 18:36:06 $ docker rm -f 4d7e3a64b46958cb3f573431832d9b904d82176e31e7cb33c23dddc581ab7ce8 [Pipeline] // withDockerContainer [Pipeline] sh 18:36:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:36:07 Warning: overwriting stash ‘coverage-report’ 18:36:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:36:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:36:08 + ls -al . 18:36:08 total 192 18:36:08 drwxrwxr-x 9 jenkins jenkins 4096 Sep 29 18:34 . 18:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:32 .. 18:36:08 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 18:32 .git 18:36:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:32 .github 18:36:08 -rw-rw-r-- 1 jenkins jenkins 414 Sep 29 18:32 .gitignore 18:36:08 -rw-rw-r-- 1 jenkins jenkins 42 Sep 29 18:32 .golangci.yml 18:36:08 -rw-rw-r-- 1 jenkins jenkins 77 Sep 29 18:32 .hadolint.yml 18:36:08 -rw-rw-r-- 1 jenkins jenkins 9702 Sep 29 18:32 Attribution.txt 18:36:08 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 29 18:32 CHANGELOG.md 18:36:08 -rw-rw-r-- 1 jenkins jenkins 2467 Sep 29 18:32 Dockerfile 18:36:08 -rw-rw-r-- 1 jenkins jenkins 678 Sep 29 18:32 GOVERNANCE.md 18:36:08 -rw-rw-r-- 1 jenkins jenkins 659 Sep 29 18:32 Jenkinsfile 18:36:08 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 29 18:32 LICENSE 18:36:08 -rw-rw-r-- 1 jenkins jenkins 2554 Sep 29 18:32 Makefile 18:36:08 -rw-rw-r-- 1 jenkins jenkins 622 Sep 29 18:32 OWNERS.md 18:36:08 -rw-rw-r-- 1 jenkins jenkins 5773 Sep 29 18:32 README.md 18:36:08 -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 18:28 VERSION 18:36:08 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:32 bin 18:36:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:32 cmd 18:36:08 -rw-r--r-- 1 jenkins jenkins 29387 Sep 29 18:35 coverage.out 18:36:08 -rwxrwxr-x 1 jenkins jenkins 140 Sep 29 18:32 docker-entrypoint.sh 18:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:32 docs 18:36:08 -rw-rw-r-- 1 jenkins jenkins 3633 Sep 29 18:32 go.mod 18:36:08 -rw-rw-r-- 1 jenkins jenkins 38103 Sep 29 18:32 go.sum 18:36:08 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:32 internal 18:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:32 snap 18:36:08 -rw-rw-r-- 1 jenkins jenkins 231 Sep 29 18:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:08 + 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=102c65230d7094dd32c2165472000c3ddebb97ae --label arch=arm64 --label version=0.0.0 . 18:36:09 Sending build context to Docker daemon 1.023MB 18:36:09 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 18:36:09 Step 2/36 : FROM ${BASE} AS builder 18:36:09 ---> 2fdd1e8b28e9 18:36:09 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:36:09 ---> Running in bca92cc85681 18:36:09 Removing intermediate container bca92cc85681 18:36:09 ---> 6bb95edbf9a6 18:36:09 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:36:09 ---> Running in 3ff13406563b 18:36:10 Removing intermediate container 3ff13406563b 18:36:10 ---> 4d3a2ca2729d 18:36:10 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:36:10 ---> Running in bec95be27953 18:36:10 Removing intermediate container bec95be27953 18:36:10 ---> 7dd9936696f2 18:36:10 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:36:10 ---> Running in 7d9fcd2dc6c3 18:36:10 Removing intermediate container 7d9fcd2dc6c3 18:36:10 ---> fdc4a92a6b2c 18:36:10 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:36:10 ---> Running in daba869ad189 18:36:12 Removing intermediate container daba869ad189 18:36:12 ---> 4985d72b1571 18:36:12 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:12 ---> Running in e78310e43a5d 18:36:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:36:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:36:15 OK: 228 MiB in 65 packages 18:36:16 Removing intermediate container e78310e43a5d 18:36:16 ---> b2510cd416cd 18:36:16 Step 9/36 : WORKDIR /device-usb-camera 18:36:16 ---> Running in fa33e183d83f 18:36:16 Removing intermediate container fa33e183d83f 18:36:16 ---> c24c58d7cfb6 18:36:16 Step 10/36 : COPY go.mod vendor* ./ 18:36:16 ---> b71f40ff40f5 18:36:16 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:36:16 ---> Running in 5629724ccd48 18:36:20 Removing intermediate container 5629724ccd48 18:36:20 ---> e8c96bd5b408 18:36:20 Step 12/36 : COPY . . 18:36:21 ---> 6ed1744d89c5 18:36:21 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:36:21 ---> Running in 22f692dcd6b1 18:36:22  % Total % Received % Xferd Average Speed Time Time Time Current 18:36:22 Dload Upload Total Spent Left Speed 18:36:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4901 0 --:--:-- --:--:-- --:--:-- 4916 18:36:23 Removing intermediate container 22f692dcd6b1 18:36:23 ---> accdcf0eac19 18:36:23 Step 14/36 : RUN ${MAKE} 18:36:23 ---> Running in c2c9356f7e29 18:36:24 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 18:39:01 Removing intermediate container c2c9356f7e29 18:39:01 ---> 8a312d9ac57c 18:39:01 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:39:01 v0.18.4: Pulling from aler9/rtsp-simple-server 18:39:01 eab2503cf8f4: Pulling fs layer 18:39:01 97cd0a44c592: Pulling fs layer 18:39:01 97cd0a44c592: Download complete 18:39:01 eab2503cf8f4: Verifying Checksum 18:39:01 eab2503cf8f4: Download complete 18:39:01 eab2503cf8f4: Pull complete 18:39:01 97cd0a44c592: Pull complete 18:39:01 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:39:01 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:39:01 ---> 7f763cca56b3 18:39:01 Step 16/36 : FROM alpine:3.16 18:39:01 3.16: Pulling from library/alpine 18:39:01 9b18e9b68314: Pulling fs layer 18:39:01 9b18e9b68314: Verifying Checksum 18:39:01 9b18e9b68314: Download complete 18:39:01 9b18e9b68314: Pull complete 18:39:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:39:01 Status: Downloaded newer image for alpine:3.16 18:39:01 ---> a6215f271958 18:39:01 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:39:01 ---> Running in a26601b289ce 18:39:01 Removing intermediate container a26601b289ce 18:39:01 ---> 3ca584059e66 18:39:01 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:39:01 ---> Running in 1f81cb3d994a 18:39:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:39:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:39:01 (1/82) Installing dumb-init (1.2.5-r1) 18:39:01 (2/82) Installing sdl2 (2.0.22-r0) 18:39:01 (3/82) Installing libxau (1.0.9-r0) 18:39:01 (4/82) Installing libxdmcp (1.1.3-r0) 18:39:01 (5/82) Installing libxcb (1.15-r0) 18:39:01 (6/82) Installing libx11 (1.8-r0) 18:39:01 (7/82) Installing aom-libs (3.3.0-r0) 18:39:01 (8/82) Installing alsa-lib (1.2.7.2-r0) 18:39:01 (9/82) Installing expat (2.4.9-r0) 18:39:01 (10/82) Installing brotli-libs (1.0.9-r6) 18:39:01 (11/82) Installing libbz2 (1.0.8-r1) 18:39:01 (12/82) Installing libpng (1.6.37-r1) 18:39:01 (13/82) Installing freetype (2.12.1-r0) 18:39:01 (14/82) Installing fontconfig (2.14.0-r0) 18:39:01 (15/82) Installing fribidi (1.0.12-r0) 18:39:01 (16/82) Installing libffi (3.4.2-r1) 18:39:01 (17/82) Installing libintl (0.21-r2) 18:39:01 (18/82) Installing libblkid (2.38-r1) 18:39:01 (19/82) Installing libmount (2.38-r1) 18:39:01 (20/82) Installing pcre (8.45-r2) 18:39:01 (21/82) Installing glib (2.72.1-r0) 18:39:01 (22/82) Installing graphite2 (1.3.14-r1) 18:39:01 (23/82) Installing harfbuzz (4.3.0-r0) 18:39:01 (24/82) Installing libass (0.16.0-r0) 18:39:01 (25/82) Installing libdav1d (1.0.0-r0) 18:39:01 (26/82) Installing libdrm (2.4.110-r0) 18:39:01 (27/82) Installing gmp (6.2.1-r2) 18:39:01 (28/82) Installing nettle (3.7.3-r0) 18:39:01 (29/82) Installing p11-kit (0.24.1-r0) 18:39:02 (30/82) Installing libtasn1 (4.18.0-r0) 18:39:02 (31/82) Installing libunistring (1.0-r0) 18:39:02 (32/82) Installing gnutls (3.7.7-r0) 18:39:02 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 18:39:02 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 18:39:02 (35/82) Installing lame (3.100-r0) 18:39:02 (36/82) Installing opus (1.3.1-r1) 18:39:02 (37/82) Installing libasyncns (0.8-r1) 18:39:02 (38/82) Installing dbus-libs (1.14.0-r1) 18:39:02 (39/82) Installing libltdl (2.4.7-r0) 18:39:02 (40/82) Installing orc (0.4.32-r0) 18:39:02 (41/82) Installing libgcc (11.2.1_git20220219-r2) 18:39:02 (42/82) Installing libogg (1.3.5-r1) 18:39:02 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 18:39:02 (44/82) Installing flac (1.3.4-r0) 18:39:02 (45/82) Installing libvorbis (1.3.7-r0) 18:39:02 (46/82) Installing libsndfile (1.1.0-r0) 18:39:02 (47/82) Installing libgomp (11.2.1_git20220219-r2) 18:39:02 (48/82) Installing soxr (0.1.3-r2) 18:39:02 (49/82) Installing speexdsp (1.2.0-r0) 18:39:02 (50/82) Installing tdb-libs (1.4.6-r0) 18:39:02 (51/82) Installing libpulse (15.0-r2) 18:39:02 (52/82) Installing cjson (1.7.15-r3) 18:39:02 (53/82) Installing mbedtls (2.28.1-r0) 18:39:02 (54/82) Installing librist (0.2.6-r1) 18:39:02 (55/82) Installing libsrt (1.4.4-r0) 18:39:02 (56/82) Installing libssh (0.9.6-r1) 18:39:02 (57/82) Installing libtheora (1.1.1-r16) 18:39:02 (58/82) Installing libjpeg-turbo (2.1.3-r1) 18:39:02 (59/82) Installing v4l-utils-libs (1.22.1-r1) 18:39:02 (60/82) Installing libxext (1.3.4-r0) 18:39:02 (61/82) Installing libxfixes (6.0.0-r0) 18:39:02 (62/82) Installing wayland-libs-client (1.20.0-r0) 18:39:02 (63/82) Installing libva (2.14.0-r0) 18:39:02 (64/82) Installing libvdpau (1.5-r0) 18:39:02 (65/82) Installing vidstab (1.1.0-r1) 18:39:02 (66/82) Installing libvpx (1.11.0-r1) 18:39:02 (67/82) Installing libwebp (1.2.3-r0) 18:39:02 (68/82) Installing x264-libs (0.163_git20210613-r0) 18:39:02 (69/82) Installing numactl (2.0.14-r0) 18:39:02 (70/82) Installing x265-libs (3.5-r3) 18:39:02 (71/82) Installing xvidcore (1.3.7-r1) 18:39:02 (72/82) Installing ffmpeg-libs (5.0.1-r1) 18:39:03 (73/82) Installing ffmpeg (5.0.1-r1) 18:39:03 (74/82) Installing udev-init-scripts (35-r0) 18:39:03 Executing udev-init-scripts-35-r0.post-install 18:39:03 (75/82) Installing eudev-libs (3.2.11-r0) 18:39:03 (76/82) Installing xz-libs (5.2.5-r1) 18:39:03 (77/82) Installing zstd-libs (1.5.2-r1) 18:39:03 (78/82) Installing kmod-libs (29-r2) 18:39:03 (79/82) Installing eudev (3.2.11-r0) 18:39:03 (80/82) Installing libsodium (1.0.18-r0) 18:39:03 (81/82) Installing libzmq (4.3.4-r0) 18:39:03 (82/82) Installing zeromq (4.3.4-r0) 18:39:03 Executing busybox-1.35.0-r17.trigger 18:39:03 Executing eudev-3.2.11-r0.trigger 18:39:03 OK: 78 MiB in 96 packages 18:39:06 Removing intermediate container 1f81cb3d994a 18:39:06 ---> d17253e60e88 18:39:06 Step 19/36 : WORKDIR / 18:39:06 ---> Running in 246d2a3c972d 18:39:06 Removing intermediate container 246d2a3c972d 18:39:06 ---> 029f143cf0a8 18:39:06 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 18:39:08 ---> 5ce818d318a7 18:39:08 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:39:08 ---> 223229005c55 18:39:08 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:39:09 ---> 94246d301d5b 18:39:09 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:39:09 ---> 799fe9c8a735 18:39:09 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:39:09 ---> 96c79f2c6d34 18:39:09 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:39:10 ---> 1d21cac7b756 18:39:10 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 18:39:11 ---> 5fa49ef158ef 18:39:11 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:39:11 ---> Running in a3ba91f7a284 18:39:13 Removing intermediate container a3ba91f7a284 18:39:13 ---> 45affe95e5c8 18:39:13 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:39:13 ---> Running in 4234cab5e3bb 18:39:14 Removing intermediate container 4234cab5e3bb 18:39:14 ---> 7208269807d6 18:39:14 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:39:14 ---> Running in de64068154c4 18:39:16 Removing intermediate container de64068154c4 18:39:16 ---> bba89d81c571 18:39:16 Step 30/36 : EXPOSE 59983 18:39:16 ---> Running in 05a5be7d2b61 18:39:16 Removing intermediate container 05a5be7d2b61 18:39:16 ---> 56527f8175a1 18:39:16 Step 31/36 : EXPOSE 8554 18:39:16 ---> Running in 125b69346af6 18:39:17 Removing intermediate container 125b69346af6 18:39:17 ---> d1e271523c28 18:39:17 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:39:17 ---> Running in f62a0bb1e522 18:39:17 Removing intermediate container f62a0bb1e522 18:39:17 ---> af79fb38dc2d 18:39:17 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:39:17 ---> Running in fc75a6345844 18:39:17 Removing intermediate container fc75a6345844 18:39:17 ---> 5469dae01090 18:39:17 Step 34/36 : LABEL arch=arm64 18:39:17 ---> Running in 70c2880fde0c 18:39:18 Removing intermediate container 70c2880fde0c 18:39:18 ---> 77626869e8f5 18:39:18 Step 35/36 : LABEL git_sha=102c65230d7094dd32c2165472000c3ddebb97ae 18:39:18 ---> Running in f85f527ecaee 18:39:18 Removing intermediate container f85f527ecaee 18:39:18 ---> 807f345c0738 18:39:18 Step 36/36 : LABEL version=0.0.0 18:39:18 ---> Running in 70f75c3f2c80 18:39:18 Removing intermediate container 70f75c3f2c80 18:39:18 ---> 44d6f9ffaf0b 18:39:18 [Warning] One or more build-args [ARCH] were not consumed 18:39:18 Successfully built 44d6f9ffaf0b 18:39:18 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 18:39:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:39:19 18:39:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:39:19 arm64: Pulling from edgex-lftools-log-publisher 18:39:19 8998bd30e6a1: Pulling fs layer 18:39:19 04944245beec: Pulling fs layer 18:39:19 699f458cf7ca: Pulling fs layer 18:39:19 765212b225bb: Pulling fs layer 18:39:19 f23df028b6ca: Pulling fs layer 18:39:19 d65c8cfc05b1: Pulling fs layer 18:39:19 2437ff75d9bd: Pulling fs layer 18:39:19 d65c8cfc05b1: Waiting 18:39:19 765212b225bb: Waiting 18:39:19 f23df028b6ca: Waiting 18:39:19 2437ff75d9bd: Waiting 18:39:19 04944245beec: Verifying Checksum 18:39:19 04944245beec: Download complete 18:39:19 765212b225bb: Verifying Checksum 18:39:19 765212b225bb: Download complete 18:39:19 f23df028b6ca: Verifying Checksum 18:39:19 f23df028b6ca: Download complete 18:39:19 d65c8cfc05b1: Verifying Checksum 18:39:19 d65c8cfc05b1: Download complete 18:39:20 699f458cf7ca: Verifying Checksum 18:39:20 699f458cf7ca: Download complete 18:39:20 8998bd30e6a1: Verifying Checksum 18:39:20 8998bd30e6a1: Download complete 18:39:22 2437ff75d9bd: Verifying Checksum 18:39:22 2437ff75d9bd: Download complete 18:39:24 8998bd30e6a1: Pull complete 18:39:24 04944245beec: Pull complete 18:39:25 699f458cf7ca: Pull complete 18:39:25 765212b225bb: Pull complete 18:39:26 f23df028b6ca: Pull complete 18:39:26 d65c8cfc05b1: Pull complete 18:39:41 2437ff75d9bd: Pull complete 18:39:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:39:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:42 prd-ubuntu20.04-docker-arm64-4c-16g-2151 does not seem to be running inside a container 18:39:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:39:44 $ docker top 998b5640f7a2945c605d3706851869a005cc7643df1cdf65483597d2575bb475 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:45 ---> job-cost.sh 18:39:45 lf-activate-venv: SKIPPING 18:39:45 INFO: No Stack... 18:39:45 INFO: Retrieving Pricing Info for: v3-standard-4 18:39:46 INFO: Archiving Costs [Pipeline] sh 18:39:47 + cut -d, -f6 18:39:47 + cat /w/workspace/device-usb-camera/2/archives/cost.csv [Pipeline] lock 18:39:47 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-95-2-stack-cost] 18:39:47 Resource [jenkins-edgexfoundry-device-usb-camera-PR-95-2-stack-cost] did not exist. Created. 18:39:47 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-95-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:39:47 /w/workspace/device-usb-camera/2@tmp/durable-05655936/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:39:48 + echo total: 0.10999999940395355 [Pipeline] stash 18:39:48 Warning: overwriting stash ‘stack-cost’ 18:39:48 Stashed 1 file(s) [Pipeline] } 18:39:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-95-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:39:48 $ docker stop --time=1 998b5640f7a2945c605d3706851869a005cc7643df1cdf65483597d2575bb475 18:39:49 $ docker rm -f 998b5640f7a2945c605d3706851869a005cc7643df1cdf65483597d2575bb475 [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 18:39:50 provisioning config files... 18:39:50 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-95@tmp/config619381894352950903tmp [Pipeline] { [Pipeline] sh 18:39:50 + set +x 18:39:50 + bash -s -- 18:39:50 + curl -s https://codecov.io/bash 18:39:50 18:39:50 _____ _ 18:39:50 / ____| | | 18:39:50 | | ___ __| | ___ ___ _____ __ 18:39:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:39:50 | |___| (_) | (_| | __/ (_| (_) \ V / 18:39:50 \_____\___/ \__,_|\___|\___\___/ \_/ 18:39:50 Bash-1.0.6 18:39:50 18:39:50 18:39:50 ==> git version 2.25.1 found 18:39:50 ==> 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 18:39:50 Release-Date: 2020-01-08 18:39:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:39:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:39:50 ==> Jenkins CI detected. 18:39:50 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-95 18:39:50 project root: . 18:39:50 --> token set from env 18:39:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:39:50 ==> Running gcov in . (disable via -X gcov) 18:39:50 ==> Python coveragepy not found 18:39:50 ==> Searching for coverage reports in: 18:39:50 + . 18:39:50 -> Found 1 reports 18:39:50 ==> Detecting git/mercurial file structure 18:39:50 ==> Reading reports 18:39:50 + ./coverage.out bytes=29387 18:39:50 ==> Appending adjustments 18:39:50 https://docs.codecov.io/docs/fixing-reports 18:39:50 + Found adjustments 18:39:50 ==> Gzipping contents 18:39:50 8.0K /tmp/codecov.IiiRGa.gz 18:39:50 ==> Uploading reports 18:39:50 url: https://codecov.io 18:39:50 query: branch=PR-95&commit=102c65230d7094dd32c2165472000c3ddebb97ae&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-95%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=95&job=&cmd_args= 18:39:50 -> Pinging Codecov 18:39:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-95&commit=102c65230d7094dd32c2165472000c3ddebb97ae&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-95%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=95&job=&cmd_args= 18:39:51 -> Uploading to 18:39:51 https://storage.googleapis.com/codecov/v4/raw/2022-09-29/73D8F5FF140700D3E01443B452E23636/102c65230d7094dd32c2165472000c3ddebb97ae/dca7990e-b1ba-4d42-8f75-5aeb8b86da01.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220929T183950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dadbf2062cc6441f3bfd1beee0695ab5fa6a9cb4b5f510d8b5324953eaafd974 18:39:51 % Total % Received % Xferd Average Speed Time Time Time Current 18:39:51 Dload Upload Total Spent Left Speed 18:39:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4193 0 0 100 4193 0 16839 --:--:-- --:--:-- --:--:-- 16839 18:39:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/102c65230d7094dd32c2165472000c3ddebb97ae [Pipeline] } 18:39:51 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 18:39:51 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-95/archives ] 18:39:51 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-95/archives 18:39:51 total 16 18:39:51 drwxr-xr-x 3 root root 4096 Sep 29 18:30 . 18:39:51 drwxrwxr-x 11 jenkins jenkins 4096 Sep 29 18:30 .. 18:39:51 drwxr-xr-x 2 root root 4096 Sep 29 18:30 cost 18:39:51 -rw-r--r-- 1 root root 88 Sep 29 18:30 cost.csv 18:39:51 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-95/archives 18:39:51 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-95/archives 18:39:51 total 16 18:39:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 18:30 . 18:39:51 drwxrwxr-x 11 jenkins jenkins 4096 Sep 29 18:30 .. 18:39:51 drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 18:30 cost 18:39:51 -rw-r--r-- 1 jenkins jenkins 88 Sep 29 18:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:39:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:39:53 ---> package-listing.sh 18:39:53 ++ facter osfamily 18:39:53 ++ tr '[:upper:]' '[:lower:]' 18:39:53 + OS_FAMILY=debian 18:39:53 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-95 18:39:53 + START_PACKAGES=/tmp/packages_start.txt 18:39:53 + END_PACKAGES=/tmp/packages_end.txt 18:39:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:39:53 + PACKAGES=/tmp/packages_start.txt 18:39:53 + '[' /w/workspace/xfoundry_device-usb-camera_PR-95 ']' 18:39:53 + PACKAGES=/tmp/packages_end.txt 18:39:53 + case "${OS_FAMILY}" in 18:39:53 + dpkg -l 18:39:53 + grep '^ii' 18:39:53 + '[' -f /tmp/packages_start.txt ']' 18:39:53 + '[' -f /tmp/packages_end.txt ']' 18:39:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:39:53 + '[' /w/workspace/xfoundry_device-usb-camera_PR-95 ']' 18:39:53 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-95/archives/ 18:39:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-95/archives/ [Pipeline] echo 18:39:53 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/xfoundry_device-usb-camera_PR-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:39:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:54 prd-ubuntu20.04-docker-8c-8g-2150 does not seem to be running inside a container 18:39:54 $ 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/xfoundry_device-usb-camera_PR-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-95 -v /w/workspace/xfoundry_device-usb-camera_PR-95:/w/workspace/xfoundry_device-usb-camera_PR-95:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-95@tmp:/w/workspace/xfoundry_device-usb-camera_PR-95@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 18:39:54 $ docker top a620553582e57a7cf4d779b4b2294c070823fbdc9f9ed58ca7a6f70710413bed -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:54 + touch /tmp/pre-build-complete [Pipeline] sh 18:39:54 + mkdir -p /var/log/sysstat [Pipeline] sh 18:39:55 + ls /var/log/sa-host 18:39:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:55 provisioning config files... 18:39:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-95@tmp/config12383148453285145413tmp [Pipeline] { [Pipeline] echo 18:39:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:39:55 ---> create-netrc.sh [Pipeline] } 18:39:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:39:55 ---> python-tools-install.sh [Pipeline] echo 18:39:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:39:56 ---> sudo-logs.sh 18:39:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:39:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:39:56 ---> job-cost.sh 18:39:56 lf-activate-venv: SKIPPING 18:39:56 DEBUG: total: 0.2199999988079071 18:39:56 INFO: Retrieving Stack Cost... 18:39:57 INFO: Retrieving Pricing Info for: v3-standard-8 18:39:57 INFO: Archiving Costs [Pipeline] echo 18:39:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:39:57 ---> logs-deploy.sh 18:39:57 lf-activate-venv: SKIPPING 18:39:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-95/2 18:39:57 INFO: archiving workspace using pattern(s): 18:39:58 Archives upload complete. 18:39:58 INFO: archiving logs to Nexus