Pull request #115 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at a13c0d85fe61587dda65b2f8a27bf555b431ec25 rather than 705b533ede40eaa76d8dc03238e26b3c31add248 Obtained Jenkinsfile from a13c0d85fe61587dda65b2f8a27bf555b431ec25 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-ssh9316297840339209982.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3664253171203096159.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-115/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-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3291792491288412773.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1390841727088546948.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-115/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-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2350382696928689735.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-120353 in /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-115 # 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/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 705b533ede40eaa76d8dc03238e26b3c31add248 Merge succeeded, producing 1326a76a2b9079442c62ed19fd08dc9f2991b392 Checking out Revision 1326a76a2b9079442c62ed19fd08dc9f2991b392 (PR-115) > git config core.sparsecheckout # timeout=10 > git checkout -f 705b533ede40eaa76d8dc03238e26b3c31add248 # 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 a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1326a76a2b9079442c62ed19fd08dc9f2991b392 # timeout=10 Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 3661ac071dc38412bdfd9c256083b611230c64c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-01T15:26:23.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-01T15:26:23.881Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-01T15:26:23.898Z] ========================================================= [2022-12-01T15:26:23.898Z] EdgeX Global Pipelines Version Info [2022-12-01T15:26:23.898Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:26:24.600Z] ------------------- [2022-12-01T15:26:24.600Z] stable info: [2022-12-01T15:26:24.600Z] ------------------- [2022-12-01T15:26:24.600Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-01T15:26:24.600Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-01T15:26:24.600Z] Message: update stable to v1.0.244 [2022-12-01T15:26:25.175Z] ------------------- [2022-12-01T15:26:25.175Z] experimental info: [2022-12-01T15:26:25.175Z] ------------------- [2022-12-01T15:26:25.175Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-01T15:26:25.175Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-01T15:26:25.175Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-01T15:26:25.385Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-12-01T15:26:25.398Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-12-01T15:26:25.409Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-01T15:26:25.424Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-01T15:26:25.436Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-01T15:26:25.451Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-01T15:26:25.461Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-01T15:26:25.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-01T15:26:25.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-01T15:26:25.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-01T15:26:25.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-01T15:26:25.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-12-01T15:26:25.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-01T15:26:25.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-01T15:26:25.552Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-01T15:26:25.562Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-01T15:26:25.575Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-01T15:26:25.586Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-01T15:26:25.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-01T15:26:25.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-01T15:26:25.627Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-01T15:26:25.637Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-01T15:26:25.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-01T15:26:25.659Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-01T15:26:25.670Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-01T15:26:25.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-01T15:26:25.693Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-01T15:26:25.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo [2022-12-01T15:26:25.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo [2022-12-01T15:26:25.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo [2022-12-01T15:26:25.738Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1326a76a2b9079442c62ed19fd08dc9f2991b392 [Pipeline] echo [2022-12-01T15:26:25.749Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1326a76 [Pipeline] echo [2022-12-01T15:26:25.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-01T15:26:25.798Z] provisioning config files... [2022-12-01T15:26:25.811Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config3539807054010099202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:26:26.111Z] ---> docker-login.sh [2022-12-01T15:26:26.111Z] nexus3.edgexfoundry.org:10001 [2022-12-01T15:26:26.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:26.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:26.370Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:26.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:26.370Z] [2022-12-01T15:26:26.370Z] Login Succeeded [2022-12-01T15:26:26.370Z] nexus3.edgexfoundry.org:10002 [2022-12-01T15:26:26.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:26.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:26.630Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:26.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:26.630Z] [2022-12-01T15:26:26.630Z] Login Succeeded [2022-12-01T15:26:26.630Z] nexus3.edgexfoundry.org:10003 [2022-12-01T15:26:26.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:26.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:26.630Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:26.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:26.630Z] [2022-12-01T15:26:26.630Z] Login Succeeded [2022-12-01T15:26:26.630Z] nexus3.edgexfoundry.org:10004 [2022-12-01T15:26:26.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:26.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:26.630Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:26.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:26.630Z] [2022-12-01T15:26:26.630Z] Login Succeeded [2022-12-01T15:26:26.630Z] docker.io [2022-12-01T15:26:26.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:26.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:26.890Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:26.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:26.890Z] [2022-12-01T15:26:26.890Z] Login Succeeded [2022-12-01T15:26:26.890Z] ---> docker-login.sh ends [Pipeline] } [2022-12-01T15:26:26.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-01T15:26:27.280Z] + git rev-list -1 --merges 1326a76a2b9079442c62ed19fd08dc9f2991b392~1..1326a76a2b9079442c62ed19fd08dc9f2991b392 [Pipeline] echo [2022-12-01T15:26:27.307Z] -----------> git rev-list -1 --merges 1326a76a2b9079442c62ed19fd08dc9f2991b392~1..1326a76a2b9079442c62ed19fd08dc9f2991b392 1326a76a2b9079442c62ed19fd08dc9f2991b392 [2022-12-01T15:26:27.307Z] 1326a76a2b9079442c62ed19fd08dc9f2991b392 [false] [Pipeline] sh [2022-12-01T15:26:27.593Z] + git log --format=format:%s -1 1326a76a2b9079442c62ed19fd08dc9f2991b392 [Pipeline] echo [2022-12-01T15:26:27.607Z] ========================================================= [2022-12-01T15:26:27.607Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-01T15:26:27.607Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-01T15:26:27.926Z] + git log --format=format:%s -1 1326a76a2b9079442c62ed19fd08dc9f2991b392 [Pipeline] echo [2022-12-01T15:26:27.938Z] [semverPrep] GIT_COMMIT: 1326a76a2b9079442c62ed19fd08dc9f2991b392, Commit Message: Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD [Pipeline] echo [2022-12-01T15:26:27.946Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-01T15:26:28.321Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-01T15:26:28.321Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-01T15:26:28.321Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-01T15:26:28.321Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-01T15:26:28.321Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-01T15:26:28.321Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-01T15:26:28.321Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:26:28.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-01T15:26:28.726Z] [2022-12-01T15:26:28.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:26:29.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-01T15:26:29.016Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-01T15:26:29.016Z] b85a868b505f: Pulling fs layer [2022-12-01T15:26:29.016Z] e2be974225ed: Pulling fs layer [2022-12-01T15:26:29.016Z] 339a4e72a1f5: Pulling fs layer [2022-12-01T15:26:29.016Z] 988bab9f4d93: Pulling fs layer [2022-12-01T15:26:29.016Z] 1469e6f7b9e6: Pulling fs layer [2022-12-01T15:26:29.016Z] eaf3925da568: Pulling fs layer [2022-12-01T15:26:29.016Z] bab4dde63d76: Pulling fs layer [2022-12-01T15:26:29.016Z] bde34c3a00c8: Pulling fs layer [2022-12-01T15:26:29.016Z] b352a97aabf1: Pulling fs layer [2022-12-01T15:26:29.016Z] 4872d77fe225: Pulling fs layer [2022-12-01T15:26:29.016Z] 5851b861e8e6: Pulling fs layer [2022-12-01T15:26:29.016Z] 4872d77fe225: Waiting [2022-12-01T15:26:29.016Z] eaf3925da568: Waiting [2022-12-01T15:26:29.016Z] 988bab9f4d93: Waiting [2022-12-01T15:26:29.016Z] bde34c3a00c8: Waiting [2022-12-01T15:26:29.016Z] b352a97aabf1: Waiting [2022-12-01T15:26:29.016Z] 5851b861e8e6: Waiting [2022-12-01T15:26:29.016Z] 1469e6f7b9e6: Waiting [2022-12-01T15:26:29.016Z] bab4dde63d76: Waiting [2022-12-01T15:26:29.016Z] e2be974225ed: Download complete [2022-12-01T15:26:29.016Z] 988bab9f4d93: Verifying Checksum [2022-12-01T15:26:29.016Z] 988bab9f4d93: Download complete [2022-12-01T15:26:29.277Z] 1469e6f7b9e6: Verifying Checksum [2022-12-01T15:26:29.277Z] 1469e6f7b9e6: Download complete [2022-12-01T15:26:29.277Z] eaf3925da568: Verifying Checksum [2022-12-01T15:26:29.277Z] eaf3925da568: Download complete [2022-12-01T15:26:29.277Z] 339a4e72a1f5: Verifying Checksum [2022-12-01T15:26:29.277Z] 339a4e72a1f5: Download complete [2022-12-01T15:26:29.277Z] bde34c3a00c8: Verifying Checksum [2022-12-01T15:26:29.277Z] bde34c3a00c8: Download complete [2022-12-01T15:26:29.277Z] b352a97aabf1: Download complete [2022-12-01T15:26:29.277Z] 4872d77fe225: Download complete [2022-12-01T15:26:29.277Z] 5851b861e8e6: Verifying Checksum [2022-12-01T15:26:29.277Z] 5851b861e8e6: Download complete [2022-12-01T15:26:29.277Z] b85a868b505f: Verifying Checksum [2022-12-01T15:26:29.277Z] b85a868b505f: Download complete [2022-12-01T15:26:29.536Z] bab4dde63d76: Verifying Checksum [2022-12-01T15:26:29.536Z] bab4dde63d76: Download complete [2022-12-01T15:26:30.470Z] b85a868b505f: Pull complete [2022-12-01T15:26:30.470Z] e2be974225ed: Pull complete [2022-12-01T15:26:30.729Z] 339a4e72a1f5: Pull complete [2022-12-01T15:26:30.987Z] 988bab9f4d93: Pull complete [2022-12-01T15:26:30.987Z] 1469e6f7b9e6: Pull complete [2022-12-01T15:26:31.245Z] eaf3925da568: Pull complete [2022-12-01T15:26:32.621Z] bab4dde63d76: Pull complete [2022-12-01T15:26:32.621Z] bde34c3a00c8: Pull complete [2022-12-01T15:26:32.880Z] b352a97aabf1: Pull complete [2022-12-01T15:26:32.880Z] 4872d77fe225: Pull complete [2022-12-01T15:26:32.880Z] 5851b861e8e6: Pull complete [2022-12-01T15:26:32.880Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-01T15:26:32.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-01T15:26:32.880Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T15:26:32.957Z] prd-ubuntu20.04-docker-8c-8g-120353 does not seem to be running inside a container [2022-12-01T15:26:32.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-01T15:26:34.178Z] $ docker top 7f7e552963c3b9d3bf777d4d4e789af1ed7a6f3d86bc6819dafc6b145a6c2c68 -eo pid,comm [2022-12-01T15:26:34.229Z] 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). [2022-12-01T15:26:34.229Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-01T15:26:34.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-01T15:26:34.265Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-01T15:26:34.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-01T15:26:34.382Z] $ docker exec 7f7e552963c3b9d3bf777d4d4e789af1ed7a6f3d86bc6819dafc6b145a6c2c68 ssh-agent [2022-12-01T15:26:34.490Z] SSH_AUTH_SOCK=/tmp/ssh-VN5AaKLGwf6x/agent.33 [2022-12-01T15:26:34.490Z] SSH_AGENT_PID=39 [2022-12-01T15:26:34.496Z] Running ssh-add (command line suppressed) [2022-12-01T15:26:34.594Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_6338908598978885620.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_6338908598978885620.key) [2022-12-01T15:26:34.606Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-01T15:26:34.888Z] + git tag --points-at HEAD [Pipeline] } [2022-12-01T15:26:34.906Z] $ docker exec --env ******** --env ******** 7f7e552963c3b9d3bf777d4d4e789af1ed7a6f3d86bc6819dafc6b145a6c2c68 ssh-agent -k [2022-12-01T15:26:35.000Z] unset SSH_AUTH_SOCK; [2022-12-01T15:26:35.001Z] unset SSH_AGENT_PID; [2022-12-01T15:26:35.001Z] echo Agent pid 39 killed; [2022-12-01T15:26:35.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-01T15:26:35.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-01T15:26:35.032Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-01T15:26:35.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-01T15:26:35.155Z] $ docker exec 7f7e552963c3b9d3bf777d4d4e789af1ed7a6f3d86bc6819dafc6b145a6c2c68 ssh-agent [2022-12-01T15:26:35.262Z] SSH_AUTH_SOCK=/tmp/ssh-Qof9vxgg5YGr/agent.71 [2022-12-01T15:26:35.262Z] SSH_AGENT_PID=77 [2022-12-01T15:26:35.267Z] Running ssh-add (command line suppressed) [2022-12-01T15:26:35.364Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_11654903632005033166.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_11654903632005033166.key) [2022-12-01T15:26:35.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-01T15:26:35.664Z] + git semver init [2022-12-01T15:26:35.924Z] 2022-12-01 15:26:35,847 [run_init] DEBUG init version:0.0.0 force:False [2022-12-01T15:26:35.924Z] 2022-12-01 15:26:35,848 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-115/.semver [2022-12-01T15:26:35.924Z] 2022-12-01 15:26:35,848 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-115/.semver [2022-12-01T15:26:35.924Z] 2022-12-01 15:26:35,848 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-115/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-115, universal_newlines=False, shell=None, istream=None) [2022-12-01T15:26:36.862Z] 2022-12-01 15:26:36,535 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-115/.git/info/exclude [2022-12-01T15:26:36.862Z] 2022-12-01 15:26:36,535 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 with force:False [2022-12-01T15:26:36.862Z] 2022-12-01 15:26:36,535 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 [2022-12-01T15:26:36.862Z] 2022-12-01 15:26:36,540 [execute] INFO git cat-file --batch-check [2022-12-01T15:26:36.862Z] 2022-12-01 15:26:36,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-12-01T15:26:36.862Z] 2022-12-01 15:26:36,548 [execute] INFO git cat-file --batch [2022-12-01T15:26:36.862Z] 2022-12-01 15:26:36,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-12-01T15:26:36.862Z] 2022-12-01 15:26:36,554 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 [2022-12-01T15:26:36.862Z] 0.0.0 [Pipeline] } [2022-12-01T15:26:36.874Z] $ docker exec --env ******** --env ******** 7f7e552963c3b9d3bf777d4d4e789af1ed7a6f3d86bc6819dafc6b145a6c2c68 ssh-agent -k [2022-12-01T15:26:36.975Z] unset SSH_AUTH_SOCK; [2022-12-01T15:26:36.975Z] unset SSH_AGENT_PID; [2022-12-01T15:26:36.975Z] echo Agent pid 77 killed; [2022-12-01T15:26:36.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-01T15:26:37.281Z] + git semver [Pipeline] } [2022-12-01T15:26:37.557Z] $ docker stop --time=1 7f7e552963c3b9d3bf777d4d4e789af1ed7a6f3d86bc6819dafc6b145a6c2c68 [2022-12-01T15:26:38.860Z] $ docker rm -f 7f7e552963c3b9d3bf777d4d4e789af1ed7a6f3d86bc6819dafc6b145a6c2c68 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-01T15:26:39.185Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-01T15:26:39.340Z] Stashed 1 file(s) [Pipeline] echo [2022-12-01T15:26:39.344Z] [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 [2022-12-01T15:26:39.446Z] provisioning config files... [2022-12-01T15:26:39.453Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config15148255596146323194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:26:39.750Z] ---> docker-login.sh [2022-12-01T15:26:39.750Z] nexus3.edgexfoundry.org:10001 [2022-12-01T15:26:39.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:39.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:39.750Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:39.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:39.750Z] [2022-12-01T15:26:39.750Z] Login Succeeded [2022-12-01T15:26:39.750Z] nexus3.edgexfoundry.org:10002 [2022-12-01T15:26:39.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:39.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:39.750Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:39.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:39.750Z] [2022-12-01T15:26:39.750Z] Login Succeeded [2022-12-01T15:26:39.750Z] nexus3.edgexfoundry.org:10003 [2022-12-01T15:26:40.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:40.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:40.010Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:40.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:40.010Z] [2022-12-01T15:26:40.010Z] Login Succeeded [2022-12-01T15:26:40.010Z] nexus3.edgexfoundry.org:10004 [2022-12-01T15:26:40.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:40.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:40.010Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:40.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:40.010Z] [2022-12-01T15:26:40.010Z] Login Succeeded [2022-12-01T15:26:40.010Z] docker.io [2022-12-01T15:26:40.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:26:40.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:26:40.268Z] Configure a credential helper to remove this warning. See [2022-12-01T15:26:40.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:26:40.268Z] [2022-12-01T15:26:40.268Z] Login Succeeded [2022-12-01T15:26:40.268Z] ---> docker-login.sh ends [Pipeline] } [2022-12-01T15:26:40.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-01T15:26:40.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-01T15:26:40.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-01T15:26:40.349Z] ========================================================= [2022-12-01T15:26:40.349Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-01T15:26:40.349Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:26:40.650Z] + 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 . [2022-12-01T15:26:40.650Z] Sending build context to Docker daemon 1.668MB [2022-12-01T15:26:40.650Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-01T15:26:40.650Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-01T15:26:40.650Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-01T15:26:40.650Z] 213ec9aee27d: Pulling fs layer [2022-12-01T15:26:40.650Z] 4583459ba037: Pulling fs layer [2022-12-01T15:26:40.650Z] 93c1e223e6f2: Pulling fs layer [2022-12-01T15:26:40.650Z] 53926ce57604: Pulling fs layer [2022-12-01T15:26:40.650Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-01T15:26:40.650Z] 22ff95d597cd: Pulling fs layer [2022-12-01T15:26:40.650Z] 12d6caf4c0d1: Pulling fs layer [2022-12-01T15:26:40.650Z] 96b7cbca73a9: Pulling fs layer [2022-12-01T15:26:40.650Z] a7acece74701: Pulling fs layer [2022-12-01T15:26:40.650Z] 21b2b0c7a3f4: Waiting [2022-12-01T15:26:40.650Z] 22ff95d597cd: Waiting [2022-12-01T15:26:40.650Z] a7acece74701: Waiting [2022-12-01T15:26:40.650Z] 96b7cbca73a9: Waiting [2022-12-01T15:26:40.650Z] 53926ce57604: Waiting [2022-12-01T15:26:40.650Z] 93c1e223e6f2: Verifying Checksum [2022-12-01T15:26:40.650Z] 93c1e223e6f2: Download complete [2022-12-01T15:26:40.650Z] 4583459ba037: Download complete [2022-12-01T15:26:40.911Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-01T15:26:40.911Z] 21b2b0c7a3f4: Download complete [2022-12-01T15:26:40.911Z] 22ff95d597cd: Verifying Checksum [2022-12-01T15:26:40.911Z] 22ff95d597cd: Download complete [2022-12-01T15:26:40.911Z] 213ec9aee27d: Verifying Checksum [2022-12-01T15:26:40.911Z] 12d6caf4c0d1: Verifying Checksum [2022-12-01T15:26:40.911Z] 12d6caf4c0d1: Download complete [2022-12-01T15:26:40.911Z] 213ec9aee27d: Pull complete [2022-12-01T15:26:41.180Z] 4583459ba037: Pull complete [2022-12-01T15:26:41.180Z] 93c1e223e6f2: Pull complete [2022-12-01T15:26:41.441Z] a7acece74701: Verifying Checksum [2022-12-01T15:26:41.441Z] a7acece74701: Download complete [2022-12-01T15:26:41.441Z] 96b7cbca73a9: Verifying Checksum [2022-12-01T15:26:41.441Z] 96b7cbca73a9: Download complete [2022-12-01T15:26:41.700Z] 53926ce57604: Verifying Checksum [2022-12-01T15:26:41.700Z] 53926ce57604: Download complete [2022-12-01T15:26:45.884Z] 53926ce57604: Pull complete [2022-12-01T15:26:45.884Z] 21b2b0c7a3f4: Pull complete [2022-12-01T15:26:45.884Z] 22ff95d597cd: Pull complete [2022-12-01T15:26:45.884Z] 12d6caf4c0d1: Pull complete [2022-12-01T15:26:47.257Z] 96b7cbca73a9: Pull complete [2022-12-01T15:26:48.189Z] a7acece74701: Pull complete [2022-12-01T15:26:48.189Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-01T15:26:48.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-01T15:26:48.189Z] ---> db6d94c90886 [2022-12-01T15:26:48.189Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-01T15:26:49.566Z] ---> Running in 857b6050f973 [2022-12-01T15:26:49.566Z] Removing intermediate container 857b6050f973 [2022-12-01T15:26:49.566Z] ---> 894b061467de [2022-12-01T15:26:49.566Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-01T15:26:49.566Z] ---> Running in 3f71d05e756f [2022-12-01T15:26:49.566Z] Removing intermediate container 3f71d05e756f [2022-12-01T15:26:49.566Z] ---> edec43ce50bc [2022-12-01T15:26:49.566Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-01T15:26:49.566Z] ---> Running in 38420fec49c4 [2022-12-01T15:26:49.566Z] Removing intermediate container 38420fec49c4 [2022-12-01T15:26:49.566Z] ---> 54afebabf2ad [2022-12-01T15:26:49.566Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-01T15:26:49.566Z] ---> Running in 344b8b6c48b3 [2022-12-01T15:26:49.825Z] Removing intermediate container 344b8b6c48b3 [2022-12-01T15:26:49.825Z] ---> a67dbc9e0276 [2022-12-01T15:26:49.825Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-01T15:26:49.825Z] ---> Running in a7259e5e29f9 [2022-12-01T15:26:50.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-01T15:26:50.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-01T15:26:50.603Z] (1/80) Installing mesa (21.3.8-r2) [2022-12-01T15:26:50.603Z] (2/80) Installing libxau (1.0.9-r0) [2022-12-01T15:26:50.603Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-12-01T15:26:50.603Z] (4/80) Installing libxcb (1.15-r0) [2022-12-01T15:26:50.603Z] (5/80) Installing libx11 (1.8-r0) [2022-12-01T15:26:50.603Z] (6/80) Installing libxext (1.3.4-r0) [2022-12-01T15:26:50.603Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-12-01T15:26:50.603Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-12-01T15:26:50.603Z] (9/80) Installing libpciaccess (0.16-r0) [2022-12-01T15:26:50.603Z] (10/80) Installing libdrm (2.4.110-r0) [2022-12-01T15:26:50.864Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-12-01T15:26:50.864Z] (12/80) Installing libxshmfence (1.3-r1) [2022-12-01T15:26:50.864Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-12-01T15:26:50.864Z] (14/80) Installing icu-data-full (71.1-r2) [2022-12-01T15:26:50.864Z] (15/80) Installing libice (1.0.10-r0) [2022-12-01T15:26:50.864Z] (16/80) Installing libuuid (2.38-r1) [2022-12-01T15:26:50.864Z] (17/80) Installing libsm (1.2.3-r0) [2022-12-01T15:26:50.864Z] (18/80) Installing libxt (1.2.1-r0) [2022-12-01T15:26:50.864Z] (19/80) Installing libxmu (1.1.3-r0) [2022-12-01T15:26:50.864Z] (20/80) Installing xset (1.2.4-r0) [2022-12-01T15:26:50.864Z] (21/80) Installing xprop (1.2.5-r0) [2022-12-01T15:26:50.864Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-12-01T15:26:50.864Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-12-01T15:26:50.864Z] (24/80) Installing libffi (3.4.2-r1) [2022-12-01T15:26:50.864Z] (25/80) Installing libintl (0.21-r2) [2022-12-01T15:26:50.864Z] (26/80) Installing libblkid (2.38-r1) [2022-12-01T15:26:51.124Z] (27/80) Installing libmount (2.38-r1) [2022-12-01T15:26:51.124Z] (28/80) Installing pcre (8.45-r2) [2022-12-01T15:26:51.124Z] (29/80) Installing glib (2.72.1-r0) [2022-12-01T15:26:51.124Z] (30/80) Installing icu-libs (71.1-r2) [2022-12-01T15:26:51.124Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-12-01T15:26:51.124Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-12-01T15:26:51.124Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-12-01T15:26:51.124Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-12-01T15:26:51.124Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-12-01T15:26:51.124Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-12-01T15:26:51.124Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-12-01T15:26:51.124Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-12-01T15:26:51.384Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-12-01T15:26:51.384Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-12-01T15:26:51.384Z] (41/80) Installing libpng (1.6.37-r1) [2022-12-01T15:26:51.384Z] (42/80) Installing freetype (2.12.1-r0) [2022-12-01T15:26:51.384Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-12-01T15:26:51.384Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-12-01T15:26:51.384Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-12-01T15:26:51.384Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-12-01T15:26:51.384Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-12-01T15:26:51.384Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-12-01T15:26:51.384Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-12-01T15:26:51.384Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-12-01T15:26:51.384Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-12-01T15:26:51.384Z] (52/80) Installing avahi-libs (0.8-r6) [2022-12-01T15:26:51.384Z] (53/80) Installing nettle (3.7.3-r0) [2022-12-01T15:26:51.384Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-12-01T15:26:51.384Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-12-01T15:26:51.384Z] (56/80) Installing libunistring (1.0-r0) [2022-12-01T15:26:51.384Z] (57/80) Installing gnutls (3.7.7-r0) [2022-12-01T15:26:51.644Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-12-01T15:26:51.644Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-12-01T15:26:51.644Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-12-01T15:26:51.644Z] (61/80) Installing libevdev (1.12.1-r0) [2022-12-01T15:26:51.644Z] (62/80) Installing mtdev (1.1.6-r0) [2022-12-01T15:26:51.644Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-12-01T15:26:51.644Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-12-01T15:26:51.644Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-12-01T15:26:51.644Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-12-01T15:26:51.644Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-12-01T15:26:51.644Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-12-01T15:26:51.644Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-12-01T15:26:51.644Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-12-01T15:26:51.644Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-12-01T15:26:51.904Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-12-01T15:26:51.904Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-12-01T15:26:51.904Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-12-01T15:26:51.904Z] (75/80) Installing udev-init-scripts (35-r0) [2022-12-01T15:26:51.904Z] Executing udev-init-scripts-35-r0.post-install [2022-12-01T15:26:51.904Z] (76/80) Installing kmod-libs (29-r2) [2022-12-01T15:26:51.904Z] (77/80) Installing eudev (3.2.11-r0) [2022-12-01T15:26:51.904Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-12-01T15:26:51.904Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-12-01T15:26:51.904Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-12-01T15:26:51.904Z] Executing busybox-1.35.0-r17.trigger [2022-12-01T15:26:51.904Z] Executing eudev-3.2.11-r0.trigger [2022-12-01T15:26:52.164Z] OK: 330 MiB in 131 packages [2022-12-01T15:26:54.068Z] Removing intermediate container a7259e5e29f9 [2022-12-01T15:26:54.068Z] ---> 328d47cbc16c [2022-12-01T15:26:54.068Z] Step 8/13 : WORKDIR /device-usb-camera [2022-12-01T15:26:54.068Z] ---> Running in 168f53dedc18 [2022-12-01T15:26:54.068Z] Removing intermediate container 168f53dedc18 [2022-12-01T15:26:54.068Z] ---> a6747b1cceae [2022-12-01T15:26:54.068Z] Step 9/13 : COPY go.mod vendor* ./ [2022-12-01T15:26:54.068Z] ---> f396ea4b0322 [2022-12-01T15:26:54.068Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-01T15:26:54.068Z] ---> Running in 951fe375c3a8 [2022-12-01T15:26:54.419Z] Still waiting to schedule task [2022-12-01T15:26:54.419Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-01T15:27:20.618Z] Removing intermediate container 951fe375c3a8 [2022-12-01T15:27:20.618Z] ---> 9ddecf640a3e [2022-12-01T15:27:20.618Z] Step 11/13 : COPY . . [2022-12-01T15:27:20.618Z] ---> 24d19b03f050 [2022-12-01T15:27:20.618Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-01T15:27:20.618Z] ---> Running in dfb9a1c1ed93 [2022-12-01T15:27:20.618Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T15:27:20.618Z]  Dload Upload Total Spent Left Speed [2022-12-01T15:27:20.618Z]   0 0  0 0   0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8032 0 --:--:-- --:--:-- --:--:-- 8045 [2022-12-01T15:27:20.619Z] Removing intermediate container dfb9a1c1ed93 [2022-12-01T15:27:20.619Z] ---> 5fcc7a8d8aa2 [2022-12-01T15:27:20.619Z] Step 13/13 : RUN ${MAKE} [2022-12-01T15:27:20.619Z] ---> Running in 33db5b3c7db7 [2022-12-01T15:27:20.619Z] noop [2022-12-01T15:27:20.619Z] Removing intermediate container 33db5b3c7db7 [2022-12-01T15:27:20.619Z] ---> 86958eb62c76 [2022-12-01T15:27:20.619Z] Successfully built 86958eb62c76 [2022-12-01T15:27:20.619Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:27:20.924Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-01T15:27:20.924Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T15:27:20.981Z] prd-ubuntu20.04-docker-8c-8g-120353 does not seem to be running inside a container [2022-12-01T15:27:21.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-01T15:27:21.372Z] $ docker top 3189b3751a80c3af49a0c4f9865f87105396b5b2d447a1d1f1ad334d7d7e2b5e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T15:27:21.709Z] + go version [2022-12-01T15:27:21.709Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-01T15:27:21.725Z] $ docker stop --time=1 3189b3751a80c3af49a0c4f9865f87105396b5b2d447a1d1f1ad334d7d7e2b5e [2022-12-01T15:27:22.988Z] $ docker rm -f 3189b3751a80c3af49a0c4f9865f87105396b5b2d447a1d1f1ad334d7d7e2b5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:27:23.378Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-01T15:27:23.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T15:27:23.446Z] prd-ubuntu20.04-docker-8c-8g-120353 does not seem to be running inside a container [2022-12-01T15:27:23.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-01T15:27:23.856Z] $ docker top 6e2dc45c1d88bfb7b0593567e1f6aa3be0c23ccfaf439c960c41f6403c66490e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T15:27:24.203Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] fileExists [Pipeline] sh [2022-12-01T15:27:24.502Z] + make test [2022-12-01T15:27:24.502Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-12-01T15:27:24.760Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-12-01T15:27:34.725Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-12-01T15:27:34.725Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements [2022-12-01T15:27:39.987Z] 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." [2022-12-01T15:27:39.987Z] CGO_ENABLED=1 go vet ./... [2022-12-01T15:27:42.514Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-01T15:27:42.514Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-01T15:27:42.514Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-01T15:27:42.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-01T15:27:42.800Z] $ docker stop --time=1 6e2dc45c1d88bfb7b0593567e1f6aa3be0c23ccfaf439c960c41f6403c66490e [2022-12-01T15:27:45.323Z] $ docker rm -f 6e2dc45c1d88bfb7b0593567e1f6aa3be0c23ccfaf439c960c41f6403c66490e [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-01T15:27:45.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-01T15:27:45.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-01T15:27:46.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-01T15:27:46.597Z] + ls -al . [2022-12-01T15:27:46.597Z] total 200 [2022-12-01T15:27:46.597Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 1 15:27 . [2022-12-01T15:27:46.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 15:26 .. [2022-12-01T15:27:46.597Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 15:27 .git [2022-12-01T15:27:46.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 15:26 .github [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 414 Dec 1 15:26 .gitignore [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 1 15:26 .golangci.yml [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 77 Dec 1 15:26 .hadolint.yml [2022-12-01T15:27:46.597Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 1 15:26 .semver [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 9702 Dec 1 15:26 Attribution.txt [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 1206 Dec 1 15:26 CHANGELOG.md [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 2378 Dec 1 15:26 Dockerfile [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 1 15:26 GOVERNANCE.md [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 659 Dec 1 15:26 Jenkinsfile [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 1 15:26 LICENSE [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 2554 Dec 1 15:26 Makefile [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 1 15:26 OWNERS.md [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 5934 Dec 1 15:26 README.md [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 15:26 VERSION [2022-12-01T15:27:46.597Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 15:26 bin [2022-12-01T15:27:46.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 15:26 cmd [2022-12-01T15:27:46.597Z] -rw-r--r-- 1 jenkins jenkins 30072 Dec 1 15:27 coverage.out [2022-12-01T15:27:46.597Z] -rwxrwxr-x 1 jenkins jenkins 140 Dec 1 15:26 docker-entrypoint.sh [2022-12-01T15:27:46.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 15:26 docs [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 3573 Dec 1 15:26 go.mod [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 45026 Dec 1 15:26 go.sum [2022-12-01T15:27:46.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 15:26 internal [2022-12-01T15:27:46.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 15:26 snap [2022-12-01T15:27:46.597Z] -rw-rw-r-- 1 jenkins jenkins 231 Dec 1 15:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:27:46.897Z] + 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=1326a76a2b9079442c62ed19fd08dc9f2991b392 --label arch=amd64 --label version=0.0.0 . [2022-12-01T15:27:46.897Z] Sending build context to Docker daemon 1.699MB [2022-12-01T15:27:46.897Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-12-01T15:27:46.897Z] Step 2/35 : FROM ${BASE} AS builder [2022-12-01T15:27:46.897Z] ---> 86958eb62c76 [2022-12-01T15:27:46.897Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-12-01T15:27:46.897Z] ---> Running in f774735f81fa [2022-12-01T15:27:47.157Z] Removing intermediate container f774735f81fa [2022-12-01T15:27:47.157Z] ---> e5c0008df27f [2022-12-01T15:27:47.157Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-01T15:27:47.157Z] ---> Running in c510c7966f84 [2022-12-01T15:27:47.157Z] Removing intermediate container c510c7966f84 [2022-12-01T15:27:47.157Z] ---> 90a31e577aa4 [2022-12-01T15:27:47.157Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-01T15:27:47.157Z] ---> Running in 9224fcbad5a2 [2022-12-01T15:27:47.157Z] Removing intermediate container 9224fcbad5a2 [2022-12-01T15:27:47.157Z] ---> 171d8db237e0 [2022-12-01T15:27:47.157Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-01T15:27:47.416Z] ---> Running in 903ca3b4b5bc [2022-12-01T15:27:47.416Z] Removing intermediate container 903ca3b4b5bc [2022-12-01T15:27:47.416Z] ---> bbb89abeeb3a [2022-12-01T15:27:47.416Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-01T15:27:47.416Z] ---> Running in decc67aa1ad3 [2022-12-01T15:27:47.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-01T15:27:47.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-01T15:27:48.195Z] OK: 330 MiB in 131 packages [2022-12-01T15:27:48.454Z] Removing intermediate container decc67aa1ad3 [2022-12-01T15:27:48.454Z] ---> 39a7dea7290b [2022-12-01T15:27:48.454Z] Step 8/35 : WORKDIR /device-usb-camera [2022-12-01T15:27:48.454Z] ---> Running in e6bc95c4bc31 [2022-12-01T15:27:48.454Z] Removing intermediate container e6bc95c4bc31 [2022-12-01T15:27:48.454Z] ---> 54c7ec2cbacc [2022-12-01T15:27:48.454Z] Step 9/35 : COPY go.mod vendor* ./ [2022-12-01T15:27:48.714Z] ---> 189234ce05d1 [2022-12-01T15:27:48.714Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-01T15:27:48.714Z] ---> Running in 741136ac56e8 [2022-12-01T15:27:49.317Z] Removing intermediate container 741136ac56e8 [2022-12-01T15:27:49.317Z] ---> 3877dd84dd06 [2022-12-01T15:27:49.317Z] Step 11/35 : COPY . . [2022-12-01T15:27:49.576Z] ---> 958d5d0d002d [2022-12-01T15:27:49.576Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-01T15:27:49.576Z] ---> Running in 0f250bdd422d [2022-12-01T15:27:49.835Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T15:27:49.835Z] Dload Upload Total Spent Left Speed [2022-12-01T15:27:49.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062   0    0  42690   0 --:--:-- --:--:-- --:--:-- 44250 [2022-12-01T15:27:50.094Z] Removing intermediate container 0f250bdd422d [2022-12-01T15:27:50.094Z] ---> 2ef8e6301e05 [2022-12-01T15:27:50.094Z] Step 13/35 : RUN ${MAKE} [2022-12-01T15:27:50.094Z] ---> Running in bdf4dc0d56f7 [2022-12-01T15:27:50.353Z] 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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-12-01T15:28:12.281Z] Removing intermediate container bdf4dc0d56f7 [2022-12-01T15:28:12.281Z] ---> 2a24acdf89e0 [2022-12-01T15:28:12.281Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-12-01T15:28:12.281Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-12-01T15:28:12.281Z] af6660deedbd: Pulling fs layer [2022-12-01T15:28:12.281Z] 97cd0a44c592: Pulling fs layer [2022-12-01T15:28:12.281Z] 97cd0a44c592: Download complete [2022-12-01T15:28:12.281Z] af6660deedbd: Verifying Checksum [2022-12-01T15:28:12.281Z] af6660deedbd: Download complete [2022-12-01T15:28:12.281Z] af6660deedbd: Pull complete [2022-12-01T15:28:12.281Z] 97cd0a44c592: Pull complete [2022-12-01T15:28:12.281Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-12-01T15:28:12.281Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-12-01T15:28:12.281Z] ---> fea57e182299 [2022-12-01T15:28:12.281Z] Step 15/35 : FROM alpine:3.16 [2022-12-01T15:28:12.281Z] 3.16: Pulling from library/alpine [2022-12-01T15:28:12.281Z] ca7dd9ec2225: Pulling fs layer [2022-12-01T15:28:12.281Z] ca7dd9ec2225: Verifying Checksum [2022-12-01T15:28:12.281Z] ca7dd9ec2225: Download complete [2022-12-01T15:28:12.540Z] ca7dd9ec2225: Pull complete [2022-12-01T15:28:12.540Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-01T15:28:12.540Z] Status: Downloaded newer image for alpine:3.16 [2022-12-01T15:28:12.540Z] ---> bfe296a52501 [2022-12-01T15:28:12.540Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-01T15:28:12.799Z] ---> Running in 675794a3cc5a [2022-12-01T15:28:12.799Z] Removing intermediate container 675794a3cc5a [2022-12-01T15:28:12.799Z] ---> cc13c9f750dc [2022-12-01T15:28:12.799Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-12-01T15:28:12.799Z] ---> Running in d53fbff3ad02 [2022-12-01T15:28:13.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-01T15:28:13.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-01T15:28:13.575Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-12-01T15:28:13.575Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-12-01T15:28:13.575Z] (3/83) Installing libxau (1.0.9-r0) [2022-12-01T15:28:13.575Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-12-01T15:28:13.575Z] (5/83) Installing libxcb (1.15-r0) [2022-12-01T15:28:13.575Z] (6/83) Installing libx11 (1.8-r0) [2022-12-01T15:28:13.575Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-12-01T15:28:13.575Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-12-01T15:28:13.834Z] (9/83) Installing expat (2.5.0-r0) [2022-12-01T15:28:13.834Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-12-01T15:28:13.834Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-12-01T15:28:13.834Z] (12/83) Installing libpng (1.6.37-r1) [2022-12-01T15:28:13.834Z] (13/83) Installing freetype (2.12.1-r0) [2022-12-01T15:28:13.834Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-12-01T15:28:13.834Z] (15/83) Installing fribidi (1.0.12-r0) [2022-12-01T15:28:13.834Z] (16/83) Installing libffi (3.4.2-r1) [2022-12-01T15:28:13.834Z] (17/83) Installing libintl (0.21-r2) [2022-12-01T15:28:13.834Z] (18/83) Installing libblkid (2.38-r1) [2022-12-01T15:28:13.834Z] (19/83) Installing libmount (2.38-r1) [2022-12-01T15:28:13.834Z] (20/83) Installing pcre (8.45-r2) [2022-12-01T15:28:13.834Z] (21/83) Installing glib (2.72.1-r0) [2022-12-01T15:28:13.834Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-12-01T15:28:13.834Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-12-01T15:28:13.834Z] (24/83) Installing libass (0.16.0-r0) [2022-12-01T15:28:13.834Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-12-01T15:28:13.834Z] (26/83) Installing libpciaccess (0.16-r0) [2022-12-01T15:28:13.834Z] (27/83) Installing libdrm (2.4.110-r0) [2022-12-01T15:28:13.834Z] (28/83) Installing gmp (6.2.1-r2) [2022-12-01T15:28:13.834Z] (29/83) Installing nettle (3.7.3-r0) [2022-12-01T15:28:13.834Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-12-01T15:28:14.093Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-12-01T15:28:14.093Z] (32/83) Installing libunistring (1.0-r0) [2022-12-01T15:28:14.093Z] (33/83) Installing gnutls (3.7.7-r0) [2022-12-01T15:28:14.093Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-01T15:28:14.093Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-01T15:28:14.093Z] (36/83) Installing lame (3.100-r0) [2022-12-01T15:28:14.093Z] (37/83) Installing opus (1.3.1-r1) [2022-12-01T15:28:14.093Z] (38/83) Installing libasyncns (0.8-r1) [2022-12-01T15:28:14.093Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-12-01T15:28:14.093Z] (40/83) Installing libltdl (2.4.7-r0) [2022-12-01T15:28:14.093Z] (41/83) Installing orc (0.4.32-r0) [2022-12-01T15:28:14.093Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-12-01T15:28:14.093Z] (43/83) Installing libogg (1.3.5-r1) [2022-12-01T15:28:14.093Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-01T15:28:14.093Z] (45/83) Installing flac (1.3.4-r0) [2022-12-01T15:28:14.093Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-12-01T15:28:14.093Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-12-01T15:28:14.093Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-12-01T15:28:14.093Z] (49/83) Installing soxr (0.1.3-r2) [2022-12-01T15:28:14.093Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-12-01T15:28:14.093Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-12-01T15:28:14.093Z] (52/83) Installing libpulse (15.0-r2) [2022-12-01T15:28:14.093Z] (53/83) Installing cjson (1.7.15-r3) [2022-12-01T15:28:14.093Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-12-01T15:28:14.352Z] (55/83) Installing librist (0.2.6-r1) [2022-12-01T15:28:14.352Z] (56/83) Installing libsrt (1.4.4-r0) [2022-12-01T15:28:14.352Z] (57/83) Installing libssh (0.9.6-r1) [2022-12-01T15:28:14.352Z] (58/83) Installing libtheora (1.1.1-r16) [2022-12-01T15:28:14.352Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-12-01T15:28:14.352Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-12-01T15:28:14.352Z] (61/83) Installing libxext (1.3.4-r0) [2022-12-01T15:28:14.352Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-12-01T15:28:14.352Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-12-01T15:28:14.352Z] (64/83) Installing libva (2.14.0-r0) [2022-12-01T15:28:14.352Z] (65/83) Installing libvdpau (1.5-r0) [2022-12-01T15:28:14.352Z] (66/83) Installing vidstab (1.1.0-r1) [2022-12-01T15:28:14.352Z] (67/83) Installing libvpx (1.11.0-r1) [2022-12-01T15:28:14.352Z] (68/83) Installing libwebp (1.2.3-r0) [2022-12-01T15:28:14.352Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-12-01T15:28:14.352Z] (70/83) Installing numactl (2.0.14-r0) [2022-12-01T15:28:14.352Z] (71/83) Installing x265-libs (3.5-r3) [2022-12-01T15:28:14.352Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-12-01T15:28:14.611Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-12-01T15:28:14.611Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-12-01T15:28:14.611Z] (75/83) Installing udev-init-scripts (35-r0) [2022-12-01T15:28:14.611Z] Executing udev-init-scripts-35-r0.post-install [2022-12-01T15:28:14.611Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-12-01T15:28:14.611Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-12-01T15:28:14.611Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-12-01T15:28:14.611Z] (79/83) Installing kmod-libs (29-r2) [2022-12-01T15:28:14.611Z] (80/83) Installing eudev (3.2.11-r0) [2022-12-01T15:28:14.611Z] (81/83) Installing libsodium (1.0.18-r0) [2022-12-01T15:28:14.611Z] (82/83) Installing libzmq (4.3.4-r0) [2022-12-01T15:28:14.611Z] (83/83) Installing zeromq (4.3.4-r0) [2022-12-01T15:28:14.611Z] Executing busybox-1.35.0-r17.trigger [2022-12-01T15:28:14.611Z] Executing eudev-3.2.11-r0.trigger [2022-12-01T15:28:14.611Z] OK: 101 MiB in 97 packages [2022-12-01T15:28:17.160Z] Removing intermediate container d53fbff3ad02 [2022-12-01T15:28:17.160Z] ---> a887a64127f0 [2022-12-01T15:28:17.160Z] Step 18/35 : WORKDIR / [2022-12-01T15:28:17.161Z] ---> Running in 728172cb1e35 [2022-12-01T15:28:17.161Z] Removing intermediate container 728172cb1e35 [2022-12-01T15:28:17.161Z] ---> 5011eaca1e72 [2022-12-01T15:28:17.161Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-12-01T15:28:18.093Z] ---> 1370696012f5 [2022-12-01T15:28:18.093Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-12-01T15:28:18.093Z] ---> b1d88da934f5 [2022-12-01T15:28:18.093Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-12-01T15:28:18.093Z] ---> b846da3a7037 [2022-12-01T15:28:18.093Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-12-01T15:28:18.353Z] ---> 427d1d5272b8 [2022-12-01T15:28:18.353Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-12-01T15:28:18.353Z] ---> ef0a66997965 [2022-12-01T15:28:18.353Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-12-01T15:28:18.611Z] ---> 4becb6e091cb [2022-12-01T15:28:18.611Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-12-01T15:28:19.179Z] ---> 72f7498c4804 [2022-12-01T15:28:19.179Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-12-01T15:28:19.179Z] ---> Running in 3fbafaa9a231 [2022-12-01T15:28:19.746Z] Removing intermediate container 3fbafaa9a231 [2022-12-01T15:28:19.746Z] ---> 001e284bba08 [2022-12-01T15:28:19.746Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-12-01T15:28:19.746Z] ---> Running in b444e6f29fb2 [2022-12-01T15:28:20.319Z] Removing intermediate container b444e6f29fb2 [2022-12-01T15:28:20.319Z] ---> ad0c6b051088 [2022-12-01T15:28:20.319Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-12-01T15:28:20.319Z] ---> Running in 3d049dc43b52 [2022-12-01T15:28:20.886Z] Removing intermediate container 3d049dc43b52 [2022-12-01T15:28:20.886Z] ---> 73619a724f7c [2022-12-01T15:28:20.886Z] Step 29/35 : EXPOSE 59983 [2022-12-01T15:28:20.886Z] ---> Running in 0a1da397416a [2022-12-01T15:28:21.145Z] Removing intermediate container 0a1da397416a [2022-12-01T15:28:21.145Z] ---> 65bace4218fa [2022-12-01T15:28:21.145Z] Step 30/35 : EXPOSE 8554 [2022-12-01T15:28:21.145Z] ---> Running in abac2e061b14 [2022-12-01T15:28:21.145Z] Removing intermediate container abac2e061b14 [2022-12-01T15:28:21.145Z] ---> 5ddbba4afb2a [2022-12-01T15:28:21.145Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-12-01T15:28:21.145Z] ---> Running in 7e8bb677acac [2022-12-01T15:28:21.403Z] Removing intermediate container 7e8bb677acac [2022-12-01T15:28:21.403Z] ---> 6c1bfbfcd411 [2022-12-01T15:28:21.403Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-12-01T15:28:21.403Z] ---> Running in 06e30a5dc791 [2022-12-01T15:28:21.403Z] Removing intermediate container 06e30a5dc791 [2022-12-01T15:28:21.403Z] ---> 6679a074affe [2022-12-01T15:28:21.403Z] Step 33/35 : LABEL arch=amd64 [2022-12-01T15:28:21.403Z] ---> Running in 97bde0416fa7 [2022-12-01T15:28:21.403Z] Removing intermediate container 97bde0416fa7 [2022-12-01T15:28:21.403Z] ---> 78fbf4a71358 [2022-12-01T15:28:21.403Z] Step 34/35 : LABEL git_sha=1326a76a2b9079442c62ed19fd08dc9f2991b392 [2022-12-01T15:28:21.403Z] ---> Running in e77e92b2d154 [2022-12-01T15:28:21.661Z] Removing intermediate container e77e92b2d154 [2022-12-01T15:28:21.661Z] ---> f14649fd6fb1 [2022-12-01T15:28:21.661Z] Step 35/35 : LABEL version=0.0.0 [2022-12-01T15:28:21.661Z] ---> Running in afdf83e34cc6 [2022-12-01T15:28:21.661Z] Removing intermediate container afdf83e34cc6 [2022-12-01T15:28:21.661Z] ---> 128dd8be943e [2022-12-01T15:28:21.661Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-01T15:28:21.661Z] Successfully built 128dd8be943e [2022-12-01T15:28:21.661Z] 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 [2022-12-01T15:28:22.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-01T15:28:22.072Z] [2022-12-01T15:28:22.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:28:22.367Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-01T15:28:22.367Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-01T15:28:22.367Z] 5eb5b503b376: Pulling fs layer [2022-12-01T15:28:22.367Z] 5c69ac0246d0: Pulling fs layer [2022-12-01T15:28:22.367Z] ec43610c2a17: Pulling fs layer [2022-12-01T15:28:22.367Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-01T15:28:22.367Z] 33b1e0a273af: Pulling fs layer [2022-12-01T15:28:22.367Z] 5d3b04190fa2: Pulling fs layer [2022-12-01T15:28:22.367Z] 2f39f015ded8: Pulling fs layer [2022-12-01T15:28:22.367Z] 33b1e0a273af: Waiting [2022-12-01T15:28:22.367Z] 5d3b04190fa2: Waiting [2022-12-01T15:28:22.367Z] 2f39f015ded8: Waiting [2022-12-01T15:28:22.367Z] 3a2ae6a8a46f: Waiting [2022-12-01T15:28:22.367Z] 5c69ac0246d0: Download complete [2022-12-01T15:28:22.367Z] 3a2ae6a8a46f: Download complete [2022-12-01T15:28:22.367Z] ec43610c2a17: Verifying Checksum [2022-12-01T15:28:22.367Z] ec43610c2a17: Download complete [2022-12-01T15:28:22.367Z] 33b1e0a273af: Verifying Checksum [2022-12-01T15:28:22.367Z] 33b1e0a273af: Download complete [2022-12-01T15:28:22.625Z] 5d3b04190fa2: Verifying Checksum [2022-12-01T15:28:22.625Z] 5d3b04190fa2: Download complete [2022-12-01T15:28:22.625Z] 5eb5b503b376: Verifying Checksum [2022-12-01T15:28:22.625Z] 5eb5b503b376: Download complete [2022-12-01T15:28:23.189Z] 2f39f015ded8: Download complete [2022-12-01T15:28:23.756Z] 5eb5b503b376: Pull complete [2022-12-01T15:28:24.013Z] 5c69ac0246d0: Pull complete [2022-12-01T15:28:24.271Z] ec43610c2a17: Pull complete [2022-12-01T15:28:24.271Z] 3a2ae6a8a46f: Pull complete [2022-12-01T15:28:24.529Z] 33b1e0a273af: Pull complete [2022-12-01T15:28:24.787Z] 5d3b04190fa2: Pull complete [2022-12-01T15:28:27.481Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-120354 in /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] { [Pipeline] ws [2022-12-01T15:28:27.493Z] Running in /w/workspace/device-usb-camera/19 [Pipeline] { [Pipeline] checkout [2022-12-01T15:28:27.523Z] Selected Git installation does not exist. Using Default [2022-12-01T15:28:27.523Z] The recommended git tool is: NONE [2022-12-01T15:28:28.968Z] 2f39f015ded8: Pull complete [2022-12-01T15:28:28.968Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-01T15:28:28.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-01T15:28:28.968Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T15:28:29.037Z] prd-ubuntu20.04-docker-8c-8g-120353 does not seem to be running inside a container [2022-12-01T15:28:29.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-01T15:28:32.551Z] using credential edgex-jenkins-ssh [2022-12-01T15:28:32.579Z] Cloning the remote Git repository [2022-12-01T15:28:33.013Z] $ docker top e539ecc955ca59c37b32ea001382697c23ce6f2daecfc915bf3b08fce03f2a6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:28:33.393Z] ---> job-cost.sh [2022-12-01T15:28:33.393Z] lf-activate-venv: SKIPPING [2022-12-01T15:28:33.393Z] INFO: No Stack... [2022-12-01T15:28:33.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-01T15:28:32.627Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-12-01T15:28:32.700Z] > git init /w/workspace/device-usb-camera/19 # timeout=10 [2022-12-01T15:28:32.837Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-12-01T15:28:32.837Z] > git --version # timeout=10 [2022-12-01T15:28:32.855Z] > git --version # 'git version 2.25.1' [2022-12-01T15:28:32.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-01T15:28:32.904Z] Verifying host key using known hosts file [2022-12-01T15:28:33.119Z] 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. [2022-12-01T15:28:33.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-01T15:28:34.219Z] INFO: Archiving Costs [Pipeline] sh [2022-12-01T15:28:34.516Z] + cat /w/workspace/foundry_device-usb-camera_PR-115/archives/cost.csv [2022-12-01T15:28:34.516Z] + cut -d, -f6 [Pipeline] lock [2022-12-01T15:28:34.532Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-19-stack-cost] [2022-12-01T15:28:34.537Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-19-stack-cost] did not exist. Created. [2022-12-01T15:28:34.537Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-01T15:28:34.845Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-01T15:28:34.876Z] Stashed 1 file(s) [Pipeline] } [2022-12-01T15:28:34.882Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-01T15:28:34.900Z] $ docker stop --time=1 e539ecc955ca59c37b32ea001382697c23ce6f2daecfc915bf3b08fce03f2a6d [2022-12-01T15:28:33.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-12-01T15:28:33.933Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-01T15:28:34.831Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-12-01T15:28:34.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-12-01T15:28:34.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-01T15:28:34.875Z] Verifying host key using known hosts file [2022-12-01T15:28:34.881Z] 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. [2022-12-01T15:28:34.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-01T15:28:35.632Z] Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 705b533ede40eaa76d8dc03238e26b3c31add248 [2022-12-01T15:28:35.908Z] Merge succeeded, producing 387abb2dc63a70ad0a8c12cc23b7f94d92e70620 [2022-12-01T15:28:35.909Z] Checking out Revision 387abb2dc63a70ad0a8c12cc23b7f94d92e70620 (PR-115) [2022-12-01T15:28:36.056Z] $ docker rm -f e539ecc955ca59c37b32ea001382697c23ce6f2daecfc915bf3b08fce03f2a6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-01T15:28:35.655Z] > git config core.sparsecheckout # timeout=10 [2022-12-01T15:28:35.688Z] > git checkout -f 705b533ede40eaa76d8dc03238e26b3c31add248 # timeout=10 [2022-12-01T15:28:35.775Z] > git remote # timeout=10 [2022-12-01T15:28:35.792Z] > git config --get remote.origin.url # timeout=10 [2022-12-01T15:28:35.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-01T15:28:35.819Z] Verifying host key using known hosts file [2022-12-01T15:28:35.822Z] 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. [2022-12-01T15:28:35.830Z] > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 [2022-12-01T15:28:35.893Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-01T15:28:35.916Z] > git config core.sparsecheckout # timeout=10 [2022-12-01T15:28:35.928Z] > git checkout -f 387abb2dc63a70ad0a8c12cc23b7f94d92e70620 # timeout=10 [2022-12-01T15:28:39.408Z] Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" [2022-12-01T15:28:39.438Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-01T15:28:40.264Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-01T15:28:40.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T15:28:40.264Z] Dload Upload Total Spent Left Speed [2022-12-01T15:28:40.264Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 69624 0 --:--:-- --:--:-- --:--:-- 69624 [Pipeline] sh [2022-12-01T15:28:39.419Z] > git rev-list --no-walk 3661ac071dc38412bdfd9c256083b611230c64c6 # timeout=10 [2022-12-01T15:28:40.969Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-01T15:28:41.305Z] + sudo tee /etc/docker/daemon.new [2022-12-01T15:28:41.305Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-01T15:28:41.894Z] { [2022-12-01T15:28:41.894Z] "registry-mirrors": [ [2022-12-01T15:28:41.894Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-01T15:28:41.894Z] ], [2022-12-01T15:28:41.894Z] "bip": "10.250.0.254/24", [2022-12-01T15:28:41.894Z] "hosts": [ [2022-12-01T15:28:41.894Z] "tcp://0.0.0.0:5555", [2022-12-01T15:28:41.894Z] "unix:///var/run/docker.sock" [2022-12-01T15:28:41.894Z] ], [2022-12-01T15:28:41.894Z] "mtu": 1458, [2022-12-01T15:28:41.894Z] "selinux-enabled": true, [2022-12-01T15:28:41.894Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-01T15:28:41.894Z] } [Pipeline] sh [2022-12-01T15:28:42.221Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-01T15:28:42.556Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-01T15:29:00.812Z] provisioning config files... [2022-12-01T15:29:00.832Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/19@tmp/config2266394476931526335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:29:01.225Z] ---> docker-login.sh [2022-12-01T15:29:01.225Z] nexus3.edgexfoundry.org:10001 [2022-12-01T15:29:01.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:29:01.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:29:01.765Z] Configure a credential helper to remove this warning. See [2022-12-01T15:29:01.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:29:01.765Z] [2022-12-01T15:29:01.765Z] Login Succeeded [2022-12-01T15:29:01.765Z] nexus3.edgexfoundry.org:10002 [2022-12-01T15:29:02.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:29:02.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:29:02.035Z] Configure a credential helper to remove this warning. See [2022-12-01T15:29:02.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:29:02.035Z] [2022-12-01T15:29:02.035Z] Login Succeeded [2022-12-01T15:29:02.035Z] nexus3.edgexfoundry.org:10003 [2022-12-01T15:29:02.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:29:02.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:29:02.582Z] Configure a credential helper to remove this warning. See [2022-12-01T15:29:02.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:29:02.582Z] [2022-12-01T15:29:02.582Z] Login Succeeded [2022-12-01T15:29:02.582Z] nexus3.edgexfoundry.org:10004 [2022-12-01T15:29:02.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:29:02.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:29:02.857Z] Configure a credential helper to remove this warning. See [2022-12-01T15:29:02.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:29:02.857Z] [2022-12-01T15:29:02.857Z] Login Succeeded [2022-12-01T15:29:02.857Z] docker.io [2022-12-01T15:29:03.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T15:29:03.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T15:29:03.393Z] Configure a credential helper to remove this warning. See [2022-12-01T15:29:03.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T15:29:03.393Z] [2022-12-01T15:29:03.393Z] Login Succeeded [2022-12-01T15:29:03.393Z] ---> docker-login.sh ends [Pipeline] } [2022-12-01T15:29:03.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-01T15:29:03.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-01T15:29:03.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-01T15:29:03.648Z] ========================================================= [2022-12-01T15:29:03.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-01T15:29:03.648Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:29:04.006Z] + 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 . [2022-12-01T15:29:04.274Z] Sending build context to Docker daemon 1.108MB [2022-12-01T15:29:04.274Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-01T15:29:04.274Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-01T15:29:06.226Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-01T15:29:06.226Z] 9b18e9b68314: Pulling fs layer [2022-12-01T15:29:06.226Z] 35d82f9e3411: Pulling fs layer [2022-12-01T15:29:06.226Z] e16973657156: Pulling fs layer [2022-12-01T15:29:06.226Z] fc693d55d65f: Pulling fs layer [2022-12-01T15:29:06.226Z] 7e9fc2657dce: Pulling fs layer [2022-12-01T15:29:06.226Z] dda99020689f: Pulling fs layer [2022-12-01T15:29:06.226Z] db1c61fa0a46: Pulling fs layer [2022-12-01T15:29:06.226Z] 891c053d2c06: Pulling fs layer [2022-12-01T15:29:06.226Z] fc693d55d65f: Waiting [2022-12-01T15:29:06.226Z] 7e9fc2657dce: Waiting [2022-12-01T15:29:06.226Z] dda99020689f: Waiting [2022-12-01T15:29:06.226Z] db1c61fa0a46: Waiting [2022-12-01T15:29:06.226Z] 891c053d2c06: Waiting [2022-12-01T15:29:06.226Z] e16973657156: Download complete [2022-12-01T15:29:06.226Z] 35d82f9e3411: Verifying Checksum [2022-12-01T15:29:06.226Z] 35d82f9e3411: Download complete [2022-12-01T15:29:06.226Z] 7e9fc2657dce: Verifying Checksum [2022-12-01T15:29:06.226Z] 7e9fc2657dce: Download complete [2022-12-01T15:29:06.226Z] dda99020689f: Verifying Checksum [2022-12-01T15:29:06.226Z] dda99020689f: Download complete [2022-12-01T15:29:06.226Z] 9b18e9b68314: Verifying Checksum [2022-12-01T15:29:06.226Z] 9b18e9b68314: Download complete [2022-12-01T15:29:07.207Z] 9b18e9b68314: Pull complete [2022-12-01T15:29:07.483Z] 891c053d2c06: Verifying Checksum [2022-12-01T15:29:07.483Z] 891c053d2c06: Download complete [2022-12-01T15:29:07.753Z] 35d82f9e3411: Pull complete [2022-12-01T15:29:08.025Z] e16973657156: Pull complete [2022-12-01T15:29:08.617Z] db1c61fa0a46: Verifying Checksum [2022-12-01T15:29:08.617Z] db1c61fa0a46: Download complete [2022-12-01T15:29:09.207Z] fc693d55d65f: Verifying Checksum [2022-12-01T15:29:09.207Z] fc693d55d65f: Download complete [2022-12-01T15:29:21.545Z] fc693d55d65f: Pull complete [2022-12-01T15:29:21.545Z] 7e9fc2657dce: Pull complete [2022-12-01T15:29:21.545Z] dda99020689f: Pull complete [2022-12-01T15:29:28.216Z] db1c61fa0a46: Pull complete [2022-12-01T15:29:30.802Z] 891c053d2c06: Pull complete [2022-12-01T15:29:30.802Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-01T15:29:30.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-01T15:29:30.802Z] ---> f96f9c87975a [2022-12-01T15:29:30.802Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-01T15:29:31.771Z] ---> Running in 862b6141d8df [2022-12-01T15:29:32.041Z] Removing intermediate container 862b6141d8df [2022-12-01T15:29:32.041Z] ---> 611af44a33a6 [2022-12-01T15:29:32.041Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-01T15:29:32.041Z] ---> Running in 5e1662a1e249 [2022-12-01T15:29:32.309Z] Removing intermediate container 5e1662a1e249 [2022-12-01T15:29:32.309Z] ---> ab992a5511bf [2022-12-01T15:29:32.309Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-01T15:29:32.578Z] ---> Running in 3c4d424132c5 [2022-12-01T15:29:32.847Z] Removing intermediate container 3c4d424132c5 [2022-12-01T15:29:32.847Z] ---> 3a2f9a106f0b [2022-12-01T15:29:32.847Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-01T15:29:32.847Z] ---> Running in fc838ed7dfa1 [2022-12-01T15:29:33.120Z] Removing intermediate container fc838ed7dfa1 [2022-12-01T15:29:33.120Z] ---> 107b3ac2ec9d [2022-12-01T15:29:33.120Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-01T15:29:33.120Z] ---> Running in d8e6b773855e [2022-12-01T15:29:34.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-01T15:29:34.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-01T15:29:35.497Z] (1/14) Installing libintl (0.21-r2) [2022-12-01T15:29:35.497Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-12-01T15:29:35.497Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-12-01T15:29:35.497Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-12-01T15:29:35.497Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-12-01T15:29:35.497Z] (6/14) Installing udev-init-scripts (35-r0) [2022-12-01T15:29:35.497Z] Executing udev-init-scripts-35-r0.post-install [2022-12-01T15:29:35.497Z] (7/14) Installing libblkid (2.38-r1) [2022-12-01T15:29:35.763Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-12-01T15:29:35.763Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-12-01T15:29:35.763Z] (10/14) Installing kmod-libs (29-r2) [2022-12-01T15:29:35.763Z] (11/14) Installing eudev (3.2.11-r0) [2022-12-01T15:29:35.763Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-12-01T15:29:35.763Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-12-01T15:29:36.035Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-12-01T15:29:36.035Z] Executing busybox-1.35.0-r17.trigger [2022-12-01T15:29:36.035Z] Executing eudev-3.2.11-r0.trigger [2022-12-01T15:29:36.035Z] OK: 228 MiB in 65 packages [2022-12-01T15:29:37.446Z] Removing intermediate container d8e6b773855e [2022-12-01T15:29:37.446Z] ---> 0fd021f8f8ec [2022-12-01T15:29:37.446Z] Step 8/13 : WORKDIR /device-usb-camera [2022-12-01T15:29:37.446Z] ---> Running in 4e45869afb58 [2022-12-01T15:29:37.714Z] Removing intermediate container 4e45869afb58 [2022-12-01T15:29:37.714Z] ---> 2bf6210ab4db [2022-12-01T15:29:37.714Z] Step 9/13 : COPY go.mod vendor* ./ [2022-12-01T15:29:37.986Z] ---> 19f733a0df2b [2022-12-01T15:29:37.986Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-01T15:29:38.257Z] ---> Running in 08961292ec8f [2022-12-01T15:30:34.686Z] Removing intermediate container 08961292ec8f [2022-12-01T15:30:34.686Z] ---> 80a77bcd1248 [2022-12-01T15:30:34.686Z] Step 11/13 : COPY . . [2022-12-01T15:30:34.686Z] ---> 7448e8d8f4bb [2022-12-01T15:30:34.686Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-01T15:30:34.686Z] ---> Running in a4c8aa419856 [2022-12-01T15:30:34.686Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T15:30:34.686Z]  Dload Upload Total Spent Left Speed [2022-12-01T15:30:34.686Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 15095 0 --:--:-- --:--:-- --:--:-- 15171 [2022-12-01T15:30:34.686Z] Removing intermediate container a4c8aa419856 [2022-12-01T15:30:34.686Z] ---> 47a41ce0b650 [2022-12-01T15:30:34.686Z] Step 13/13 : RUN ${MAKE} [2022-12-01T15:30:34.686Z] ---> Running in 07806de562ce [2022-12-01T15:30:34.686Z] noop [2022-12-01T15:30:34.686Z] Removing intermediate container 07806de562ce [2022-12-01T15:30:34.686Z] ---> 92c79dc74b25 [2022-12-01T15:30:34.686Z] Successfully built 92c79dc74b25 [2022-12-01T15:30:34.686Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:30:35.036Z] + docker inspect -f . ci-base-image-arm64 [2022-12-01T15:30:35.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T15:30:35.209Z] prd-ubuntu20.04-docker-arm64-4c-16g-120354 does not seem to be running inside a container [2022-12-01T15:30:35.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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 [2022-12-01T15:30:36.419Z] $ docker top 0dee0c9827f61b57e9216be0394aa1ab0b695251d42e99b37f501683a03d73cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T15:30:37.254Z] + go version [2022-12-01T15:30:37.254Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-01T15:30:37.273Z] $ docker stop --time=1 0dee0c9827f61b57e9216be0394aa1ab0b695251d42e99b37f501683a03d73cc [2022-12-01T15:30:38.919Z] $ docker rm -f 0dee0c9827f61b57e9216be0394aa1ab0b695251d42e99b37f501683a03d73cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:30:39.459Z] + docker inspect -f . ci-base-image-arm64 [2022-12-01T15:30:39.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T15:30:39.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-120354 does not seem to be running inside a container [2022-12-01T15:30:39.701Z] $ 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/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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 [2022-12-01T15:30:40.853Z] $ docker top 3707ee6abeb6dd7607eb4d6a4347e99eb8c617f0ff4d5ff665dbffeb5a5b57a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T15:30:41.348Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/19 [Pipeline] fileExists [Pipeline] sh [2022-12-01T15:30:41.995Z] + make test [2022-12-01T15:30:41.995Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-12-01T15:30:43.417Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-12-01T15:32:20.092Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-12-01T15:32:20.092Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 1.9% of statements [2022-12-01T15:32:20.092Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-01T15:32:20.092Z] CGO_ENABLED=1 go vet ./... [2022-12-01T15:32:32.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-01T15:32:32.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-01T15:32:32.446Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-01T15:32:32.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-01T15:32:32.482Z] $ docker stop --time=1 3707ee6abeb6dd7607eb4d6a4347e99eb8c617f0ff4d5ff665dbffeb5a5b57a7 [2022-12-01T15:32:35.562Z] $ docker rm -f 3707ee6abeb6dd7607eb4d6a4347e99eb8c617f0ff4d5ff665dbffeb5a5b57a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-01T15:32:36.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-01T15:32:36.470Z] Warning: overwriting stash ‘coverage-report’ [2022-12-01T15:32:36.843Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-01T15:32:37.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-01T15:32:37.529Z] + ls -al . [2022-12-01T15:32:37.529Z] total 196 [2022-12-01T15:32:37.529Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 1 15:30 . [2022-12-01T15:32:37.529Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 15:28 .. [2022-12-01T15:32:37.529Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 15:28 .git [2022-12-01T15:32:37.529Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 15:28 .github [2022-12-01T15:32:37.529Z] -rw-rw-r-- 1 jenkins jenkins 414 Dec 1 15:28 .gitignore [2022-12-01T15:32:37.529Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 1 15:28 .golangci.yml [2022-12-01T15:32:37.529Z] -rw-rw-r-- 1 jenkins jenkins 77 Dec 1 15:28 .hadolint.yml [2022-12-01T15:32:37.529Z] -rw-rw-r-- 1 jenkins jenkins 9702 Dec 1 15:28 Attribution.txt [2022-12-01T15:32:37.529Z] -rw-rw-r-- 1 jenkins jenkins 1206 Dec 1 15:28 CHANGELOG.md [2022-12-01T15:32:37.529Z] -rw-rw-r-- 1 jenkins jenkins 2378 Dec 1 15:28 Dockerfile [2022-12-01T15:32:37.529Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 1 15:28 GOVERNANCE.md [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 659 Dec 1 15:28 Jenkinsfile [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 1 15:28 LICENSE [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 2554 Dec 1 15:28 Makefile [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 1 15:28 OWNERS.md [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 5934 Dec 1 15:28 README.md [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 15:26 VERSION [2022-12-01T15:32:37.530Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 15:28 bin [2022-12-01T15:32:37.530Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 15:28 cmd [2022-12-01T15:32:37.530Z] -rw-r--r-- 1 jenkins jenkins 30072 Dec 1 15:32 coverage.out [2022-12-01T15:32:37.530Z] -rwxrwxr-x 1 jenkins jenkins 140 Dec 1 15:28 docker-entrypoint.sh [2022-12-01T15:32:37.530Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 15:28 docs [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 3573 Dec 1 15:28 go.mod [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 45026 Dec 1 15:28 go.sum [2022-12-01T15:32:37.530Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 15:28 internal [2022-12-01T15:32:37.530Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 15:28 snap [2022-12-01T15:32:37.530Z] -rw-rw-r-- 1 jenkins jenkins 231 Dec 1 15:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:32:37.860Z] + 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=387abb2dc63a70ad0a8c12cc23b7f94d92e70620 --label arch=arm64 --label version=0.0.0 . [2022-12-01T15:32:38.131Z] Sending build context to Docker daemon 1.139MB [2022-12-01T15:32:38.131Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-12-01T15:32:38.131Z] Step 2/35 : FROM ${BASE} AS builder [2022-12-01T15:32:38.131Z] ---> 92c79dc74b25 [2022-12-01T15:32:38.131Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-12-01T15:32:38.131Z] ---> Running in dab740c0b553 [2022-12-01T15:32:38.396Z] Removing intermediate container dab740c0b553 [2022-12-01T15:32:38.396Z] ---> 26d81246d4e2 [2022-12-01T15:32:38.396Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-01T15:32:38.663Z] ---> Running in a0dbb11816a3 [2022-12-01T15:32:38.931Z] Removing intermediate container a0dbb11816a3 [2022-12-01T15:32:38.931Z] ---> 897b1ed6548c [2022-12-01T15:32:38.931Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-01T15:32:38.931Z] ---> Running in fa1b2be367af [2022-12-01T15:32:39.197Z] Removing intermediate container fa1b2be367af [2022-12-01T15:32:39.198Z] ---> 7c1ac074bb19 [2022-12-01T15:32:39.198Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-01T15:32:39.198Z] ---> Running in 56c92d01bc4c [2022-12-01T15:32:39.470Z] Removing intermediate container 56c92d01bc4c [2022-12-01T15:32:39.470Z] ---> eb607d9b6bf4 [2022-12-01T15:32:39.470Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-01T15:32:39.470Z] ---> Running in 92871f2bea48 [2022-12-01T15:32:40.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-01T15:32:40.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-01T15:32:41.788Z] OK: 228 MiB in 65 packages [2022-12-01T15:32:42.780Z] Removing intermediate container 92871f2bea48 [2022-12-01T15:32:42.780Z] ---> bb56c8268407 [2022-12-01T15:32:42.780Z] Step 8/35 : WORKDIR /device-usb-camera [2022-12-01T15:32:42.780Z] ---> Running in 19916b935545 [2022-12-01T15:32:43.055Z] Removing intermediate container 19916b935545 [2022-12-01T15:32:43.055Z] ---> 62a3904baa32 [2022-12-01T15:32:43.055Z] Step 9/35 : COPY go.mod vendor* ./ [2022-12-01T15:32:43.657Z] ---> b32871755e17 [2022-12-01T15:32:43.657Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-01T15:32:43.657Z] ---> Running in 9cada3b4a321 [2022-12-01T15:32:46.245Z] Removing intermediate container 9cada3b4a321 [2022-12-01T15:32:46.245Z] ---> febfe11e8f4e [2022-12-01T15:32:46.245Z] Step 11/35 : COPY . . [2022-12-01T15:32:46.828Z] ---> 3cf3502382a7 [2022-12-01T15:32:46.828Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-01T15:32:46.828Z] ---> Running in e2db6fd1f71d [2022-12-01T15:32:47.797Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T15:32:47.797Z] Dload Upload Total Spent Left Speed [2022-12-01T15:32:48.070Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5514 0 --:--:-- --:--:-- --:--:-- 5531 [2022-12-01T15:32:49.495Z] Removing intermediate container e2db6fd1f71d [2022-12-01T15:32:49.495Z] ---> f0e1f66a86a4 [2022-12-01T15:32:49.495Z] Step 13/35 : RUN ${MAKE} [2022-12-01T15:32:49.495Z] ---> Running in 144382afde71 [2022-12-01T15:32:50.460Z] 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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-12-01T15:35:27.499Z] Removing intermediate container 144382afde71 [2022-12-01T15:35:27.499Z] ---> daa69fc6d24c [2022-12-01T15:35:27.499Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-12-01T15:35:27.499Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-12-01T15:35:27.499Z] eab2503cf8f4: Pulling fs layer [2022-12-01T15:35:27.499Z] 97cd0a44c592: Pulling fs layer [2022-12-01T15:35:27.499Z] 97cd0a44c592: Verifying Checksum [2022-12-01T15:35:27.499Z] 97cd0a44c592: Download complete [2022-12-01T15:35:27.499Z] eab2503cf8f4: Verifying Checksum [2022-12-01T15:35:27.499Z] eab2503cf8f4: Download complete [2022-12-01T15:35:27.499Z] eab2503cf8f4: Pull complete [2022-12-01T15:35:27.499Z] 97cd0a44c592: Pull complete [2022-12-01T15:35:27.499Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-12-01T15:35:27.499Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-12-01T15:35:27.499Z] ---> 7f763cca56b3 [2022-12-01T15:35:27.499Z] Step 15/35 : FROM alpine:3.16 [2022-12-01T15:35:27.499Z] 3.16: Pulling from library/alpine [2022-12-01T15:35:27.499Z] 6875df1f5354: Pulling fs layer [2022-12-01T15:35:27.499Z] 6875df1f5354: Verifying Checksum [2022-12-01T15:35:27.499Z] 6875df1f5354: Download complete [2022-12-01T15:35:27.499Z] 6875df1f5354: Pull complete [2022-12-01T15:35:27.499Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-01T15:35:27.499Z] Status: Downloaded newer image for alpine:3.16 [2022-12-01T15:35:27.499Z] ---> 2b4661558fb8 [2022-12-01T15:35:27.499Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-01T15:35:27.499Z] ---> Running in 9fdaa09342be [2022-12-01T15:35:27.499Z] Removing intermediate container 9fdaa09342be [2022-12-01T15:35:27.499Z] ---> f1f8b87a455d [2022-12-01T15:35:27.499Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-12-01T15:35:27.499Z] ---> Running in ec20b44179f0 [2022-12-01T15:35:27.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-01T15:35:27.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-01T15:35:27.499Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-12-01T15:35:27.499Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-12-01T15:35:27.499Z] (3/82) Installing libxau (1.0.9-r0) [2022-12-01T15:35:27.499Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-12-01T15:35:27.499Z] (5/82) Installing libxcb (1.15-r0) [2022-12-01T15:35:27.499Z] (6/82) Installing libx11 (1.8-r0) [2022-12-01T15:35:27.499Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-12-01T15:35:27.765Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-12-01T15:35:27.765Z] (9/82) Installing expat (2.5.0-r0) [2022-12-01T15:35:27.765Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-12-01T15:35:27.765Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-12-01T15:35:27.765Z] (12/82) Installing libpng (1.6.37-r1) [2022-12-01T15:35:27.765Z] (13/82) Installing freetype (2.12.1-r0) [2022-12-01T15:35:28.034Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-12-01T15:35:28.034Z] (15/82) Installing fribidi (1.0.12-r0) [2022-12-01T15:35:28.034Z] (16/82) Installing libffi (3.4.2-r1) [2022-12-01T15:35:28.034Z] (17/82) Installing libintl (0.21-r2) [2022-12-01T15:35:28.034Z] (18/82) Installing libblkid (2.38-r1) [2022-12-01T15:35:28.034Z] (19/82) Installing libmount (2.38-r1) [2022-12-01T15:35:28.034Z] (20/82) Installing pcre (8.45-r2) [2022-12-01T15:35:28.034Z] (21/82) Installing glib (2.72.1-r0) [2022-12-01T15:35:28.034Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-12-01T15:35:28.034Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-12-01T15:35:28.034Z] (24/82) Installing libass (0.16.0-r0) [2022-12-01T15:35:28.034Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-12-01T15:35:28.301Z] (26/82) Installing libdrm (2.4.110-r0) [2022-12-01T15:35:28.301Z] (27/82) Installing gmp (6.2.1-r2) [2022-12-01T15:35:28.301Z] (28/82) Installing nettle (3.7.3-r0) [2022-12-01T15:35:28.568Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-12-01T15:35:28.568Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-12-01T15:35:28.568Z] (31/82) Installing libunistring (1.0-r0) [2022-12-01T15:35:28.568Z] (32/82) Installing gnutls (3.7.7-r0) [2022-12-01T15:35:28.833Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-01T15:35:28.833Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-01T15:35:28.833Z] (35/82) Installing lame (3.100-r0) [2022-12-01T15:35:28.833Z] (36/82) Installing opus (1.3.1-r1) [2022-12-01T15:35:28.833Z] (37/82) Installing libasyncns (0.8-r1) [2022-12-01T15:35:28.833Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-12-01T15:35:29.098Z] (39/82) Installing libltdl (2.4.7-r0) [2022-12-01T15:35:29.098Z] (40/82) Installing orc (0.4.32-r0) [2022-12-01T15:35:29.098Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-12-01T15:35:29.098Z] (42/82) Installing libogg (1.3.5-r1) [2022-12-01T15:35:29.098Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-01T15:35:29.098Z] (44/82) Installing flac (1.3.4-r0) [2022-12-01T15:35:29.098Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-12-01T15:35:29.098Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-12-01T15:35:29.098Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-12-01T15:35:29.365Z] (48/82) Installing soxr (0.1.3-r2) [2022-12-01T15:35:29.365Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-12-01T15:35:29.365Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-12-01T15:35:29.365Z] (51/82) Installing libpulse (15.0-r2) [2022-12-01T15:35:29.365Z] (52/82) Installing cjson (1.7.15-r3) [2022-12-01T15:35:29.365Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-12-01T15:35:29.632Z] (54/82) Installing librist (0.2.6-r1) [2022-12-01T15:35:29.632Z] (55/82) Installing libsrt (1.4.4-r0) [2022-12-01T15:35:29.632Z] (56/82) Installing libssh (0.9.6-r1) [2022-12-01T15:35:29.632Z] (57/82) Installing libtheora (1.1.1-r16) [2022-12-01T15:35:29.632Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-12-01T15:35:29.898Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-12-01T15:35:29.898Z] (60/82) Installing libxext (1.3.4-r0) [2022-12-01T15:35:29.898Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-12-01T15:35:29.898Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-12-01T15:35:29.898Z] (63/82) Installing libva (2.14.0-r0) [2022-12-01T15:35:29.898Z] (64/82) Installing libvdpau (1.5-r0) [2022-12-01T15:35:29.898Z] (65/82) Installing vidstab (1.1.0-r1) [2022-12-01T15:35:30.164Z] (66/82) Installing libvpx (1.11.0-r1) [2022-12-01T15:35:30.164Z] (67/82) Installing libwebp (1.2.3-r0) [2022-12-01T15:35:30.164Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-12-01T15:35:30.164Z] (69/82) Installing numactl (2.0.14-r0) [2022-12-01T15:35:30.432Z] (70/82) Installing x265-libs (3.5-r3) [2022-12-01T15:35:30.432Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-12-01T15:35:30.432Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-12-01T15:35:31.016Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-12-01T15:35:31.016Z] (74/82) Installing udev-init-scripts (35-r0) [2022-12-01T15:35:31.016Z] Executing udev-init-scripts-35-r0.post-install [2022-12-01T15:35:31.016Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-12-01T15:35:31.016Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-12-01T15:35:31.016Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-12-01T15:35:31.016Z] (78/82) Installing kmod-libs (29-r2) [2022-12-01T15:35:31.016Z] (79/82) Installing eudev (3.2.11-r0) [2022-12-01T15:35:31.016Z] (80/82) Installing libsodium (1.0.18-r0) [2022-12-01T15:35:31.282Z] (81/82) Installing libzmq (4.3.4-r0) [2022-12-01T15:35:31.282Z] (82/82) Installing zeromq (4.3.4-r0) [2022-12-01T15:35:31.282Z] Executing busybox-1.35.0-r17.trigger [2022-12-01T15:35:31.282Z] Executing eudev-3.2.11-r0.trigger [2022-12-01T15:35:31.282Z] OK: 78 MiB in 96 packages [2022-12-01T15:35:34.660Z] Removing intermediate container ec20b44179f0 [2022-12-01T15:35:34.660Z] ---> bed6676ea8b5 [2022-12-01T15:35:34.660Z] Step 18/35 : WORKDIR / [2022-12-01T15:35:34.660Z] ---> Running in e57f09d83811 [2022-12-01T15:35:34.660Z] Removing intermediate container e57f09d83811 [2022-12-01T15:35:34.660Z] ---> 889c65499d96 [2022-12-01T15:35:34.660Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-12-01T15:35:36.067Z] ---> 4b54f6172ec6 [2022-12-01T15:35:36.067Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-12-01T15:35:36.650Z] ---> a0fbbe6da447 [2022-12-01T15:35:36.650Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-12-01T15:35:36.919Z] ---> 66c1848a102d [2022-12-01T15:35:36.919Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-12-01T15:35:37.504Z] ---> 98c6d6663b54 [2022-12-01T15:35:37.505Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-12-01T15:35:38.087Z] ---> 51ad649fbaa3 [2022-12-01T15:35:38.087Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-12-01T15:35:38.353Z] ---> 0ac618b73b57 [2022-12-01T15:35:38.353Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-12-01T15:35:39.761Z] ---> c07739a0d7ab [2022-12-01T15:35:39.761Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-12-01T15:35:39.761Z] ---> Running in dbfb0a67695c [2022-12-01T15:35:41.184Z] Removing intermediate container dbfb0a67695c [2022-12-01T15:35:41.184Z] ---> a305f8b2e91c [2022-12-01T15:35:41.184Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-12-01T15:35:41.456Z] ---> Running in ecdf70b028dd [2022-12-01T15:35:43.400Z] Removing intermediate container ecdf70b028dd [2022-12-01T15:35:43.400Z] ---> 402640a278f5 [2022-12-01T15:35:43.400Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-12-01T15:35:43.400Z] ---> Running in 52381cccb978 [2022-12-01T15:35:44.820Z] Removing intermediate container 52381cccb978 [2022-12-01T15:35:44.820Z] ---> 41eeacc3bbde [2022-12-01T15:35:44.820Z] Step 29/35 : EXPOSE 59983 [2022-12-01T15:35:44.820Z] ---> Running in d961237401b4 [2022-12-01T15:35:45.087Z] Removing intermediate container d961237401b4 [2022-12-01T15:35:45.087Z] ---> 95997443042b [2022-12-01T15:35:45.087Z] Step 30/35 : EXPOSE 8554 [2022-12-01T15:35:45.354Z] ---> Running in fc1cd34c1974 [2022-12-01T15:35:45.636Z] Removing intermediate container fc1cd34c1974 [2022-12-01T15:35:45.636Z] ---> ef86aea77a6c [2022-12-01T15:35:45.636Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-12-01T15:35:45.636Z] ---> Running in 5f944541a813 [2022-12-01T15:35:45.902Z] Removing intermediate container 5f944541a813 [2022-12-01T15:35:45.902Z] ---> d11585f75f08 [2022-12-01T15:35:45.902Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-12-01T15:35:45.902Z] ---> Running in 1fe4385ae97c [2022-12-01T15:35:46.171Z] Removing intermediate container 1fe4385ae97c [2022-12-01T15:35:46.171Z] ---> a732361bf7e7 [2022-12-01T15:35:46.171Z] Step 33/35 : LABEL arch=arm64 [2022-12-01T15:35:46.171Z] ---> Running in 32ae84f2c6de [2022-12-01T15:35:46.438Z] Removing intermediate container 32ae84f2c6de [2022-12-01T15:35:46.438Z] ---> 113839f5916f [2022-12-01T15:35:46.438Z] Step 34/35 : LABEL git_sha=387abb2dc63a70ad0a8c12cc23b7f94d92e70620 [2022-12-01T15:35:46.705Z] ---> Running in 4502eb3faa2b [2022-12-01T15:35:46.972Z] Removing intermediate container 4502eb3faa2b [2022-12-01T15:35:46.972Z] ---> ec7d02f8ac19 [2022-12-01T15:35:46.972Z] Step 35/35 : LABEL version=0.0.0 [2022-12-01T15:35:46.972Z] ---> Running in 472017c46075 [2022-12-01T15:35:47.239Z] Removing intermediate container 472017c46075 [2022-12-01T15:35:47.239Z] ---> a45b7ee471c5 [2022-12-01T15:35:47.239Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-01T15:35:47.239Z] Successfully built a45b7ee471c5 [2022-12-01T15:35:47.239Z] 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 [2022-12-01T15:35:47.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-01T15:35:47.651Z] [2022-12-01T15:35:47.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:35:47.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-01T15:35:47.987Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-01T15:35:47.987Z] 8998bd30e6a1: Pulling fs layer [2022-12-01T15:35:47.987Z] 04944245beec: Pulling fs layer [2022-12-01T15:35:47.987Z] 699f458cf7ca: Pulling fs layer [2022-12-01T15:35:47.987Z] 765212b225bb: Pulling fs layer [2022-12-01T15:35:47.987Z] f23df028b6ca: Pulling fs layer [2022-12-01T15:35:47.987Z] d65c8cfc05b1: Pulling fs layer [2022-12-01T15:35:47.987Z] f23df028b6ca: Waiting [2022-12-01T15:35:47.987Z] 2437ff75d9bd: Pulling fs layer [2022-12-01T15:35:47.987Z] d65c8cfc05b1: Waiting [2022-12-01T15:35:47.987Z] 2437ff75d9bd: Waiting [2022-12-01T15:35:48.264Z] 04944245beec: Verifying Checksum [2022-12-01T15:35:48.264Z] 04944245beec: Download complete [2022-12-01T15:35:48.264Z] 765212b225bb: Verifying Checksum [2022-12-01T15:35:48.264Z] 765212b225bb: Download complete [2022-12-01T15:35:48.264Z] f23df028b6ca: Verifying Checksum [2022-12-01T15:35:48.264Z] f23df028b6ca: Download complete [2022-12-01T15:35:48.264Z] d65c8cfc05b1: Verifying Checksum [2022-12-01T15:35:48.264Z] d65c8cfc05b1: Download complete [2022-12-01T15:35:48.533Z] 699f458cf7ca: Verifying Checksum [2022-12-01T15:35:48.533Z] 699f458cf7ca: Download complete [2022-12-01T15:35:48.800Z] 8998bd30e6a1: Download complete [2022-12-01T15:35:51.383Z] 2437ff75d9bd: Verifying Checksum [2022-12-01T15:35:51.383Z] 2437ff75d9bd: Download complete [2022-12-01T15:35:52.802Z] 8998bd30e6a1: Pull complete [2022-12-01T15:35:53.068Z] 04944245beec: Pull complete [2022-12-01T15:35:54.479Z] 699f458cf7ca: Pull complete [2022-12-01T15:35:54.746Z] 765212b225bb: Pull complete [2022-12-01T15:35:55.705Z] f23df028b6ca: Pull complete [2022-12-01T15:35:55.705Z] d65c8cfc05b1: Pull complete [2022-12-01T15:36:10.702Z] 2437ff75d9bd: Pull complete [2022-12-01T15:36:10.702Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-01T15:36:10.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-01T15:36:10.702Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T15:36:10.876Z] prd-ubuntu20.04-docker-arm64-4c-16g-120354 does not seem to be running inside a container [2022-12-01T15:36:10.935Z] $ 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/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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 [2022-12-01T15:36:13.460Z] $ docker top 7374208c0368c72f790be82586dbc13a46ee07d7baf7853dca3f33d32a26c795 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:36:14.286Z] ---> job-cost.sh [2022-12-01T15:36:14.286Z] lf-activate-venv: SKIPPING [2022-12-01T15:36:14.286Z] INFO: No Stack... [2022-12-01T15:36:14.866Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-01T15:36:15.823Z] INFO: Archiving Costs [Pipeline] sh [2022-12-01T15:36:16.138Z] + + catcut -d, -f6 [2022-12-01T15:36:16.138Z] /w/workspace/device-usb-camera/19/archives/cost.csv [Pipeline] lock [2022-12-01T15:36:16.199Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-19-stack-cost] [2022-12-01T15:36:16.207Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-19-stack-cost] did not exist. Created. [2022-12-01T15:36:16.207Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-01T15:36:16.541Z] /w/workspace/device-usb-camera/19@tmp/durable-235a0a64/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-01T15:36:16.870Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-01T15:36:16.891Z] Warning: overwriting stash ‘stack-cost’ [2022-12-01T15:36:16.935Z] Stashed 1 file(s) [Pipeline] } [2022-12-01T15:36:16.941Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-01T15:36:16.955Z] $ docker stop --time=1 7374208c0368c72f790be82586dbc13a46ee07d7baf7853dca3f33d32a26c795 [2022-12-01T15:36:18.451Z] $ docker rm -f 7374208c0368c72f790be82586dbc13a46ee07d7baf7853dca3f33d32a26c795 [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 [2022-12-01T15:36:18.803Z] provisioning config files... [2022-12-01T15:36:18.810Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config17017057268191124587tmp [Pipeline] { [Pipeline] sh [2022-12-01T15:36:19.100Z] + set +x [2022-12-01T15:36:19.100Z] + curl -s https://codecov.io/bash [2022-12-01T15:36:19.100Z] + bash -s -- [2022-12-01T15:36:19.100Z] [2022-12-01T15:36:19.100Z] _____ _ [2022-12-01T15:36:19.100Z] / ____| | | [2022-12-01T15:36:19.100Z] | | ___ __| | ___ ___ _____ __ [2022-12-01T15:36:19.100Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-01T15:36:19.100Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-01T15:36:19.100Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-01T15:36:19.100Z] Bash-1.0.6 [2022-12-01T15:36:19.100Z] [2022-12-01T15:36:19.100Z] [2022-12-01T15:36:19.100Z] ==> git version 2.25.1 found [2022-12-01T15:36:19.100Z] ==> 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 [2022-12-01T15:36:19.100Z] Release-Date: 2020-01-08 [2022-12-01T15:36:19.100Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-01T15:36:19.100Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-01T15:36:19.100Z] ==> Jenkins CI detected. [2022-12-01T15:36:19.100Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-115 [2022-12-01T15:36:19.100Z] project root: . [2022-12-01T15:36:19.100Z] --> token set from env [2022-12-01T15:36:19.100Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-01T15:36:19.100Z] ==> Running gcov in . (disable via -X gcov) [2022-12-01T15:36:19.100Z] ==> Python coveragepy not found [2022-12-01T15:36:19.100Z] ==> Searching for coverage reports in: [2022-12-01T15:36:19.100Z] + . [2022-12-01T15:36:19.100Z] -> Found 1 reports [2022-12-01T15:36:19.100Z] ==> Detecting git/mercurial file structure [2022-12-01T15:36:19.359Z] ==> Reading reports [2022-12-01T15:36:19.359Z] + ./coverage.out bytes=30072 [2022-12-01T15:36:19.359Z] ==> Appending adjustments [2022-12-01T15:36:19.359Z] https://docs.codecov.io/docs/fixing-reports [2022-12-01T15:36:19.359Z] + Found adjustments [2022-12-01T15:36:19.359Z] ==> Gzipping contents [2022-12-01T15:36:19.359Z] 8.0K /tmp/codecov.AVJHKm.gz [2022-12-01T15:36:19.359Z] ==> Uploading reports [2022-12-01T15:36:19.359Z] url: https://codecov.io [2022-12-01T15:36:19.359Z] query: branch=PR-115&commit=1326a76a2b9079442c62ed19fd08dc9f2991b392&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-12-01T15:36:19.359Z] -> Pinging Codecov [2022-12-01T15:36:19.359Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-115&commit=1326a76a2b9079442c62ed19fd08dc9f2991b392&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-12-01T15:36:19.619Z] -> Uploading to [2022-12-01T15:36:19.619Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-01/73D8F5FF140700D3E01443B452E23636/1326a76a2b9079442c62ed19fd08dc9f2991b392/267677ff-3b20-454d-b613-f6ab4d60f354.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221201T153619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=843ab3883c5f4b546cf64d9346ff4a7db6ddaaf4753050848074d46727bfb878 [2022-12-01T15:36:19.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T15:36:19.619Z] Dload Upload Total Spent Left Speed [2022-12-01T15:36:19.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4258 0 0 100 4258 0 17966 --:--:-- --:--:-- --:--:-- 17966 [2022-12-01T15:36:19.879Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1326a76a2b9079442c62ed19fd08dc9f2991b392 [Pipeline] } [2022-12-01T15:36:19.886Z] 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 [2022-12-01T15:36:20.535Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-115/archives ] [2022-12-01T15:36:20.535Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-12-01T15:36:20.535Z] total 16 [2022-12-01T15:36:20.535Z] drwxr-xr-x 3 root root 4096 Dec 1 15:28 . [2022-12-01T15:36:20.535Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 1 15:28 .. [2022-12-01T15:36:20.535Z] drwxr-xr-x 2 root root 4096 Dec 1 15:28 cost [2022-12-01T15:36:20.535Z] -rw-r--r-- 1 root root 90 Dec 1 15:28 cost.csv [2022-12-01T15:36:20.535Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-12-01T15:36:20.535Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-12-01T15:36:20.535Z] total 16 [2022-12-01T15:36:20.535Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 1 15:28 . [2022-12-01T15:36:20.535Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 1 15:28 .. [2022-12-01T15:36:20.535Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 1 15:28 cost [2022-12-01T15:36:20.535Z] -rw-r--r-- 1 jenkins jenkins 90 Dec 1 15:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:36:20.832Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:36:21.692Z] ---> package-listing.sh [2022-12-01T15:36:21.692Z] ++ facter osfamily [2022-12-01T15:36:21.692Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-01T15:36:21.952Z] + OS_FAMILY=debian [2022-12-01T15:36:21.952Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-115 [2022-12-01T15:36:21.952Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-01T15:36:21.952Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-01T15:36:21.952Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-01T15:36:21.952Z] + PACKAGES=/tmp/packages_start.txt [2022-12-01T15:36:21.952Z] + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' [2022-12-01T15:36:21.952Z] + PACKAGES=/tmp/packages_end.txt [2022-12-01T15:36:21.952Z] + case "${OS_FAMILY}" in [2022-12-01T15:36:21.952Z] + dpkg -l [2022-12-01T15:36:21.952Z] + grep '^ii' [2022-12-01T15:36:21.952Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-01T15:36:21.952Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-01T15:36:21.952Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-01T15:36:21.952Z] + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' [2022-12-01T15:36:21.952Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-115/archives/ [2022-12-01T15:36:21.952Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-115/archives/ [Pipeline] echo [2022-12-01T15:36:21.963Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-01T15:36:22.244Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T15:36:22.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-01T15:36:22.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T15:36:22.863Z] prd-ubuntu20.04-docker-8c-8g-120353 does not seem to be running inside a container [2022-12-01T15:36:22.907Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-01T15:36:23.136Z] $ docker top db9ff11a31e936adce2790d39df63a613efb9572ad7e05a46e0ab4c00758d0e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T15:36:23.481Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-01T15:36:23.767Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-01T15:36:24.060Z] + ls /var/log/sa-host [2022-12-01T15:36:24.060Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-01T15:36:24.197Z] provisioning config files... [2022-12-01T15:36:24.206Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config6539639651879191302tmp [Pipeline] { [Pipeline] echo [2022-12-01T15:36:24.220Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:36:24.502Z] ---> create-netrc.sh [Pipeline] } [2022-12-01T15:36:24.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:36:24.828Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-01T15:36:24.836Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:36:25.126Z] ---> sudo-logs.sh [2022-12-01T15:36:25.126Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-01T15:36:25.156Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:36:25.438Z] ---> job-cost.sh [2022-12-01T15:36:25.438Z] lf-activate-venv: SKIPPING [2022-12-01T15:36:25.438Z] DEBUG: total: 0.2199999988079071 [2022-12-01T15:36:25.438Z] INFO: Retrieving Stack Cost... [2022-12-01T15:36:26.006Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-01T15:36:26.265Z] INFO: Archiving Costs [Pipeline] echo [2022-12-01T15:36:26.276Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T15:36:26.560Z] ---> logs-deploy.sh [2022-12-01T15:36:26.560Z] lf-activate-venv: SKIPPING [2022-12-01T15:36:26.560Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-115/19 [2022-12-01T15:36:26.560Z] INFO: archiving workspace using pattern(s): [2022-12-01T15:36:27.496Z] Archives upload complete. [2022-12-01T15:36:27.496Z] INFO: archiving logs to Nexus