Pull request #102 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8+e6cf2f2f80d14c6ff357eccb58ac1fd20041715b (35d4ffad289b585b4e8df29929dc77519630492e) 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-ssh10661057918952185237.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh675512237288725750.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11096794279990521616.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7350939899438971815.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5961778523470462083.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-102/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-102/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5827897710622603685.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7540’ Running on prd-ubuntu20.04-docker-8c-8g-7548 in /w/workspace/foundry_device-usb-camera_PR-102 [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-102 # 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 Merging remotes/origin/main commit e6cf2f2f80d14c6ff357eccb58ac1fd20041715b into PR head commit 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 Merge succeeded, producing 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 Checking out Revision 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 (PR-102) > 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/102/head:refs/remotes/origin/PR-102 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 # 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 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T17:33:37.405Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T17:33:37.573Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T17:33:37.673Z] ========================================================= [2022-10-10T17:33:37.673Z] EdgeX Global Pipelines Version Info [2022-10-10T17:33:37.673Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:33:38.430Z] ------------------- [2022-10-10T17:33:38.430Z] stable info: [2022-10-10T17:33:38.430Z] ------------------- [2022-10-10T17:33:38.430Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T17:33:38.430Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T17:33:38.430Z] Message: update stable to v1.0.239 [2022-10-10T17:33:39.001Z] ------------------- [2022-10-10T17:33:39.001Z] experimental info: [2022-10-10T17:33:39.001Z] ------------------- [2022-10-10T17:33:39.001Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T17:33:39.001Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T17:33:39.001Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T17:33:39.273Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-10-10T17:33:39.307Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-10-10T17:33:39.339Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T17:33:39.380Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T17:33:39.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T17:33:39.452Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T17:33:39.495Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T17:33:39.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T17:33:39.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T17:33:39.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T17:33:39.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T17:33:39.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-10-10T17:33:39.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T17:33:39.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T17:33:39.824Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T17:33:39.863Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T17:33:39.902Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T17:33:39.945Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T17:33:39.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T17:33:40.022Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T17:33:40.067Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T17:33:40.105Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T17:33:40.141Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T17:33:40.183Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T17:33:40.223Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T17:33:40.260Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T17:33:40.295Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T17:33:40.331Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-102 [Pipeline] echo [2022-10-10T17:33:40.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-102 [Pipeline] echo [2022-10-10T17:33:40.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-102 [Pipeline] echo [2022-10-10T17:33:40.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] echo [2022-10-10T17:33:40.475Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b7a325 [Pipeline] echo [2022-10-10T17:33:40.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T17:33:40.622Z] provisioning config files... [2022-10-10T17:33:40.637Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-102@tmp/config10958805998238682244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:33:40.977Z] ---> docker-login.sh [2022-10-10T17:33:40.977Z] nexus3.edgexfoundry.org:10001 [2022-10-10T17:33:41.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:41.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:41.238Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:41.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:41.238Z] [2022-10-10T17:33:41.238Z] Login Succeeded [2022-10-10T17:33:41.238Z] nexus3.edgexfoundry.org:10002 [2022-10-10T17:33:41.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:41.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:41.238Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:41.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:41.238Z] [2022-10-10T17:33:41.238Z] Login Succeeded [2022-10-10T17:33:41.238Z] nexus3.edgexfoundry.org:10003 [2022-10-10T17:33:41.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:41.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:41.498Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:41.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:41.498Z] [2022-10-10T17:33:41.498Z] Login Succeeded [2022-10-10T17:33:41.498Z] nexus3.edgexfoundry.org:10004 [2022-10-10T17:33:41.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:41.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:41.498Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:41.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:41.498Z] [2022-10-10T17:33:41.498Z] Login Succeeded [2022-10-10T17:33:41.498Z] docker.io [2022-10-10T17:33:41.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:42.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:42.018Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:42.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:42.018Z] [2022-10-10T17:33:42.018Z] Login Succeeded [2022-10-10T17:33:42.018Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T17:33:42.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T17:33:42.673Z] + git rev-list -1 --merges 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8~1..8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] echo [2022-10-10T17:33:42.719Z] -----------> git rev-list -1 --merges 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8~1..8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [false] [Pipeline] sh [2022-10-10T17:33:43.027Z] + git log --format=format:%s -1 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] echo [2022-10-10T17:33:43.065Z] ========================================================= [2022-10-10T17:33:43.065Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T17:33:43.065Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T17:33:43.473Z] + git log --format=format:%s -1 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] echo [2022-10-10T17:33:43.502Z] [semverPrep] GIT_COMMIT: 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-10T17:33:43.528Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T17:33:43.907Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T17:33:43.907Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T17:33:43.907Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T17:33:43.907Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T17:33:43.907Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T17:33:43.907Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T17:33:43.907Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:33:44.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T17:33:44.336Z] [2022-10-10T17:33:44.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:33:44.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T17:33:44.713Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T17:33:44.713Z] b85a868b505f: Pulling fs layer [2022-10-10T17:33:44.713Z] e2be974225ed: Pulling fs layer [2022-10-10T17:33:44.713Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T17:33:44.713Z] 988bab9f4d93: Pulling fs layer [2022-10-10T17:33:44.713Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T17:33:44.713Z] eaf3925da568: Pulling fs layer [2022-10-10T17:33:44.713Z] bab4dde63d76: Pulling fs layer [2022-10-10T17:33:44.713Z] bde34c3a00c8: Pulling fs layer [2022-10-10T17:33:44.713Z] b352a97aabf1: Pulling fs layer [2022-10-10T17:33:44.713Z] 4872d77fe225: Pulling fs layer [2022-10-10T17:33:44.713Z] 5851b861e8e6: Pulling fs layer [2022-10-10T17:33:44.713Z] 988bab9f4d93: Waiting [2022-10-10T17:33:44.713Z] 1469e6f7b9e6: Waiting [2022-10-10T17:33:44.713Z] eaf3925da568: Waiting [2022-10-10T17:33:44.713Z] bab4dde63d76: Waiting [2022-10-10T17:33:44.713Z] bde34c3a00c8: Waiting [2022-10-10T17:33:44.713Z] b352a97aabf1: Waiting [2022-10-10T17:33:44.713Z] 4872d77fe225: Waiting [2022-10-10T17:33:44.713Z] 5851b861e8e6: Waiting [2022-10-10T17:33:44.713Z] e2be974225ed: Verifying Checksum [2022-10-10T17:33:44.713Z] e2be974225ed: Download complete [2022-10-10T17:33:44.713Z] 988bab9f4d93: Verifying Checksum [2022-10-10T17:33:44.713Z] 988bab9f4d93: Download complete [2022-10-10T17:33:44.972Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T17:33:44.972Z] 1469e6f7b9e6: Download complete [2022-10-10T17:33:44.972Z] eaf3925da568: Verifying Checksum [2022-10-10T17:33:44.972Z] eaf3925da568: Download complete [2022-10-10T17:33:44.972Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T17:33:44.972Z] 339a4e72a1f5: Download complete [2022-10-10T17:33:44.972Z] bde34c3a00c8: Download complete [2022-10-10T17:33:44.972Z] b352a97aabf1: Verifying Checksum [2022-10-10T17:33:44.972Z] b352a97aabf1: Download complete [2022-10-10T17:33:44.972Z] 4872d77fe225: Verifying Checksum [2022-10-10T17:33:44.972Z] 4872d77fe225: Download complete [2022-10-10T17:33:44.972Z] 5851b861e8e6: Verifying Checksum [2022-10-10T17:33:44.972Z] 5851b861e8e6: Download complete [2022-10-10T17:33:44.972Z] b85a868b505f: Verifying Checksum [2022-10-10T17:33:44.972Z] b85a868b505f: Download complete [2022-10-10T17:33:45.231Z] bab4dde63d76: Verifying Checksum [2022-10-10T17:33:45.231Z] bab4dde63d76: Download complete [2022-10-10T17:33:46.164Z] b85a868b505f: Pull complete [2022-10-10T17:33:46.422Z] e2be974225ed: Pull complete [2022-10-10T17:33:46.994Z] 339a4e72a1f5: Pull complete [2022-10-10T17:33:46.994Z] 988bab9f4d93: Pull complete [2022-10-10T17:33:47.252Z] 1469e6f7b9e6: Pull complete [2022-10-10T17:33:47.252Z] eaf3925da568: Pull complete [2022-10-10T17:33:49.153Z] bab4dde63d76: Pull complete [2022-10-10T17:33:49.153Z] bde34c3a00c8: Pull complete [2022-10-10T17:33:49.153Z] b352a97aabf1: Pull complete [2022-10-10T17:33:49.153Z] 4872d77fe225: Pull complete [2022-10-10T17:33:49.153Z] 5851b861e8e6: Pull complete [2022-10-10T17:33:49.413Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T17:33:49.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T17:33:49.413Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T17:33:49.641Z] prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container [2022-10-10T17:33:49.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T17:33:51.565Z] $ docker top e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a -eo pid,comm [2022-10-10T17:33:51.616Z] 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-10-10T17:33:51.616Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T17:33:51.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T17:33:51.741Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T17:33:51.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T17:33:51.847Z] $ docker exec e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a ssh-agent [2022-10-10T17:33:51.961Z] SSH_AUTH_SOCK=/tmp/ssh-lAcNU5c4F3oB/agent.31 [2022-10-10T17:33:51.961Z] SSH_AGENT_PID=37 [2022-10-10T17:33:51.968Z] Running ssh-add (command line suppressed) [2022-10-10T17:33:52.064Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-102@tmp/private_key_13333768873564448009.key (/w/workspace/foundry_device-usb-camera_PR-102@tmp/private_key_13333768873564448009.key) [2022-10-10T17:33:52.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T17:33:52.412Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T17:33:52.438Z] $ docker exec --env ******** --env ******** e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a ssh-agent -k [2022-10-10T17:33:52.545Z] unset SSH_AUTH_SOCK; [2022-10-10T17:33:52.546Z] unset SSH_AGENT_PID; [2022-10-10T17:33:52.546Z] echo Agent pid 37 killed; [2022-10-10T17:33:52.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T17:33:52.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T17:33:52.650Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T17:33:52.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T17:33:52.763Z] $ docker exec e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a ssh-agent [2022-10-10T17:33:52.878Z] SSH_AUTH_SOCK=/tmp/ssh-Uba5dAKeHV4q/agent.70 [2022-10-10T17:33:52.878Z] SSH_AGENT_PID=76 [2022-10-10T17:33:52.882Z] Running ssh-add (command line suppressed) [2022-10-10T17:33:52.982Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-102@tmp/private_key_2480374505717484064.key (/w/workspace/foundry_device-usb-camera_PR-102@tmp/private_key_2480374505717484064.key) [2022-10-10T17:33:52.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T17:33:53.337Z] + git semver init [2022-10-10T17:33:53.598Z] 2022-10-10 17:33:53,505 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T17:33:53.598Z] 2022-10-10 17:33:53,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-102/.semver [2022-10-10T17:33:53.598Z] 2022-10-10 17:33:53,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-102/.semver [2022-10-10T17:33:53.598Z] 2022-10-10 17:33:53,506 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-102/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-102, universal_newlines=False, shell=None, istream=None) [2022-10-10T17:33:54.536Z] 2022-10-10 17:33:54,271 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-102/.git/info/exclude [2022-10-10T17:33:54.536Z] 2022-10-10 17:33:54,272 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-102/.semver/PR-102 with force:False [2022-10-10T17:33:54.536Z] 2022-10-10 17:33:54,272 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-102/.semver/PR-102 [2022-10-10T17:33:54.536Z] 2022-10-10 17:33:54,276 [execute] INFO git cat-file --batch-check [2022-10-10T17:33:54.536Z] 2022-10-10 17:33:54,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-102/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T17:33:54.536Z] 2022-10-10 17:33:54,283 [execute] INFO git cat-file --batch [2022-10-10T17:33:54.536Z] 2022-10-10 17:33:54,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-102/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T17:33:54.536Z] 2022-10-10 17:33:54,289 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-102/.semver/PR-102 [2022-10-10T17:33:54.536Z] 0.0.0 [Pipeline] } [2022-10-10T17:33:54.561Z] $ docker exec --env ******** --env ******** e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a ssh-agent -k [2022-10-10T17:33:54.658Z] unset SSH_AUTH_SOCK; [2022-10-10T17:33:54.659Z] unset SSH_AGENT_PID; [2022-10-10T17:33:54.659Z] echo Agent pid 76 killed; [2022-10-10T17:33:54.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T17:33:55.103Z] + git semver [Pipeline] } [2022-10-10T17:33:55.382Z] $ docker stop --time=1 e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a [2022-10-10T17:33:56.653Z] $ docker rm -f e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T17:33:57.048Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T17:33:57.269Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T17:33:57.287Z] [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-10-10T17:33:57.873Z] provisioning config files... [2022-10-10T17:33:57.882Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-102@tmp/config7675415958687209123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:33:58.239Z] ---> docker-login.sh [2022-10-10T17:33:58.239Z] nexus3.edgexfoundry.org:10001 [2022-10-10T17:33:58.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:58.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:58.239Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:58.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:58.239Z] [2022-10-10T17:33:58.239Z] Login Succeeded [2022-10-10T17:33:58.239Z] nexus3.edgexfoundry.org:10002 [2022-10-10T17:33:58.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:58.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:58.239Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:58.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:58.239Z] [2022-10-10T17:33:58.239Z] Login Succeeded [2022-10-10T17:33:58.239Z] nexus3.edgexfoundry.org:10003 [2022-10-10T17:33:58.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:58.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:58.503Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:58.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:58.503Z] [2022-10-10T17:33:58.503Z] Login Succeeded [2022-10-10T17:33:58.503Z] nexus3.edgexfoundry.org:10004 [2022-10-10T17:33:58.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:58.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:58.503Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:58.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:58.503Z] [2022-10-10T17:33:58.503Z] Login Succeeded [2022-10-10T17:33:58.503Z] docker.io [2022-10-10T17:33:58.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:33:59.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:33:59.021Z] Configure a credential helper to remove this warning. See [2022-10-10T17:33:59.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:33:59.021Z] [2022-10-10T17:33:59.021Z] Login Succeeded [2022-10-10T17:33:59.021Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T17:33:59.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T17:33:59.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T17:33:59.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T17:33:59.295Z] ========================================================= [2022-10-10T17:33:59.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T17:33:59.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:33:59.742Z] + 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-10-10T17:33:59.742Z] Sending build context to Docker daemon 1.505MB [2022-10-10T17:33:59.742Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T17:33:59.742Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T17:33:59.742Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T17:33:59.742Z] 2408cc74d12b: Pulling fs layer [2022-10-10T17:33:59.742Z] ea60b727a1ce: Pulling fs layer [2022-10-10T17:33:59.742Z] 30c4a7721957: Pulling fs layer [2022-10-10T17:33:59.742Z] 370296b7ddb6: Pulling fs layer [2022-10-10T17:33:59.742Z] 7c6cee850709: Pulling fs layer [2022-10-10T17:33:59.742Z] aa9baa53a306: Pulling fs layer [2022-10-10T17:33:59.742Z] 8b309c321861: Pulling fs layer [2022-10-10T17:33:59.742Z] d8d76fd02f46: Pulling fs layer [2022-10-10T17:33:59.742Z] fa31f396de31: Pulling fs layer [2022-10-10T17:33:59.742Z] 370296b7ddb6: Waiting [2022-10-10T17:33:59.742Z] 7c6cee850709: Waiting [2022-10-10T17:33:59.742Z] aa9baa53a306: Waiting [2022-10-10T17:33:59.742Z] 8b309c321861: Waiting [2022-10-10T17:33:59.742Z] d8d76fd02f46: Waiting [2022-10-10T17:33:59.742Z] fa31f396de31: Waiting [2022-10-10T17:33:59.742Z] 30c4a7721957: Download complete [2022-10-10T17:33:59.742Z] ea60b727a1ce: Verifying Checksum [2022-10-10T17:33:59.742Z] ea60b727a1ce: Download complete [2022-10-10T17:33:59.742Z] 7c6cee850709: Verifying Checksum [2022-10-10T17:33:59.742Z] 7c6cee850709: Download complete [2022-10-10T17:33:59.742Z] aa9baa53a306: Verifying Checksum [2022-10-10T17:33:59.742Z] aa9baa53a306: Download complete [2022-10-10T17:34:00.004Z] 2408cc74d12b: Verifying Checksum [2022-10-10T17:34:00.004Z] 2408cc74d12b: Download complete [2022-10-10T17:34:00.004Z] 8b309c321861: Download complete [2022-10-10T17:34:00.004Z] 2408cc74d12b: Pull complete [2022-10-10T17:34:00.266Z] ea60b727a1ce: Pull complete [2022-10-10T17:34:00.266Z] 30c4a7721957: Pull complete [2022-10-10T17:34:00.525Z] fa31f396de31: Verifying Checksum [2022-10-10T17:34:00.525Z] fa31f396de31: Download complete [2022-10-10T17:34:00.525Z] d8d76fd02f46: Download complete [2022-10-10T17:34:00.525Z] 370296b7ddb6: Verifying Checksum [2022-10-10T17:34:00.525Z] 370296b7ddb6: Download complete [2022-10-10T17:34:04.709Z] 370296b7ddb6: Pull complete [2022-10-10T17:34:04.709Z] 7c6cee850709: Pull complete [2022-10-10T17:34:04.709Z] aa9baa53a306: Pull complete [2022-10-10T17:34:04.709Z] 8b309c321861: Pull complete [2022-10-10T17:34:07.239Z] d8d76fd02f46: Pull complete [2022-10-10T17:34:07.805Z] fa31f396de31: Pull complete [2022-10-10T17:34:07.805Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T17:34:07.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T17:34:07.805Z] ---> cef68f9685f8 [2022-10-10T17:34:07.805Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T17:34:11.110Z] ---> Running in 1471af318244 [2022-10-10T17:34:11.110Z] Removing intermediate container 1471af318244 [2022-10-10T17:34:11.110Z] ---> 02bce360cc70 [2022-10-10T17:34:11.110Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T17:34:11.110Z] ---> Running in 12e634015cde [2022-10-10T17:34:11.110Z] Removing intermediate container 12e634015cde [2022-10-10T17:34:11.110Z] ---> 82ea8e5be00a [2022-10-10T17:34:11.110Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-10T17:34:11.110Z] ---> Running in 42a72d635946 [2022-10-10T17:34:11.110Z] Removing intermediate container 42a72d635946 [2022-10-10T17:34:11.110Z] ---> 7bfa1039aaa1 [2022-10-10T17:34:11.110Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-10T17:34:11.110Z] ---> Running in 5ac4c99ff4d4 [2022-10-10T17:34:11.110Z] Removing intermediate container 5ac4c99ff4d4 [2022-10-10T17:34:11.110Z] ---> d8b0c175580e [2022-10-10T17:34:11.110Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T17:34:11.369Z] ---> Running in 03c34e038754 [2022-10-10T17:34:11.935Z] Removing intermediate container 03c34e038754 [2022-10-10T17:34:11.935Z] ---> 6d0d82f23901 [2022-10-10T17:34:11.935Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T17:34:11.935Z] ---> Running in 23542746ecd0 [2022-10-10T17:34:12.193Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T17:34:12.681Z] Still waiting to schedule task [2022-10-10T17:34:12.681Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-10T17:34:13.126Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T17:34:13.385Z] (1/80) Installing mesa (21.3.8-r2) [2022-10-10T17:34:13.385Z] (2/80) Installing libxau (1.0.9-r0) [2022-10-10T17:34:13.385Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-10-10T17:34:13.644Z] (4/80) Installing libxcb (1.15-r0) [2022-10-10T17:34:13.644Z] (5/80) Installing libx11 (1.8-r0) [2022-10-10T17:34:13.644Z] (6/80) Installing libxext (1.3.4-r0) [2022-10-10T17:34:13.901Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-10-10T17:34:13.901Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-10-10T17:34:13.901Z] (9/80) Installing libpciaccess (0.16-r0) [2022-10-10T17:34:14.159Z] (10/80) Installing libdrm (2.4.110-r0) [2022-10-10T17:34:14.159Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-10-10T17:34:14.421Z] (12/80) Installing libxshmfence (1.3-r1) [2022-10-10T17:34:14.421Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-10-10T17:34:14.421Z] (14/80) Installing icu-data-full (71.1-r2) [2022-10-10T17:34:15.358Z] (15/80) Installing libice (1.0.10-r0) [2022-10-10T17:34:15.358Z] (16/80) Installing libuuid (2.38-r1) [2022-10-10T17:34:15.358Z] (17/80) Installing libsm (1.2.3-r0) [2022-10-10T17:34:15.624Z] (18/80) Installing libxt (1.2.1-r0) [2022-10-10T17:34:15.624Z] (19/80) Installing libxmu (1.1.3-r0) [2022-10-10T17:34:15.624Z] (20/80) Installing xset (1.2.4-r0) [2022-10-10T17:34:15.886Z] (21/80) Installing xprop (1.2.5-r0) [2022-10-10T17:34:15.886Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-10-10T17:34:15.886Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-10-10T17:34:16.146Z] (24/80) Installing libffi (3.4.2-r1) [2022-10-10T17:34:16.146Z] (25/80) Installing libintl (0.21-r2) [2022-10-10T17:34:16.405Z] (26/80) Installing libblkid (2.38-r1) [2022-10-10T17:34:16.405Z] (27/80) Installing libmount (2.38-r1) [2022-10-10T17:34:16.405Z] (28/80) Installing pcre (8.45-r2) [2022-10-10T17:34:16.664Z] (29/80) Installing glib (2.72.1-r0) [2022-10-10T17:34:16.664Z] (30/80) Installing icu-libs (71.1-r2) [2022-10-10T17:34:16.922Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-10-10T17:34:16.922Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-10-10T17:34:16.922Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-10-10T17:34:17.490Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-10-10T17:34:17.490Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-10-10T17:34:17.490Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-10-10T17:34:17.748Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-10-10T17:34:17.748Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-10-10T17:34:18.004Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-10-10T17:34:18.262Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-10-10T17:34:18.262Z] (41/80) Installing libpng (1.6.37-r1) [2022-10-10T17:34:18.519Z] (42/80) Installing freetype (2.12.1-r0) [2022-10-10T17:34:18.520Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-10-10T17:34:18.520Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-10-10T17:34:18.776Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-10-10T17:34:18.776Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-10-10T17:34:18.776Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-10-10T17:34:19.034Z] (48/80) Installing libxml2 (2.9.14-r1) [2022-10-10T17:34:19.034Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-10-10T17:34:19.291Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-10-10T17:34:19.291Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-10-10T17:34:19.292Z] (52/80) Installing avahi-libs (0.8-r6) [2022-10-10T17:34:19.549Z] (53/80) Installing nettle (3.7.3-r0) [2022-10-10T17:34:19.549Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-10-10T17:34:19.806Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-10-10T17:34:19.806Z] (56/80) Installing libunistring (1.0-r0) [2022-10-10T17:34:19.806Z] (57/80) Installing gnutls (3.7.7-r0) [2022-10-10T17:34:20.064Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-10-10T17:34:20.064Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-10-10T17:34:20.064Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-10-10T17:34:20.322Z] (61/80) Installing libevdev (1.12.1-r0) [2022-10-10T17:34:20.322Z] (62/80) Installing mtdev (1.1.6-r0) [2022-10-10T17:34:20.322Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-10-10T17:34:20.580Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-10-10T17:34:20.580Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-10-10T17:34:20.838Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-10-10T17:34:20.838Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-10-10T17:34:20.838Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-10-10T17:34:21.095Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-10-10T17:34:21.095Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-10-10T17:34:21.096Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-10-10T17:34:21.379Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-10-10T17:34:21.946Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-10-10T17:34:21.946Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-10-10T17:34:21.946Z] (75/80) Installing udev-init-scripts (35-r0) [2022-10-10T17:34:22.204Z] Executing udev-init-scripts-35-r0.post-install [2022-10-10T17:34:22.204Z] (76/80) Installing kmod-libs (29-r2) [2022-10-10T17:34:22.204Z] (77/80) Installing eudev (3.2.11-r0) [2022-10-10T17:34:22.462Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-10-10T17:34:22.462Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-10-10T17:34:22.462Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-10-10T17:34:22.721Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T17:34:22.721Z] Executing eudev-3.2.11-r0.trigger [2022-10-10T17:34:22.721Z] OK: 330 MiB in 131 packages [2022-10-10T17:34:25.253Z] Removing intermediate container 23542746ecd0 [2022-10-10T17:34:25.253Z] ---> c68a00b74022 [2022-10-10T17:34:25.253Z] Step 9/14 : WORKDIR /device-usb-camera [2022-10-10T17:34:25.253Z] ---> Running in 5fcd774416f2 [2022-10-10T17:34:25.253Z] Removing intermediate container 5fcd774416f2 [2022-10-10T17:34:25.253Z] ---> b101319ec5be [2022-10-10T17:34:25.253Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-10T17:34:25.253Z] ---> a656faf12fef [2022-10-10T17:34:25.253Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T17:34:25.253Z] ---> Running in b4b861ca4541 [2022-10-10T17:34:47.192Z] Removing intermediate container b4b861ca4541 [2022-10-10T17:34:47.192Z] ---> 6adf73982477 [2022-10-10T17:34:47.192Z] Step 12/14 : COPY . . [2022-10-10T17:34:47.192Z] ---> 543f2404a2cd [2022-10-10T17:34:47.192Z] Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-10T17:34:47.192Z] ---> Running in 941a5026af0f [2022-10-10T17:34:47.192Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T17:34:47.192Z] Dload Upload Total Spent Left Speed [2022-10-10T17:34:47.192Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9102 0 --:--:-- --:--:-- --:--:-- 9155 [2022-10-10T17:34:47.192Z] Removing intermediate container 941a5026af0f [2022-10-10T17:34:47.192Z] ---> ffd80747d37f [2022-10-10T17:34:47.192Z] Step 14/14 : RUN ${MAKE} [2022-10-10T17:34:47.192Z] ---> Running in 1cf5c8c49d61 [2022-10-10T17:34:47.192Z] noop [2022-10-10T17:34:47.192Z] Removing intermediate container 1cf5c8c49d61 [2022-10-10T17:34:47.192Z] ---> 168083099991 [2022-10-10T17:34:47.192Z] Successfully built 168083099991 [2022-10-10T17:34:47.192Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:34:47.651Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T17:34:47.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T17:34:47.798Z] prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container [2022-10-10T17:34:47.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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 ******** ci-base-image-x86_64 cat [2022-10-10T17:34:48.187Z] $ docker top 6b0ecc4aba7a143bcf13996527502e4e89e61a805240fca530a92ce36438bacc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T17:34:48.574Z] + go version [2022-10-10T17:34:48.574Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T17:34:48.603Z] $ docker stop --time=1 6b0ecc4aba7a143bcf13996527502e4e89e61a805240fca530a92ce36438bacc [2022-10-10T17:34:49.872Z] $ docker rm -f 6b0ecc4aba7a143bcf13996527502e4e89e61a805240fca530a92ce36438bacc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:34:50.584Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T17:34:50.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T17:34:50.736Z] prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container [2022-10-10T17:34:50.773Z] $ 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-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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 ******** ci-base-image-x86_64 cat [2022-10-10T17:34:51.118Z] $ docker top 90c7c9f0940358a26fec5e0c5dcafd0627abbbe2a95979ef6bec1f6392377ec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T17:34:51.512Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-102 [Pipeline] fileExists [Pipeline] sh [2022-10-10T17:34:51.868Z] + make test [2022-10-10T17:34:51.868Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-10-10T17:34:52.126Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-10-10T17:35:02.285Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-10-10T17:35:03.227Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements [2022-10-10T17:35:11.337Z] 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-10-10T17:35:11.337Z] CGO_ENABLED=1 go vet ./... [2022-10-10T17:35:14.626Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T17:35:14.626Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T17:35:14.626Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T17:35:14.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T17:35:14.691Z] $ docker stop --time=1 90c7c9f0940358a26fec5e0c5dcafd0627abbbe2a95979ef6bec1f6392377ec2 [2022-10-10T17:35:16.858Z] $ docker rm -f 90c7c9f0940358a26fec5e0c5dcafd0627abbbe2a95979ef6bec1f6392377ec2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T17:35:17.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T17:35:17.441Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T17:35:18.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T17:35:18.343Z] + ls -al . [2022-10-10T17:35:18.343Z] total 196 [2022-10-10T17:35:18.343Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 17:34 . [2022-10-10T17:35:18.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:33 .. [2022-10-10T17:35:18.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 17:35 .git [2022-10-10T17:35:18.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:33 .github [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 10 17:33 .gitignore [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 17:33 .golangci.yml [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 10 17:33 .hadolint.yml [2022-10-10T17:35:18.343Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 17:33 .semver [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 9702 Oct 10 17:33 Attribution.txt [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 1206 Oct 10 17:33 CHANGELOG.md [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 2467 Oct 10 17:33 Dockerfile [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 17:33 GOVERNANCE.md [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 10 17:33 Jenkinsfile [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 17:33 LICENSE [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 2554 Oct 10 17:33 Makefile [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 17:33 OWNERS.md [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 5773 Oct 10 17:33 README.md [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 17:33 VERSION [2022-10-10T17:35:18.343Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 17:33 bin [2022-10-10T17:35:18.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:33 cmd [2022-10-10T17:35:18.343Z] -rw-r--r-- 1 jenkins jenkins 29387 Oct 10 17:35 coverage.out [2022-10-10T17:35:18.343Z] -rwxrwxr-x 1 jenkins jenkins 140 Oct 10 17:33 docker-entrypoint.sh [2022-10-10T17:35:18.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:33 docs [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 3633 Oct 10 17:33 go.mod [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 38103 Oct 10 17:33 go.sum [2022-10-10T17:35:18.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:33 internal [2022-10-10T17:35:18.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:33 snap [2022-10-10T17:35:18.343Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 10 17:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:35:18.726Z] + 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=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 --label arch=amd64 --label version=0.0.0 . [2022-10-10T17:35:18.726Z] Sending build context to Docker daemon 1.535MB [2022-10-10T17:35:18.726Z] Step 1/36 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T17:35:18.726Z] Step 2/36 : FROM ${BASE} AS builder [2022-10-10T17:35:18.726Z] ---> 168083099991 [2022-10-10T17:35:18.726Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2022-10-10T17:35:18.726Z] ---> Running in d87872131929 [2022-10-10T17:35:18.984Z] Removing intermediate container d87872131929 [2022-10-10T17:35:18.984Z] ---> 0d25fb21fc04 [2022-10-10T17:35:18.984Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T17:35:18.984Z] ---> Running in 3501b3a83247 [2022-10-10T17:35:18.984Z] Removing intermediate container 3501b3a83247 [2022-10-10T17:35:18.984Z] ---> b80b80093acf [2022-10-10T17:35:18.984Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-10T17:35:18.984Z] ---> Running in 7c26de9e9c57 [2022-10-10T17:35:18.984Z] Removing intermediate container 7c26de9e9c57 [2022-10-10T17:35:18.984Z] ---> 6892d18fe82a [2022-10-10T17:35:18.984Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-10T17:35:18.984Z] ---> Running in 962b1322e3ba [2022-10-10T17:35:19.242Z] Removing intermediate container 962b1322e3ba [2022-10-10T17:35:19.242Z] ---> 173560faf9b3 [2022-10-10T17:35:19.242Z] Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T17:35:19.242Z] ---> Running in 6e1bd5d0d979 [2022-10-10T17:35:19.812Z] Removing intermediate container 6e1bd5d0d979 [2022-10-10T17:35:19.812Z] ---> 34c82c41c2b1 [2022-10-10T17:35:19.812Z] Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T17:35:19.812Z] ---> Running in 1e43216d2494 [2022-10-10T17:35:20.071Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T17:35:21.016Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T17:35:21.276Z] OK: 330 MiB in 131 packages [2022-10-10T17:35:21.535Z] Removing intermediate container 1e43216d2494 [2022-10-10T17:35:21.535Z] ---> f470f66101f7 [2022-10-10T17:35:21.536Z] Step 9/36 : WORKDIR /device-usb-camera [2022-10-10T17:35:21.536Z] ---> Running in ab121b2c01cd [2022-10-10T17:35:21.794Z] Removing intermediate container ab121b2c01cd [2022-10-10T17:35:21.794Z] ---> 0e7538b316b8 [2022-10-10T17:35:21.794Z] Step 10/36 : COPY go.mod vendor* ./ [2022-10-10T17:35:21.794Z] ---> 72e24e65ec20 [2022-10-10T17:35:21.794Z] Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T17:35:21.794Z] ---> Running in 25e6345afdb5 [2022-10-10T17:35:22.729Z] Removing intermediate container 25e6345afdb5 [2022-10-10T17:35:22.729Z] ---> b18e628f1005 [2022-10-10T17:35:22.729Z] Step 12/36 : COPY . . [2022-10-10T17:35:22.729Z] ---> e7b3f9a1b323 [2022-10-10T17:35:22.729Z] Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-10T17:35:22.729Z] ---> Running in c6bca32eaba9 [2022-10-10T17:35:23.296Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T17:35:23.296Z] Dload Upload Total Spent Left Speed [2022-10-10T17:35:23.296Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062    0    0  42067     0 --:--:-- --:--:-- --:--:-- 42480 [2022-10-10T17:35:23.553Z] Removing intermediate container c6bca32eaba9 [2022-10-10T17:35:23.553Z] ---> 09c5c413a70f [2022-10-10T17:35:23.553Z] Step 14/36 : RUN ${MAKE} [2022-10-10T17:35:23.553Z] ---> Running in 74a06bab146f [2022-10-10T17:35:23.810Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-10-10T17:35:50.361Z] Removing intermediate container 74a06bab146f [2022-10-10T17:35:50.361Z] ---> 9296ec6aff3e [2022-10-10T17:35:50.361Z] Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-10-10T17:35:50.361Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-10-10T17:35:50.361Z] af6660deedbd: Pulling fs layer [2022-10-10T17:35:50.361Z] 97cd0a44c592: Pulling fs layer [2022-10-10T17:35:50.361Z] 97cd0a44c592: Verifying Checksum [2022-10-10T17:35:50.361Z] 97cd0a44c592: Download complete [2022-10-10T17:35:50.361Z] af6660deedbd: Verifying Checksum [2022-10-10T17:35:50.361Z] af6660deedbd: Download complete [2022-10-10T17:35:50.361Z] af6660deedbd: Pull complete [2022-10-10T17:35:50.361Z] 97cd0a44c592: Pull complete [2022-10-10T17:35:50.361Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-10-10T17:35:50.361Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-10-10T17:35:50.361Z] ---> fea57e182299 [2022-10-10T17:35:50.361Z] Step 16/36 : FROM alpine:3.16 [2022-10-10T17:35:50.361Z] 3.16: Pulling from library/alpine [2022-10-10T17:35:50.361Z] 213ec9aee27d: Pulling fs layer [2022-10-10T17:35:50.361Z] 213ec9aee27d: Verifying Checksum [2022-10-10T17:35:50.361Z] 213ec9aee27d: Download complete [2022-10-10T17:35:50.361Z] 213ec9aee27d: Pull complete [2022-10-10T17:35:50.361Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T17:35:50.361Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T17:35:50.361Z] ---> 9c6f07244728 [2022-10-10T17:35:50.361Z] Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-10T17:35:50.361Z] ---> Running in fb0e2292ab74 [2022-10-10T17:35:50.361Z] Removing intermediate container fb0e2292ab74 [2022-10-10T17:35:50.361Z] ---> 544fc4708032 [2022-10-10T17:35:50.361Z] Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-10-10T17:35:50.361Z] ---> Running in c5880e196649 [2022-10-10T17:35:50.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T17:35:50.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T17:35:50.361Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-10-10T17:35:50.361Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-10-10T17:35:50.361Z] (3/83) Installing libxau (1.0.9-r0) [2022-10-10T17:35:50.361Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-10-10T17:35:50.361Z] (5/83) Installing libxcb (1.15-r0) [2022-10-10T17:35:50.361Z] (6/83) Installing libx11 (1.8-r0) [2022-10-10T17:35:50.361Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-10-10T17:35:50.361Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-10-10T17:35:50.361Z] (9/83) Installing expat (2.4.9-r0) [2022-10-10T17:35:50.361Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-10-10T17:35:50.361Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-10-10T17:35:50.361Z] (12/83) Installing libpng (1.6.37-r1) [2022-10-10T17:35:50.361Z] (13/83) Installing freetype (2.12.1-r0) [2022-10-10T17:35:50.361Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-10-10T17:35:50.361Z] (15/83) Installing fribidi (1.0.12-r0) [2022-10-10T17:35:50.361Z] (16/83) Installing libffi (3.4.2-r1) [2022-10-10T17:35:50.361Z] (17/83) Installing libintl (0.21-r2) [2022-10-10T17:35:50.361Z] (18/83) Installing libblkid (2.38-r1) [2022-10-10T17:35:50.361Z] (19/83) Installing libmount (2.38-r1) [2022-10-10T17:35:50.361Z] (20/83) Installing pcre (8.45-r2) [2022-10-10T17:35:50.361Z] (21/83) Installing glib (2.72.1-r0) [2022-10-10T17:35:50.361Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-10-10T17:35:50.361Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-10-10T17:35:50.361Z] (24/83) Installing libass (0.16.0-r0) [2022-10-10T17:35:50.361Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-10-10T17:35:50.361Z] (26/83) Installing libpciaccess (0.16-r0) [2022-10-10T17:35:50.361Z] (27/83) Installing libdrm (2.4.110-r0) [2022-10-10T17:35:50.361Z] (28/83) Installing gmp (6.2.1-r2) [2022-10-10T17:35:50.361Z] (29/83) Installing nettle (3.7.3-r0) [2022-10-10T17:35:50.361Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-10-10T17:35:50.361Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-10-10T17:35:50.361Z] (32/83) Installing libunistring (1.0-r0) [2022-10-10T17:35:50.361Z] (33/83) Installing gnutls (3.7.7-r0) [2022-10-10T17:35:50.361Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-10T17:35:50.361Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-10T17:35:50.361Z] (36/83) Installing lame (3.100-r0) [2022-10-10T17:35:50.361Z] (37/83) Installing opus (1.3.1-r1) [2022-10-10T17:35:50.361Z] (38/83) Installing libasyncns (0.8-r1) [2022-10-10T17:35:50.361Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-10-10T17:35:50.361Z] (40/83) Installing libltdl (2.4.7-r0) [2022-10-10T17:35:50.361Z] (41/83) Installing orc (0.4.32-r0) [2022-10-10T17:35:50.361Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T17:35:50.361Z] (43/83) Installing libogg (1.3.5-r1) [2022-10-10T17:35:50.361Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T17:35:50.361Z] (45/83) Installing flac (1.3.4-r0) [2022-10-10T17:35:50.361Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-10-10T17:35:50.361Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-10-10T17:35:50.361Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-10-10T17:35:50.361Z] (49/83) Installing soxr (0.1.3-r2) [2022-10-10T17:35:50.361Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-10-10T17:35:50.361Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-10-10T17:35:50.361Z] (52/83) Installing libpulse (15.0-r2) [2022-10-10T17:35:50.361Z] (53/83) Installing cjson (1.7.15-r3) [2022-10-10T17:35:50.361Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-10-10T17:35:50.361Z] (55/83) Installing librist (0.2.6-r1) [2022-10-10T17:35:50.361Z] (56/83) Installing libsrt (1.4.4-r0) [2022-10-10T17:35:50.361Z] (57/83) Installing libssh (0.9.6-r1) [2022-10-10T17:35:50.362Z] (58/83) Installing libtheora (1.1.1-r16) [2022-10-10T17:35:50.362Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-10-10T17:35:50.619Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-10-10T17:35:50.619Z] (61/83) Installing libxext (1.3.4-r0) [2022-10-10T17:35:50.619Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-10-10T17:35:50.619Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-10-10T17:35:50.619Z] (64/83) Installing libva (2.14.0-r0) [2022-10-10T17:35:50.619Z] (65/83) Installing libvdpau (1.5-r0) [2022-10-10T17:35:50.619Z] (66/83) Installing vidstab (1.1.0-r1) [2022-10-10T17:35:50.619Z] (67/83) Installing libvpx (1.11.0-r1) [2022-10-10T17:35:50.619Z] (68/83) Installing libwebp (1.2.3-r0) [2022-10-10T17:35:50.619Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-10-10T17:35:50.619Z] (70/83) Installing numactl (2.0.14-r0) [2022-10-10T17:35:50.619Z] (71/83) Installing x265-libs (3.5-r3) [2022-10-10T17:35:50.619Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-10-10T17:35:50.879Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-10-10T17:35:50.879Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-10-10T17:35:50.879Z] (75/83) Installing udev-init-scripts (35-r0) [2022-10-10T17:35:50.879Z] Executing udev-init-scripts-35-r0.post-install [2022-10-10T17:35:50.879Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-10-10T17:35:50.879Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-10-10T17:35:50.879Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-10-10T17:35:50.879Z] (79/83) Installing kmod-libs (29-r2) [2022-10-10T17:35:50.879Z] (80/83) Installing eudev (3.2.11-r0) [2022-10-10T17:35:50.879Z] (81/83) Installing libsodium (1.0.18-r0) [2022-10-10T17:35:50.879Z] (82/83) Installing libzmq (4.3.4-r0) [2022-10-10T17:35:50.879Z] (83/83) Installing zeromq (4.3.4-r0) [2022-10-10T17:35:50.879Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T17:35:50.879Z] Executing eudev-3.2.11-r0.trigger [2022-10-10T17:35:50.879Z] OK: 101 MiB in 97 packages [2022-10-10T17:35:53.421Z] Removing intermediate container c5880e196649 [2022-10-10T17:35:53.421Z] ---> 37d81018d16c [2022-10-10T17:35:53.421Z] Step 19/36 : WORKDIR / [2022-10-10T17:35:53.421Z] ---> Running in 900987e7f9fa [2022-10-10T17:35:53.421Z] Removing intermediate container 900987e7f9fa [2022-10-10T17:35:53.421Z] ---> a989c6b08b24 [2022-10-10T17:35:53.421Z] Step 20/36 : COPY --from=builder /device-usb-camera/cmd / [2022-10-10T17:35:53.988Z] ---> 7efa9d84d2bf [2022-10-10T17:35:53.988Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / [2022-10-10T17:35:53.988Z] ---> 8fed9378f577 [2022-10-10T17:35:53.988Z] Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-10-10T17:35:54.245Z] ---> 9a727232bac2 [2022-10-10T17:35:54.245Z] Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-10-10T17:35:54.245Z] ---> 090c9e2ab362 [2022-10-10T17:35:54.245Z] Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-10-10T17:35:54.502Z] ---> 703f919232c0 [2022-10-10T17:35:54.502Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-10-10T17:35:54.502Z] ---> 76511a97bbe4 [2022-10-10T17:35:54.502Z] Step 26/36 : COPY --from=rtsp /rtsp-simple-server / [2022-10-10T17:35:55.070Z] ---> e51218d00487 [2022-10-10T17:35:55.070Z] Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-10-10T17:35:55.070Z] ---> Running in 9e3dd746c689 [2022-10-10T17:35:55.637Z] Removing intermediate container 9e3dd746c689 [2022-10-10T17:35:55.637Z] ---> ed33dcdbc039 [2022-10-10T17:35:55.637Z] Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-10-10T17:35:55.637Z] ---> Running in 59bae40a122d [2022-10-10T17:35:56.203Z] Removing intermediate container 59bae40a122d [2022-10-10T17:35:56.203Z] ---> 2f39304c00f5 [2022-10-10T17:35:56.203Z] Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-10-10T17:35:56.203Z] ---> Running in 36b48d1615fb [2022-10-10T17:35:56.769Z] Removing intermediate container 36b48d1615fb [2022-10-10T17:35:56.769Z] ---> 66d79225ab9c [2022-10-10T17:35:56.769Z] Step 30/36 : EXPOSE 59983 [2022-10-10T17:35:56.769Z] ---> Running in 6e9a5aa344a2 [2022-10-10T17:35:57.028Z] Removing intermediate container 6e9a5aa344a2 [2022-10-10T17:35:57.028Z] ---> 42fdd90a8f59 [2022-10-10T17:35:57.028Z] Step 31/36 : EXPOSE 8554 [2022-10-10T17:35:57.028Z] ---> Running in f6667564803b [2022-10-10T17:35:57.028Z] Removing intermediate container f6667564803b [2022-10-10T17:35:57.028Z] ---> 8b005bbfb57a [2022-10-10T17:35:57.028Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-10-10T17:35:57.028Z] ---> Running in d2465fca63b7 [2022-10-10T17:35:57.028Z] Removing intermediate container d2465fca63b7 [2022-10-10T17:35:57.028Z] ---> 9fa464ef9d6b [2022-10-10T17:35:57.028Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-10-10T17:35:57.028Z] ---> Running in a08be0c0ad2b [2022-10-10T17:35:57.287Z] Removing intermediate container a08be0c0ad2b [2022-10-10T17:35:57.287Z] ---> bb03294c6f58 [2022-10-10T17:35:57.287Z] Step 34/36 : LABEL arch=amd64 [2022-10-10T17:35:57.287Z] ---> Running in b7bbbd375b93 [2022-10-10T17:35:57.287Z] Removing intermediate container b7bbbd375b93 [2022-10-10T17:35:57.287Z] ---> 46ad68f5c376 [2022-10-10T17:35:57.287Z] Step 35/36 : LABEL git_sha=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [2022-10-10T17:35:57.287Z] ---> Running in ff32afabad91 [2022-10-10T17:35:57.546Z] Removing intermediate container ff32afabad91 [2022-10-10T17:35:57.546Z] ---> dff6a35c310c [2022-10-10T17:35:57.546Z] Step 36/36 : LABEL version=0.0.0 [2022-10-10T17:35:57.546Z] ---> Running in 6b9daae57bb3 [2022-10-10T17:35:57.546Z] Removing intermediate container 6b9daae57bb3 [2022-10-10T17:35:57.546Z] ---> 3846b2d1d9c4 [2022-10-10T17:35:57.546Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T17:35:57.546Z] Successfully built 3846b2d1d9c4 [2022-10-10T17:35:57.546Z] 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-10-10T17:35:58.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T17:35:58.396Z] [2022-10-10T17:35:58.396Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:35:58.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T17:35:58.769Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T17:35:58.769Z] 5eb5b503b376: Pulling fs layer [2022-10-10T17:35:58.769Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T17:35:58.769Z] ec43610c2a17: Pulling fs layer [2022-10-10T17:35:58.769Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T17:35:58.769Z] 33b1e0a273af: Pulling fs layer [2022-10-10T17:35:58.769Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T17:35:58.770Z] 2f39f015ded8: Pulling fs layer [2022-10-10T17:35:58.770Z] 33b1e0a273af: Waiting [2022-10-10T17:35:58.770Z] 3a2ae6a8a46f: Waiting [2022-10-10T17:35:58.770Z] 5d3b04190fa2: Waiting [2022-10-10T17:35:58.770Z] 2f39f015ded8: Waiting [2022-10-10T17:35:58.770Z] 5c69ac0246d0: Download complete [2022-10-10T17:35:58.770Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T17:35:58.770Z] 3a2ae6a8a46f: Download complete [2022-10-10T17:35:58.770Z] 33b1e0a273af: Verifying Checksum [2022-10-10T17:35:58.770Z] 33b1e0a273af: Download complete [2022-10-10T17:35:58.770Z] 5d3b04190fa2: Download complete [2022-10-10T17:35:58.770Z] ec43610c2a17: Verifying Checksum [2022-10-10T17:35:58.770Z] ec43610c2a17: Download complete [2022-10-10T17:35:59.032Z] 5eb5b503b376: Verifying Checksum [2022-10-10T17:35:59.032Z] 5eb5b503b376: Download complete [2022-10-10T17:35:59.601Z] 2f39f015ded8: Download complete [2022-10-10T17:36:00.168Z] 5eb5b503b376: Pull complete [2022-10-10T17:36:00.168Z] 5c69ac0246d0: Pull complete [2022-10-10T17:36:00.737Z] ec43610c2a17: Pull complete [2022-10-10T17:36:00.737Z] 3a2ae6a8a46f: Pull complete [2022-10-10T17:36:00.997Z] 33b1e0a273af: Pull complete [2022-10-10T17:36:01.257Z] 5d3b04190fa2: Pull complete [2022-10-10T17:36:05.458Z] 2f39f015ded8: Pull complete [2022-10-10T17:36:05.458Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T17:36:05.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T17:36:05.458Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T17:36:05.709Z] prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container [2022-10-10T17:36:05.739Z] $ 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-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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-lftools-log-publisher:latest cat [2022-10-10T17:36:08.733Z] $ docker top 269dbb9860fab08195af4287f6b651d8f174b8595c35e2d2c1fde4c1b1e9d498 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:36:09.173Z] ---> job-cost.sh [2022-10-10T17:36:09.173Z] lf-activate-venv: SKIPPING [2022-10-10T17:36:09.173Z] INFO: No Stack... [2022-10-10T17:36:09.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T17:36:09.689Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T17:36:10.251Z] + cat /w/workspace/foundry_device-usb-camera_PR-102/archives/cost.csv [2022-10-10T17:36:10.251Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T17:36:10.294Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [2022-10-10T17:36:10.300Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] did not exist. Created. [2022-10-10T17:36:10.300Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T17:36:10.689Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T17:36:10.739Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T17:36:10.776Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T17:36:10.848Z] $ docker stop --time=1 269dbb9860fab08195af4287f6b651d8f174b8595c35e2d2c1fde4c1b1e9d498 [2022-10-10T17:36:12.010Z] $ docker rm -f 269dbb9860fab08195af4287f6b651d8f174b8595c35e2d2c1fde4c1b1e9d498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T17:36:23.997Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7551 in /w/workspace/foundry_device-usb-camera_PR-102 [Pipeline] { [Pipeline] ws [2022-10-10T17:36:24.036Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-10T17:36:24.106Z] Selected Git installation does not exist. Using Default [2022-10-10T17:36:24.106Z] The recommended git tool is: NONE [2022-10-10T17:36:28.788Z] using credential edgex-jenkins-ssh [2022-10-10T17:36:28.809Z] Cloning the remote Git repository [2022-10-10T17:36:28.853Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-10-10T17:36:28.925Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-10-10T17:36:29.868Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-10-10T17:36:29.869Z] > git --version # timeout=10 [2022-10-10T17:36:29.888Z] > git --version # 'git version 2.25.1' [2022-10-10T17:36:29.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T17:36:29.938Z] Verifying host key using known hosts file [2022-10-10T17:36:30.120Z] 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-10-10T17:36:30.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T17:36:30.814Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-10-10T17:36:30.840Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T17:36:32.239Z] Merging remotes/origin/main commit e6cf2f2f80d14c6ff357eccb58ac1fd20041715b into PR head commit 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [2022-10-10T17:36:32.471Z] Merge succeeded, producing 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [2022-10-10T17:36:32.472Z] Checking out Revision 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 (PR-102) [2022-10-10T17:36:31.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-10-10T17:36:31.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-10-10T17:36:31.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T17:36:31.704Z] Verifying host key using known hosts file [2022-10-10T17:36:31.711Z] 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-10-10T17:36:31.724Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T17:36:32.258Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T17:36:32.283Z] > git checkout -f 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 # timeout=10 [2022-10-10T17:36:32.371Z] > git remote # timeout=10 [2022-10-10T17:36:32.389Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T17:36:32.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T17:36:32.415Z] Verifying host key using known hosts file [2022-10-10T17:36:32.419Z] 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-10-10T17:36:32.431Z] > git merge e6cf2f2f80d14c6ff357eccb58ac1fd20041715b # timeout=10 [2022-10-10T17:36:32.456Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T17:36:32.478Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T17:36:32.493Z] > git checkout -f 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 # timeout=10 [2022-10-10T17:36:32.945Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-10T17:36:32.996Z] > git --version # timeout=10 [2022-10-10T17:36:33.008Z] > git --version # 'git version 2.25.1' [2022-10-10T17:36:33.025Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T17:36:34.147Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T17:36:34.147Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T17:36:34.147Z] Dload Upload Total Spent Left Speed [2022-10-10T17:36:34.147Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 241k 0 --:--:-- --:--:-- --:--:-- 246k [Pipeline] sh [2022-10-10T17:36:34.751Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T17:36:35.095Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T17:36:35.096Z] + sudo tee /etc/docker/daemon.new [2022-10-10T17:36:35.096Z] { [2022-10-10T17:36:35.096Z] "registry-mirrors": [ [2022-10-10T17:36:35.096Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T17:36:35.096Z] ], [2022-10-10T17:36:35.096Z] "bip": "10.250.0.254/24", [2022-10-10T17:36:35.096Z] "hosts": [ [2022-10-10T17:36:35.096Z] "tcp://0.0.0.0:5555", [2022-10-10T17:36:35.096Z] "unix:///var/run/docker.sock" [2022-10-10T17:36:35.096Z] ], [2022-10-10T17:36:35.096Z] "mtu": 1458, [2022-10-10T17:36:35.096Z] "selinux-enabled": true, [2022-10-10T17:36:35.096Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T17:36:35.096Z] } [Pipeline] sh [2022-10-10T17:36:35.448Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T17:36:35.814Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T17:36:54.146Z] provisioning config files... [2022-10-10T17:36:54.180Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config3041654506805942344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:36:54.580Z] ---> docker-login.sh [2022-10-10T17:36:54.580Z] nexus3.edgexfoundry.org:10001 [2022-10-10T17:36:55.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:36:55.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:36:55.170Z] Configure a credential helper to remove this warning. See [2022-10-10T17:36:55.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:36:55.170Z] [2022-10-10T17:36:55.170Z] Login Succeeded [2022-10-10T17:36:55.170Z] nexus3.edgexfoundry.org:10002 [2022-10-10T17:36:55.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:36:55.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:36:55.710Z] Configure a credential helper to remove this warning. See [2022-10-10T17:36:55.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:36:55.710Z] [2022-10-10T17:36:55.710Z] Login Succeeded [2022-10-10T17:36:55.710Z] nexus3.edgexfoundry.org:10003 [2022-10-10T17:36:55.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:36:55.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:36:55.980Z] Configure a credential helper to remove this warning. See [2022-10-10T17:36:55.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:36:55.980Z] [2022-10-10T17:36:55.980Z] Login Succeeded [2022-10-10T17:36:55.980Z] nexus3.edgexfoundry.org:10004 [2022-10-10T17:36:56.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:36:56.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:36:56.253Z] Configure a credential helper to remove this warning. See [2022-10-10T17:36:56.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:36:56.253Z] [2022-10-10T17:36:56.253Z] Login Succeeded [2022-10-10T17:36:56.253Z] docker.io [2022-10-10T17:36:56.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T17:36:57.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T17:36:57.109Z] Configure a credential helper to remove this warning. See [2022-10-10T17:36:57.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T17:36:57.109Z] [2022-10-10T17:36:57.109Z] Login Succeeded [2022-10-10T17:36:57.109Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T17:36:57.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T17:36:57.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T17:36:57.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T17:36:57.481Z] ========================================================= [2022-10-10T17:36:57.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T17:36:57.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:36:57.974Z] + 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-10-10T17:36:58.242Z] Sending build context to Docker daemon 989.2kB [2022-10-10T17:36:58.242Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T17:36:58.242Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T17:36:58.516Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T17:36:58.516Z] b3c136eddcbf: Pulling fs layer [2022-10-10T17:36:58.516Z] c0a3192eca97: Pulling fs layer [2022-10-10T17:36:58.516Z] a050256f5b6f: Pulling fs layer [2022-10-10T17:36:58.516Z] 656be50a0ddc: Pulling fs layer [2022-10-10T17:36:58.516Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T17:36:58.516Z] f607e4fc86c3: Pulling fs layer [2022-10-10T17:36:58.516Z] 4d572c569a2c: Pulling fs layer [2022-10-10T17:36:58.516Z] fcf976331f73: Pulling fs layer [2022-10-10T17:36:58.516Z] 656be50a0ddc: Waiting [2022-10-10T17:36:58.516Z] 2bbca73fdf42: Waiting [2022-10-10T17:36:58.516Z] f607e4fc86c3: Waiting [2022-10-10T17:36:58.516Z] 4d572c569a2c: Waiting [2022-10-10T17:36:58.516Z] fcf976331f73: Waiting [2022-10-10T17:36:58.516Z] a050256f5b6f: Verifying Checksum [2022-10-10T17:36:58.516Z] a050256f5b6f: Download complete [2022-10-10T17:36:58.516Z] c0a3192eca97: Verifying Checksum [2022-10-10T17:36:58.516Z] c0a3192eca97: Download complete [2022-10-10T17:36:58.516Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T17:36:58.516Z] 2bbca73fdf42: Download complete [2022-10-10T17:36:58.516Z] f607e4fc86c3: Verifying Checksum [2022-10-10T17:36:58.516Z] f607e4fc86c3: Download complete [2022-10-10T17:36:58.516Z] b3c136eddcbf: Download complete [2022-10-10T17:36:59.945Z] fcf976331f73: Verifying Checksum [2022-10-10T17:36:59.945Z] fcf976331f73: Download complete [2022-10-10T17:36:59.945Z] b3c136eddcbf: Pull complete [2022-10-10T17:37:00.217Z] c0a3192eca97: Pull complete [2022-10-10T17:37:00.490Z] a050256f5b6f: Pull complete [2022-10-10T17:37:00.760Z] 4d572c569a2c: Verifying Checksum [2022-10-10T17:37:00.760Z] 4d572c569a2c: Download complete [2022-10-10T17:37:01.728Z] 656be50a0ddc: Download complete [2022-10-10T17:37:13.183Z] 656be50a0ddc: Pull complete [2022-10-10T17:37:13.452Z] 2bbca73fdf42: Pull complete [2022-10-10T17:37:13.731Z] f607e4fc86c3: Pull complete [2022-10-10T17:37:20.513Z] 4d572c569a2c: Pull complete [2022-10-10T17:37:21.940Z] fcf976331f73: Pull complete [2022-10-10T17:37:22.209Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T17:37:22.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T17:37:22.209Z] ---> 3970a7415f9e [2022-10-10T17:37:22.209Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T17:37:24.156Z] ---> Running in d8c99d2fe4e6 [2022-10-10T17:37:24.156Z] Removing intermediate container d8c99d2fe4e6 [2022-10-10T17:37:24.156Z] ---> e7e033b7d12b [2022-10-10T17:37:24.156Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T17:37:24.156Z] ---> Running in d69b296a264a [2022-10-10T17:37:24.431Z] Removing intermediate container d69b296a264a [2022-10-10T17:37:24.431Z] ---> de4c8f4a9403 [2022-10-10T17:37:24.431Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-10T17:37:24.703Z] ---> Running in d74057e7101b [2022-10-10T17:37:24.972Z] Removing intermediate container d74057e7101b [2022-10-10T17:37:24.972Z] ---> 285c3cf500bd [2022-10-10T17:37:24.972Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-10T17:37:24.972Z] ---> Running in aa5bab89ee38 [2022-10-10T17:37:25.241Z] Removing intermediate container aa5bab89ee38 [2022-10-10T17:37:25.241Z] ---> 08bdadc086fa [2022-10-10T17:37:25.241Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T17:37:25.509Z] ---> Running in d0eae7ecfb44 [2022-10-10T17:37:27.462Z] Removing intermediate container d0eae7ecfb44 [2022-10-10T17:37:27.462Z] ---> 05ed567f4312 [2022-10-10T17:37:27.462Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T17:37:27.462Z] ---> Running in 2ff1e3593a0f [2022-10-10T17:37:28.047Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T17:37:29.007Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T17:37:29.970Z] (1/14) Installing libintl (0.21-r2) [2022-10-10T17:37:29.971Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-10-10T17:37:29.971Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-10-10T17:37:30.239Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-10-10T17:37:30.239Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-10-10T17:37:30.507Z] (6/14) Installing udev-init-scripts (35-r0) [2022-10-10T17:37:30.507Z] Executing udev-init-scripts-35-r0.post-install [2022-10-10T17:37:30.507Z] (7/14) Installing libblkid (2.38-r1) [2022-10-10T17:37:30.776Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-10-10T17:37:30.776Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-10-10T17:37:30.776Z] (10/14) Installing kmod-libs (29-r2) [2022-10-10T17:37:31.042Z] (11/14) Installing eudev (3.2.11-r0) [2022-10-10T17:37:31.042Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-10-10T17:37:31.042Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-10-10T17:37:31.311Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-10-10T17:37:31.311Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T17:37:31.311Z] Executing eudev-3.2.11-r0.trigger [2022-10-10T17:37:31.311Z] OK: 228 MiB in 65 packages [2022-10-10T17:37:32.724Z] Removing intermediate container 2ff1e3593a0f [2022-10-10T17:37:32.724Z] ---> d0ac543f6413 [2022-10-10T17:37:32.724Z] Step 9/14 : WORKDIR /device-usb-camera [2022-10-10T17:37:32.724Z] ---> Running in 79fc4d367fec [2022-10-10T17:37:32.992Z] Removing intermediate container 79fc4d367fec [2022-10-10T17:37:32.992Z] ---> d239b4de74e7 [2022-10-10T17:37:32.992Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-10T17:37:33.579Z] ---> bda6debab306 [2022-10-10T17:37:33.579Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T17:37:33.579Z] ---> Running in 8dfe99d03563 [2022-10-10T17:38:29.989Z] Removing intermediate container 8dfe99d03563 [2022-10-10T17:38:29.989Z] ---> 039e2f47f755 [2022-10-10T17:38:29.989Z] Step 12/14 : COPY . . [2022-10-10T17:38:29.989Z] ---> 51893269d9d4 [2022-10-10T17:38:29.989Z] Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-10T17:38:29.989Z] ---> Running in 824634ca1d13 [2022-10-10T17:38:29.989Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T17:38:29.989Z] Dload Upload Total Spent Left Speed [2022-10-10T17:38:29.989Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 15425 0 --:--:-- --:--:-- --:--:-- 15617 [2022-10-10T17:38:29.989Z] Removing intermediate container 824634ca1d13 [2022-10-10T17:38:29.989Z] ---> 30ce31b45027 [2022-10-10T17:38:29.989Z] Step 14/14 : RUN ${MAKE} [2022-10-10T17:38:29.989Z] ---> Running in 423f309bfcbc [2022-10-10T17:38:29.989Z] noop [2022-10-10T17:38:29.989Z] Removing intermediate container 423f309bfcbc [2022-10-10T17:38:29.989Z] ---> 97dc52239e2e [2022-10-10T17:38:29.989Z] Successfully built 97dc52239e2e [2022-10-10T17:38:29.989Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:38:30.452Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T17:38:30.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T17:38:30.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container [2022-10-10T17:38:30.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2022-10-10T17:38:31.954Z] $ docker top 1e6f1c3d43defc113ac799d1f06e2b83bc6ec4cb5882b7cb90e49bef46f7ac06 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T17:38:32.833Z] + go version [2022-10-10T17:38:32.833Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T17:38:32.869Z] $ docker stop --time=1 1e6f1c3d43defc113ac799d1f06e2b83bc6ec4cb5882b7cb90e49bef46f7ac06 [2022-10-10T17:38:34.481Z] $ docker rm -f 1e6f1c3d43defc113ac799d1f06e2b83bc6ec4cb5882b7cb90e49bef46f7ac06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:38:35.290Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T17:38:35.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T17:38:35.524Z] prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container [2022-10-10T17:38:35.589Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2022-10-10T17:38:36.746Z] $ docker top 729a7f674550325bf3de9e121ae7b9b48fdfa41f2f655f143ed2a7da8da64239 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T17:38:37.607Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T17:38:37.994Z] + make test [2022-10-10T17:38:37.994Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-10-10T17:38:39.935Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-10-10T17:40:16.587Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-10-10T17:40:16.587Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 1.9% of statements [2022-10-10T17:40:16.587Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T17:40:16.587Z] CGO_ENABLED=1 go vet ./... [2022-10-10T17:40:34.825Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T17:40:34.825Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T17:40:34.825Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T17:40:35.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T17:40:35.155Z] $ docker stop --time=1 729a7f674550325bf3de9e121ae7b9b48fdfa41f2f655f143ed2a7da8da64239 [2022-10-10T17:40:37.572Z] $ docker rm -f 729a7f674550325bf3de9e121ae7b9b48fdfa41f2f655f143ed2a7da8da64239 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T17:40:38.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T17:40:38.594Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T17:40:39.001Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T17:40:39.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T17:40:39.951Z] + ls -al . [2022-10-10T17:40:39.951Z] total 192 [2022-10-10T17:40:39.951Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 17:38 . [2022-10-10T17:40:39.951Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:36 .. [2022-10-10T17:40:39.951Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 17:36 .git [2022-10-10T17:40:39.951Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:36 .github [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 10 17:36 .gitignore [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 17:36 .golangci.yml [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 10 17:36 .hadolint.yml [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 9702 Oct 10 17:36 Attribution.txt [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 1206 Oct 10 17:36 CHANGELOG.md [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 2467 Oct 10 17:36 Dockerfile [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 17:36 GOVERNANCE.md [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 10 17:36 Jenkinsfile [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 17:36 LICENSE [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 2554 Oct 10 17:36 Makefile [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 17:36 OWNERS.md [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 5773 Oct 10 17:36 README.md [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 17:33 VERSION [2022-10-10T17:40:39.951Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 17:36 bin [2022-10-10T17:40:39.951Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:36 cmd [2022-10-10T17:40:39.951Z] -rw-r--r-- 1 jenkins jenkins 29387 Oct 10 17:40 coverage.out [2022-10-10T17:40:39.951Z] -rwxrwxr-x 1 jenkins jenkins 140 Oct 10 17:36 docker-entrypoint.sh [2022-10-10T17:40:39.951Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:36 docs [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 3633 Oct 10 17:36 go.mod [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 38103 Oct 10 17:36 go.sum [2022-10-10T17:40:39.951Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:36 internal [2022-10-10T17:40:39.951Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:36 snap [2022-10-10T17:40:39.951Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 10 17:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:40:40.369Z] + 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=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 --label arch=arm64 --label version=0.0.0 . [2022-10-10T17:40:40.638Z] Sending build context to Docker daemon 1.019MB [2022-10-10T17:40:40.638Z] Step 1/36 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T17:40:40.638Z] Step 2/36 : FROM ${BASE} AS builder [2022-10-10T17:40:40.638Z] ---> 97dc52239e2e [2022-10-10T17:40:40.638Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2022-10-10T17:40:40.905Z] ---> Running in 23b61bd563c5 [2022-10-10T17:40:41.175Z] Removing intermediate container 23b61bd563c5 [2022-10-10T17:40:41.175Z] ---> 01dad3c29808 [2022-10-10T17:40:41.175Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T17:40:41.175Z] ---> Running in f2e41aa398de [2022-10-10T17:40:41.445Z] Removing intermediate container f2e41aa398de [2022-10-10T17:40:41.445Z] ---> 6231c1c917e3 [2022-10-10T17:40:41.445Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-10T17:40:41.445Z] ---> Running in 9302092ca3f7 [2022-10-10T17:40:41.713Z] Removing intermediate container 9302092ca3f7 [2022-10-10T17:40:41.713Z] ---> f17ee95ca563 [2022-10-10T17:40:41.713Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-10T17:40:41.979Z] ---> Running in 466339be1a65 [2022-10-10T17:40:42.249Z] Removing intermediate container 466339be1a65 [2022-10-10T17:40:42.249Z] ---> 89189c716b58 [2022-10-10T17:40:42.249Z] Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T17:40:42.249Z] ---> Running in 412c638d093e [2022-10-10T17:40:44.198Z] Removing intermediate container 412c638d093e [2022-10-10T17:40:44.198Z] ---> cd48ed0a2f6e [2022-10-10T17:40:44.198Z] Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T17:40:44.198Z] ---> Running in 312312104a13 [2022-10-10T17:40:45.169Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T17:40:46.127Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T17:40:47.090Z] OK: 228 MiB in 65 packages [2022-10-10T17:40:48.506Z] Removing intermediate container 312312104a13 [2022-10-10T17:40:48.506Z] ---> d4ec9c849081 [2022-10-10T17:40:48.506Z] Step 9/36 : WORKDIR /device-usb-camera [2022-10-10T17:40:48.506Z] ---> Running in aef8fb45a5e1 [2022-10-10T17:40:48.781Z] Removing intermediate container aef8fb45a5e1 [2022-10-10T17:40:48.782Z] ---> ab260330e2f6 [2022-10-10T17:40:48.782Z] Step 10/36 : COPY go.mod vendor* ./ [2022-10-10T17:40:49.058Z] ---> b6bad9841c6c [2022-10-10T17:40:49.058Z] Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T17:40:49.328Z] ---> Running in 9129866b3455 [2022-10-10T17:40:51.270Z] Removing intermediate container 9129866b3455 [2022-10-10T17:40:51.270Z] ---> 13b45386c421 [2022-10-10T17:40:51.270Z] Step 12/36 : COPY . . [2022-10-10T17:40:52.238Z] ---> 77d17e15caaa [2022-10-10T17:40:52.238Z] Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-10T17:40:52.238Z] ---> Running in 5d88e765b29f [2022-10-10T17:40:53.199Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T17:40:53.199Z] Dload Upload Total Spent Left Speed [2022-10-10T17:40:53.199Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0  0 7834 0 --:--:-- --:--:-- --:--:-- 7866 [2022-10-10T17:40:54.167Z] Removing intermediate container 5d88e765b29f [2022-10-10T17:40:54.167Z] ---> 098795643f25 [2022-10-10T17:40:54.167Z] Step 14/36 : RUN ${MAKE} [2022-10-10T17:40:54.167Z] ---> Running in a2e37861b38b [2022-10-10T17:40:55.129Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-10-10T17:43:31.985Z] Removing intermediate container a2e37861b38b [2022-10-10T17:43:31.985Z] ---> f9937954327e [2022-10-10T17:43:31.985Z] Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-10-10T17:43:31.985Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-10-10T17:43:31.985Z] eab2503cf8f4: Pulling fs layer [2022-10-10T17:43:31.985Z] 97cd0a44c592: Pulling fs layer [2022-10-10T17:43:31.985Z] 97cd0a44c592: Verifying Checksum [2022-10-10T17:43:31.985Z] 97cd0a44c592: Download complete [2022-10-10T17:43:31.985Z] eab2503cf8f4: Download complete [2022-10-10T17:43:31.985Z] eab2503cf8f4: Pull complete [2022-10-10T17:43:31.985Z] 97cd0a44c592: Pull complete [2022-10-10T17:43:31.985Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-10-10T17:43:31.985Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-10-10T17:43:31.985Z] ---> 7f763cca56b3 [2022-10-10T17:43:31.985Z] Step 16/36 : FROM alpine:3.16 [2022-10-10T17:43:31.985Z] 3.16: Pulling from library/alpine [2022-10-10T17:43:31.985Z] 9b18e9b68314: Pulling fs layer [2022-10-10T17:43:31.985Z] 9b18e9b68314: Verifying Checksum [2022-10-10T17:43:31.985Z] 9b18e9b68314: Download complete [2022-10-10T17:43:31.985Z] 9b18e9b68314: Pull complete [2022-10-10T17:43:31.985Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T17:43:31.985Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T17:43:31.985Z] ---> a6215f271958 [2022-10-10T17:43:31.985Z] Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-10T17:43:31.985Z] ---> Running in d04fe33f92b9 [2022-10-10T17:43:31.985Z] Removing intermediate container d04fe33f92b9 [2022-10-10T17:43:31.985Z] ---> 2fbadfe62b45 [2022-10-10T17:43:31.985Z] Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-10-10T17:43:31.985Z] ---> Running in fd8de6eb9d99 [2022-10-10T17:43:31.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T17:43:31.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T17:43:32.259Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-10-10T17:43:32.259Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-10-10T17:43:32.536Z] (3/82) Installing libxau (1.0.9-r0) [2022-10-10T17:43:32.536Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-10-10T17:43:32.536Z] (5/82) Installing libxcb (1.15-r0) [2022-10-10T17:43:32.536Z] (6/82) Installing libx11 (1.8-r0) [2022-10-10T17:43:32.536Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-10-10T17:43:32.813Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-10-10T17:43:32.813Z] (9/82) Installing expat (2.4.9-r0) [2022-10-10T17:43:32.813Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-10-10T17:43:32.813Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-10-10T17:43:32.813Z] (12/82) Installing libpng (1.6.37-r1) [2022-10-10T17:43:32.813Z] (13/82) Installing freetype (2.12.1-r0) [2022-10-10T17:43:32.813Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-10-10T17:43:33.088Z] (15/82) Installing fribidi (1.0.12-r0) [2022-10-10T17:43:33.088Z] (16/82) Installing libffi (3.4.2-r1) [2022-10-10T17:43:33.088Z] (17/82) Installing libintl (0.21-r2) [2022-10-10T17:43:33.088Z] (18/82) Installing libblkid (2.38-r1) [2022-10-10T17:43:33.088Z] (19/82) Installing libmount (2.38-r1) [2022-10-10T17:43:33.088Z] (20/82) Installing pcre (8.45-r2) [2022-10-10T17:43:33.088Z] (21/82) Installing glib (2.72.1-r0) [2022-10-10T17:43:33.088Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-10-10T17:43:33.088Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-10-10T17:43:33.088Z] (24/82) Installing libass (0.16.0-r0) [2022-10-10T17:43:33.088Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-10-10T17:43:33.088Z] (26/82) Installing libdrm (2.4.110-r0) [2022-10-10T17:43:33.354Z] (27/82) Installing gmp (6.2.1-r2) [2022-10-10T17:43:33.354Z] (28/82) Installing nettle (3.7.3-r0) [2022-10-10T17:43:33.354Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-10-10T17:43:33.354Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-10-10T17:43:33.354Z] (31/82) Installing libunistring (1.0-r0) [2022-10-10T17:43:33.354Z] (32/82) Installing gnutls (3.7.7-r0) [2022-10-10T17:43:33.354Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-10T17:43:33.354Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-10T17:43:33.622Z] (35/82) Installing lame (3.100-r0) [2022-10-10T17:43:33.623Z] (36/82) Installing opus (1.3.1-r1) [2022-10-10T17:43:33.623Z] (37/82) Installing libasyncns (0.8-r1) [2022-10-10T17:43:33.623Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-10-10T17:43:33.623Z] (39/82) Installing libltdl (2.4.7-r0) [2022-10-10T17:43:33.623Z] (40/82) Installing orc (0.4.32-r0) [2022-10-10T17:43:33.623Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T17:43:33.623Z] (42/82) Installing libogg (1.3.5-r1) [2022-10-10T17:43:33.623Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T17:43:33.623Z] (44/82) Installing flac (1.3.4-r0) [2022-10-10T17:43:33.623Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-10-10T17:43:33.623Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-10-10T17:43:33.889Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-10-10T17:43:33.889Z] (48/82) Installing soxr (0.1.3-r2) [2022-10-10T17:43:33.889Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-10-10T17:43:33.889Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-10-10T17:43:33.889Z] (51/82) Installing libpulse (15.0-r2) [2022-10-10T17:43:33.889Z] (52/82) Installing cjson (1.7.15-r3) [2022-10-10T17:43:33.889Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-10-10T17:43:33.889Z] (54/82) Installing librist (0.2.6-r1) [2022-10-10T17:43:33.889Z] (55/82) Installing libsrt (1.4.4-r0) [2022-10-10T17:43:33.889Z] (56/82) Installing libssh (0.9.6-r1) [2022-10-10T17:43:33.889Z] (57/82) Installing libtheora (1.1.1-r16) [2022-10-10T17:43:33.889Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-10-10T17:43:34.155Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-10-10T17:43:34.155Z] (60/82) Installing libxext (1.3.4-r0) [2022-10-10T17:43:34.155Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-10-10T17:43:34.155Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-10-10T17:43:34.155Z] (63/82) Installing libva (2.14.0-r0) [2022-10-10T17:43:34.155Z] (64/82) Installing libvdpau (1.5-r0) [2022-10-10T17:43:34.155Z] (65/82) Installing vidstab (1.1.0-r1) [2022-10-10T17:43:34.155Z] (66/82) Installing libvpx (1.11.0-r1) [2022-10-10T17:43:34.155Z] (67/82) Installing libwebp (1.2.3-r0) [2022-10-10T17:43:34.155Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-10-10T17:43:34.423Z] (69/82) Installing numactl (2.0.14-r0) [2022-10-10T17:43:34.423Z] (70/82) Installing x265-libs (3.5-r3) [2022-10-10T17:43:34.423Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-10-10T17:43:34.423Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-10-10T17:43:35.007Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-10-10T17:43:35.007Z] (74/82) Installing udev-init-scripts (35-r0) [2022-10-10T17:43:35.007Z] Executing udev-init-scripts-35-r0.post-install [2022-10-10T17:43:35.007Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-10-10T17:43:35.007Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-10-10T17:43:35.007Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-10-10T17:43:35.007Z] (78/82) Installing kmod-libs (29-r2) [2022-10-10T17:43:35.007Z] (79/82) Installing eudev (3.2.11-r0) [2022-10-10T17:43:35.007Z] (80/82) Installing libsodium (1.0.18-r0) [2022-10-10T17:43:35.007Z] (81/82) Installing libzmq (4.3.4-r0) [2022-10-10T17:43:35.007Z] (82/82) Installing zeromq (4.3.4-r0) [2022-10-10T17:43:35.007Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T17:43:35.007Z] Executing eudev-3.2.11-r0.trigger [2022-10-10T17:43:35.276Z] OK: 78 MiB in 96 packages [2022-10-10T17:43:38.621Z] Removing intermediate container fd8de6eb9d99 [2022-10-10T17:43:38.621Z] ---> 22ad4d202749 [2022-10-10T17:43:38.621Z] Step 19/36 : WORKDIR / [2022-10-10T17:43:38.621Z] ---> Running in 737f76bd315d [2022-10-10T17:43:38.621Z] Removing intermediate container 737f76bd315d [2022-10-10T17:43:38.621Z] ---> 525c8a8c2fde [2022-10-10T17:43:38.621Z] Step 20/36 : COPY --from=builder /device-usb-camera/cmd / [2022-10-10T17:43:40.029Z] ---> 10863f358a0c [2022-10-10T17:43:40.029Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / [2022-10-10T17:43:40.612Z] ---> 2284138da335 [2022-10-10T17:43:40.612Z] Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-10-10T17:43:40.880Z] ---> 478c367e7d8a [2022-10-10T17:43:40.880Z] Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-10-10T17:43:41.467Z] ---> 5c4709183039 [2022-10-10T17:43:41.467Z] Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-10-10T17:43:42.052Z] ---> fa60738ec18d [2022-10-10T17:43:42.052Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-10-10T17:43:42.634Z] ---> c9b77bec4459 [2022-10-10T17:43:42.634Z] Step 26/36 : COPY --from=rtsp /rtsp-simple-server / [2022-10-10T17:43:43.594Z] ---> 22be6e628ea2 [2022-10-10T17:43:43.594Z] Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-10-10T17:43:43.862Z] ---> Running in c45c42f014c5 [2022-10-10T17:43:45.272Z] Removing intermediate container c45c42f014c5 [2022-10-10T17:43:45.272Z] ---> 27404c6264b0 [2022-10-10T17:43:45.272Z] Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-10-10T17:43:45.272Z] ---> Running in e3a61f6c5531 [2022-10-10T17:43:47.212Z] Removing intermediate container e3a61f6c5531 [2022-10-10T17:43:47.212Z] ---> 405d49f81a6b [2022-10-10T17:43:47.212Z] Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-10-10T17:43:47.212Z] ---> Running in c6fce2a32557 [2022-10-10T17:43:48.624Z] Removing intermediate container c6fce2a32557 [2022-10-10T17:43:48.624Z] ---> 7c03cb03a1c3 [2022-10-10T17:43:48.624Z] Step 30/36 : EXPOSE 59983 [2022-10-10T17:43:48.624Z] ---> Running in 21d5177ab331 [2022-10-10T17:43:48.890Z] Removing intermediate container 21d5177ab331 [2022-10-10T17:43:48.890Z] ---> 9f4b574281e2 [2022-10-10T17:43:48.890Z] Step 31/36 : EXPOSE 8554 [2022-10-10T17:43:48.890Z] ---> Running in d165f3189239 [2022-10-10T17:43:49.161Z] Removing intermediate container d165f3189239 [2022-10-10T17:43:49.161Z] ---> b232d6c33756 [2022-10-10T17:43:49.161Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-10-10T17:43:49.430Z] ---> Running in 278bc9974577 [2022-10-10T17:43:49.696Z] Removing intermediate container 278bc9974577 [2022-10-10T17:43:49.696Z] ---> 504c101a5106 [2022-10-10T17:43:49.696Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-10-10T17:43:49.696Z] ---> Running in f2c6f01e889a [2022-10-10T17:43:49.963Z] Removing intermediate container f2c6f01e889a [2022-10-10T17:43:49.963Z] ---> 83fd48ef9e6a [2022-10-10T17:43:49.963Z] Step 34/36 : LABEL arch=arm64 [2022-10-10T17:43:49.963Z] ---> Running in 448cb4fc3d57 [2022-10-10T17:43:50.228Z] Removing intermediate container 448cb4fc3d57 [2022-10-10T17:43:50.228Z] ---> 1f8865401d8d [2022-10-10T17:43:50.228Z] Step 35/36 : LABEL git_sha=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [2022-10-10T17:43:50.495Z] ---> Running in f82a11538313 [2022-10-10T17:43:50.763Z] Removing intermediate container f82a11538313 [2022-10-10T17:43:50.763Z] ---> b40bd8dee209 [2022-10-10T17:43:50.763Z] Step 36/36 : LABEL version=0.0.0 [2022-10-10T17:43:50.763Z] ---> Running in 44db0ae4391b [2022-10-10T17:43:51.030Z] Removing intermediate container 44db0ae4391b [2022-10-10T17:43:51.030Z] ---> 16b3ce9b5a2e [2022-10-10T17:43:51.030Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T17:43:51.030Z] Successfully built 16b3ce9b5a2e [2022-10-10T17:43:51.030Z] 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-10-10T17:43:51.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T17:43:51.842Z] [2022-10-10T17:43:51.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:43:52.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T17:43:52.241Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T17:43:52.241Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T17:43:52.241Z] 04944245beec: Pulling fs layer [2022-10-10T17:43:52.241Z] 699f458cf7ca: Pulling fs layer [2022-10-10T17:43:52.241Z] 765212b225bb: Pulling fs layer [2022-10-10T17:43:52.241Z] f23df028b6ca: Pulling fs layer [2022-10-10T17:43:52.241Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T17:43:52.241Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T17:43:52.241Z] 765212b225bb: Waiting [2022-10-10T17:43:52.241Z] f23df028b6ca: Waiting [2022-10-10T17:43:52.241Z] d65c8cfc05b1: Waiting [2022-10-10T17:43:52.241Z] 2437ff75d9bd: Waiting [2022-10-10T17:43:52.508Z] 04944245beec: Verifying Checksum [2022-10-10T17:43:52.508Z] 04944245beec: Download complete [2022-10-10T17:43:52.508Z] 765212b225bb: Verifying Checksum [2022-10-10T17:43:52.508Z] 765212b225bb: Download complete [2022-10-10T17:43:52.508Z] f23df028b6ca: Verifying Checksum [2022-10-10T17:43:52.508Z] f23df028b6ca: Download complete [2022-10-10T17:43:52.508Z] d65c8cfc05b1: Download complete [2022-10-10T17:43:52.776Z] 699f458cf7ca: Verifying Checksum [2022-10-10T17:43:52.776Z] 699f458cf7ca: Download complete [2022-10-10T17:43:53.045Z] 8998bd30e6a1: Download complete [2022-10-10T17:43:55.629Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T17:43:55.629Z] 2437ff75d9bd: Download complete [2022-10-10T17:43:57.035Z] 8998bd30e6a1: Pull complete [2022-10-10T17:43:57.300Z] 04944245beec: Pull complete [2022-10-10T17:43:58.706Z] 699f458cf7ca: Pull complete [2022-10-10T17:43:58.706Z] 765212b225bb: Pull complete [2022-10-10T17:44:00.108Z] f23df028b6ca: Pull complete [2022-10-10T17:44:00.108Z] d65c8cfc05b1: Pull complete [2022-10-10T17:44:15.101Z] 2437ff75d9bd: Pull complete [2022-10-10T17:44:15.101Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T17:44:15.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T17:44:15.101Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T17:44:15.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container [2022-10-10T17:44:15.489Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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-lftools-log-publisher:arm64 cat [2022-10-10T17:44:18.020Z] $ docker top bf54666f8839a526a590ea244fc848e86857283e8bb3f4fcc4455ee48055c7bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:44:18.584Z] ---> job-cost.sh [2022-10-10T17:44:18.850Z] lf-activate-venv: SKIPPING [2022-10-10T17:44:18.851Z] INFO: No Stack... [2022-10-10T17:44:19.115Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T17:44:20.069Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T17:44:20.420Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-10-10T17:44:20.420Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T17:44:20.738Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [2022-10-10T17:44:20.744Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] did not exist. Created. [2022-10-10T17:44:20.744Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T17:44:21.149Z] /w/workspace/device-usb-camera/1@tmp/durable-a9118e08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T17:44:21.823Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T17:44:21.857Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T17:44:21.903Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T17:44:21.919Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T17:44:21.999Z] $ docker stop --time=1 bf54666f8839a526a590ea244fc848e86857283e8bb3f4fcc4455ee48055c7bf [2022-10-10T17:44:24.161Z] $ docker rm -f bf54666f8839a526a590ea244fc848e86857283e8bb3f4fcc4455ee48055c7bf [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-10-10T17:44:25.101Z] provisioning config files... [2022-10-10T17:44:25.108Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-102@tmp/config712748546593520572tmp [Pipeline] { [Pipeline] sh [2022-10-10T17:44:25.437Z] + set +x [2022-10-10T17:44:25.437Z] + curl -s https://codecov.io/bash [2022-10-10T17:44:25.437Z] + bash -s -- [2022-10-10T17:44:25.437Z] [2022-10-10T17:44:25.437Z] _____ _ [2022-10-10T17:44:25.437Z] / ____| | | [2022-10-10T17:44:25.437Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T17:44:25.437Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T17:44:25.437Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T17:44:25.437Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T17:44:25.437Z] Bash-1.0.6 [2022-10-10T17:44:25.437Z] [2022-10-10T17:44:25.437Z] [2022-10-10T17:44:25.437Z] ==> git version 2.25.1 found [2022-10-10T17:44:25.437Z] ==> 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-10-10T17:44:25.437Z] Release-Date: 2020-01-08 [2022-10-10T17:44:25.437Z] 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-10-10T17:44:25.437Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T17:44:25.437Z] ==> Jenkins CI detected. [2022-10-10T17:44:25.437Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-102 [2022-10-10T17:44:25.437Z] project root: . [2022-10-10T17:44:25.437Z] --> token set from env [2022-10-10T17:44:25.437Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T17:44:25.437Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T17:44:25.437Z] ==> Python coveragepy not found [2022-10-10T17:44:25.437Z] ==> Searching for coverage reports in: [2022-10-10T17:44:25.437Z] + . [2022-10-10T17:44:25.437Z] -> Found 1 reports [2022-10-10T17:44:25.437Z] ==> Detecting git/mercurial file structure [2022-10-10T17:44:25.437Z] ==> Reading reports [2022-10-10T17:44:25.437Z] + ./coverage.out bytes=29387 [2022-10-10T17:44:25.437Z] ==> Appending adjustments [2022-10-10T17:44:25.437Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T17:44:25.696Z] + Found adjustments [2022-10-10T17:44:25.696Z] ==> Gzipping contents [2022-10-10T17:44:25.696Z] 8.0K /tmp/codecov.SEZ2eO.gz [2022-10-10T17:44:25.696Z] ==> Uploading reports [2022-10-10T17:44:25.696Z] url: https://codecov.io [2022-10-10T17:44:25.696Z] query: branch=PR-102&commit=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=102&job=&cmd_args= [2022-10-10T17:44:25.696Z] -> Pinging Codecov [2022-10-10T17:44:25.696Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-102&commit=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=102&job=&cmd_args= [2022-10-10T17:44:25.956Z] -> Uploading to [2022-10-10T17:44:25.956Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/73D8F5FF140700D3E01443B452E23636/8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8/30a26883-3f33-4a8e-919b-c02f99f9d17c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T174425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d93151daeb42beae795ce25c4fd8b36cfd3e3c2416b0d8030dc2ef1b09410fb4 [2022-10-10T17:44:25.956Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T17:44:25.956Z] Dload Upload Total Spent Left Speed [2022-10-10T17:44:26.214Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4190 0 0 100 4190 0 17754 --:--:-- --:--:-- --:--:-- 17754 [2022-10-10T17:44:26.214Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] } [2022-10-10T17:44:26.242Z] 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-10-10T17:44:27.839Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-102/archives ] [2022-10-10T17:44:27.839Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-102/archives [2022-10-10T17:44:27.839Z] total 16 [2022-10-10T17:44:27.839Z] drwxr-xr-x 3 root root 4096 Oct 10 17:36 . [2022-10-10T17:44:27.839Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 17:36 .. [2022-10-10T17:44:27.839Z] drwxr-xr-x 2 root root 4096 Oct 10 17:36 cost [2022-10-10T17:44:27.839Z] -rw-r--r-- 1 root root 89 Oct 10 17:36 cost.csv [2022-10-10T17:44:27.839Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-102/archives [2022-10-10T17:44:27.839Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-102/archives [2022-10-10T17:44:27.839Z] total 16 [2022-10-10T17:44:27.839Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 17:36 . [2022-10-10T17:44:27.839Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 17:36 .. [2022-10-10T17:44:27.839Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 17:36 cost [2022-10-10T17:44:27.839Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 10 17:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:44:28.168Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:44:29.059Z] ---> package-listing.sh [2022-10-10T17:44:29.059Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T17:44:29.059Z] ++ facter osfamily [2022-10-10T17:44:29.059Z] + OS_FAMILY=debian [2022-10-10T17:44:29.059Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-102 [2022-10-10T17:44:29.059Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T17:44:29.059Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T17:44:29.059Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T17:44:29.059Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T17:44:29.059Z] + '[' /w/workspace/foundry_device-usb-camera_PR-102 ']' [2022-10-10T17:44:29.317Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T17:44:29.317Z] + case "${OS_FAMILY}" in [2022-10-10T17:44:29.317Z] + dpkg -l [2022-10-10T17:44:29.317Z] + grep '^ii' [2022-10-10T17:44:29.317Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T17:44:29.317Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T17:44:29.317Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T17:44:29.317Z] + '[' /w/workspace/foundry_device-usb-camera_PR-102 ']' [2022-10-10T17:44:29.317Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-102/archives/ [2022-10-10T17:44:29.317Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-102/archives/ [Pipeline] echo [2022-10-10T17:44:29.350Z] 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-102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T17:44:29.643Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T17:44:30.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T17:44:30.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T17:44:30.395Z] prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container [2022-10-10T17:44:30.422Z] $ 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-102/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-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T17:44:30.639Z] $ docker top bdbf17a50efe722abfdb6cb204318f0aa0d7a845e97d41d63b73e9b7e5f04ceb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T17:44:31.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T17:44:31.340Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T17:44:31.650Z] + ls /var/log/sa-host [2022-10-10T17:44:31.650Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T17:44:31.778Z] provisioning config files... [2022-10-10T17:44:31.786Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-102@tmp/config7195572823161562551tmp [Pipeline] { [Pipeline] echo [2022-10-10T17:44:31.838Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:44:32.146Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T17:44:32.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:44:32.568Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T17:44:32.602Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:44:32.912Z] ---> sudo-logs.sh [2022-10-10T17:44:32.912Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T17:44:33.002Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:44:33.310Z] ---> job-cost.sh [2022-10-10T17:44:33.310Z] lf-activate-venv: SKIPPING [2022-10-10T17:44:33.310Z] DEBUG: total: 0.2199999988079071 [2022-10-10T17:44:33.310Z] INFO: Retrieving Stack Cost... [2022-10-10T17:44:33.569Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T17:44:34.135Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T17:44:34.173Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T17:44:34.488Z] ---> logs-deploy.sh [2022-10-10T17:44:34.488Z] lf-activate-venv: SKIPPING [2022-10-10T17:44:34.488Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-102/1 [2022-10-10T17:44:34.488Z] INFO: archiving workspace using pattern(s): [2022-10-10T17:44:35.425Z] Archives upload complete. [2022-10-10T17:44:35.425Z] INFO: archiving logs to Nexus