Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 695cbf35e7563b7af803532131954c37e2b367cb rather than 7fedce7edd12652b29de3089237b3736a9072910 Obtained Jenkinsfile from 695cbf35e7563b7af803532131954c37e2b367cb 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-ssh13718252248406501079.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh9375802758623459804.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10706852564785857298.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12464694462935032326.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10311351441470616700.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8454 in /w/workspace/foundry_device-usb-camera_PR-100 [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-100 # 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 695cbf35e7563b7af803532131954c37e2b367cb into PR head commit 7fedce7edd12652b29de3089237b3736a9072910 > 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/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fedce7edd12652b29de3089237b3736a9072910 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 0d712a80d3ec25a32f333d3695beb20b07da4f6c Checking out Revision 0d712a80d3ec25a32f333d3695beb20b07da4f6c (PR-100) 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 695cbf35e7563b7af803532131954c37e2b367cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d712a80d3ec25a32f333d3695beb20b07da4f6c # timeout=10 Commit message: "Merge commit '695cbf35e7563b7af803532131954c37e2b367cb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-18T06:15:23.911Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-18T06:15:23.962Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 9f6c948af4643d692dfd1f6dc5a37606bd27b23c # timeout=10 [Pipeline] echo [2022-10-18T06:15:23.974Z] ========================================================= [2022-10-18T06:15:23.974Z] EdgeX Global Pipelines Version Info [2022-10-18T06:15:23.974Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:15:24.678Z] ------------------- [2022-10-18T06:15:24.678Z] stable info: [2022-10-18T06:15:24.678Z] ------------------- [2022-10-18T06:15:24.678Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-18T06:15:24.678Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T06:15:24.678Z] Message: update stable to v1.0.243 [2022-10-18T06:15:25.248Z] ------------------- [2022-10-18T06:15:25.248Z] experimental info: [2022-10-18T06:15:25.248Z] ------------------- [2022-10-18T06:15:25.248Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-18T06:15:25.248Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T06:15:25.248Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-18T06:15:25.418Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-10-18T06:15:25.429Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-10-18T06:15:25.441Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-18T06:15:25.452Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-18T06:15:25.464Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-18T06:15:25.477Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-18T06:15:25.494Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-18T06:15:25.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-18T06:15:25.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-18T06:15:25.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-18T06:15:25.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-18T06:15:25.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-10-18T06:15:25.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-18T06:15:25.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-18T06:15:25.590Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-18T06:15:25.603Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-18T06:15:25.617Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T06:15:25.632Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T06:15:25.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-18T06:15:25.660Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-18T06:15:25.677Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-18T06:15:25.694Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-18T06:15:25.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-18T06:15:25.714Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-18T06:15:25.731Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-18T06:15:25.746Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-18T06:15:25.757Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-18T06:15:25.768Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo [2022-10-18T06:15:25.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo [2022-10-18T06:15:25.796Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo [2022-10-18T06:15:25.814Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d712a80d3ec25a32f333d3695beb20b07da4f6c [Pipeline] echo [2022-10-18T06:15:25.827Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d712a8 [Pipeline] echo [2022-10-18T06:15:25.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T06:15:25.884Z] provisioning config files... [2022-10-18T06:15:25.900Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config1346366596844619984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:15:26.201Z] ---> docker-login.sh [2022-10-18T06:15:26.201Z] nexus3.edgexfoundry.org:10001 [2022-10-18T06:15:26.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:26.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:26.722Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:26.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:26.722Z] [2022-10-18T06:15:26.722Z] Login Succeeded [2022-10-18T06:15:26.722Z] nexus3.edgexfoundry.org:10002 [2022-10-18T06:15:26.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:26.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:26.722Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:26.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:26.722Z] [2022-10-18T06:15:26.722Z] Login Succeeded [2022-10-18T06:15:26.722Z] nexus3.edgexfoundry.org:10003 [2022-10-18T06:15:26.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:26.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:26.981Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:26.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:26.981Z] [2022-10-18T06:15:26.981Z] Login Succeeded [2022-10-18T06:15:26.981Z] nexus3.edgexfoundry.org:10004 [2022-10-18T06:15:26.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:26.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:26.981Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:26.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:26.981Z] [2022-10-18T06:15:26.981Z] Login Succeeded [2022-10-18T06:15:26.981Z] docker.io [2022-10-18T06:15:26.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:27.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:27.549Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:27.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:27.549Z] [2022-10-18T06:15:27.549Z] Login Succeeded [2022-10-18T06:15:27.549Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T06:15:27.558Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-18T06:15:27.912Z] + git rev-list -1 --merges 0d712a80d3ec25a32f333d3695beb20b07da4f6c~1..0d712a80d3ec25a32f333d3695beb20b07da4f6c [Pipeline] echo [2022-10-18T06:15:27.941Z] -----------> git rev-list -1 --merges 0d712a80d3ec25a32f333d3695beb20b07da4f6c~1..0d712a80d3ec25a32f333d3695beb20b07da4f6c 0d712a80d3ec25a32f333d3695beb20b07da4f6c [2022-10-18T06:15:27.941Z] 0d712a80d3ec25a32f333d3695beb20b07da4f6c [false] [Pipeline] sh [2022-10-18T06:15:28.225Z] + git log --format=format:%s -1 0d712a80d3ec25a32f333d3695beb20b07da4f6c [Pipeline] echo [2022-10-18T06:15:28.240Z] ========================================================= [2022-10-18T06:15:28.240Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-18T06:15:28.240Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T06:15:28.554Z] + git log --format=format:%s -1 0d712a80d3ec25a32f333d3695beb20b07da4f6c [Pipeline] echo [2022-10-18T06:15:28.565Z] [semverPrep] GIT_COMMIT: 0d712a80d3ec25a32f333d3695beb20b07da4f6c, Commit Message: Merge commit '695cbf35e7563b7af803532131954c37e2b367cb' into HEAD [Pipeline] echo [2022-10-18T06:15:28.573Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-18T06:15:28.935Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-18T06:15:28.935Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-18T06:15:28.935Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-18T06:15:28.935Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-18T06:15:28.935Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-18T06:15:28.935Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-18T06:15:28.935Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:15:29.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T06:15:29.342Z] [2022-10-18T06:15:29.342Z] 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-18T06:15:29.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T06:15:29.641Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-18T06:15:29.641Z] b85a868b505f: Pulling fs layer [2022-10-18T06:15:29.641Z] e2be974225ed: Pulling fs layer [2022-10-18T06:15:29.641Z] 339a4e72a1f5: Pulling fs layer [2022-10-18T06:15:29.641Z] 988bab9f4d93: Pulling fs layer [2022-10-18T06:15:29.641Z] 1469e6f7b9e6: Pulling fs layer [2022-10-18T06:15:29.641Z] eaf3925da568: Pulling fs layer [2022-10-18T06:15:29.641Z] bab4dde63d76: Pulling fs layer [2022-10-18T06:15:29.641Z] bde34c3a00c8: Pulling fs layer [2022-10-18T06:15:29.641Z] b352a97aabf1: Pulling fs layer [2022-10-18T06:15:29.641Z] 4872d77fe225: Pulling fs layer [2022-10-18T06:15:29.641Z] 5851b861e8e6: Pulling fs layer [2022-10-18T06:15:29.641Z] 1469e6f7b9e6: Waiting [2022-10-18T06:15:29.641Z] eaf3925da568: Waiting [2022-10-18T06:15:29.641Z] bab4dde63d76: Waiting [2022-10-18T06:15:29.641Z] 5851b861e8e6: Waiting [2022-10-18T06:15:29.641Z] 4872d77fe225: Waiting [2022-10-18T06:15:29.641Z] 988bab9f4d93: Waiting [2022-10-18T06:15:29.641Z] bde34c3a00c8: Waiting [2022-10-18T06:15:29.641Z] b352a97aabf1: Waiting [2022-10-18T06:15:29.641Z] e2be974225ed: Download complete [2022-10-18T06:15:29.641Z] 988bab9f4d93: Download complete [2022-10-18T06:15:29.901Z] 339a4e72a1f5: Verifying Checksum [2022-10-18T06:15:29.901Z] 339a4e72a1f5: Download complete [2022-10-18T06:15:29.901Z] 1469e6f7b9e6: Verifying Checksum [2022-10-18T06:15:29.901Z] 1469e6f7b9e6: Download complete [2022-10-18T06:15:29.901Z] eaf3925da568: Download complete [2022-10-18T06:15:29.901Z] bde34c3a00c8: Verifying Checksum [2022-10-18T06:15:29.901Z] bde34c3a00c8: Download complete [2022-10-18T06:15:29.901Z] b352a97aabf1: Download complete [2022-10-18T06:15:29.901Z] 4872d77fe225: Verifying Checksum [2022-10-18T06:15:29.901Z] 4872d77fe225: Download complete [2022-10-18T06:15:29.901Z] 5851b861e8e6: Verifying Checksum [2022-10-18T06:15:29.901Z] 5851b861e8e6: Download complete [2022-10-18T06:15:29.901Z] b85a868b505f: Download complete [2022-10-18T06:15:30.471Z] bab4dde63d76: Verifying Checksum [2022-10-18T06:15:30.471Z] bab4dde63d76: Download complete [2022-10-18T06:15:31.408Z] b85a868b505f: Pull complete [2022-10-18T06:15:31.408Z] e2be974225ed: Pull complete [2022-10-18T06:15:31.978Z] 339a4e72a1f5: Pull complete [2022-10-18T06:15:31.978Z] 988bab9f4d93: Pull complete [2022-10-18T06:15:32.237Z] 1469e6f7b9e6: Pull complete [2022-10-18T06:15:32.495Z] eaf3925da568: Pull complete [2022-10-18T06:15:34.403Z] bab4dde63d76: Pull complete [2022-10-18T06:15:34.403Z] bde34c3a00c8: Pull complete [2022-10-18T06:15:34.403Z] b352a97aabf1: Pull complete [2022-10-18T06:15:34.403Z] 4872d77fe225: Pull complete [2022-10-18T06:15:34.403Z] 5851b861e8e6: Pull complete [2022-10-18T06:15:34.403Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-18T06:15:34.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T06:15:34.662Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:15:34.738Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2022-10-18T06:15:34.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-18T06:15:36.259Z] $ docker top ddf6d42a3a0508b99b68e94e6e7ccf49faa7db59e9a6319c9f913a437f8ea7ee -eo pid,comm [2022-10-18T06:15:36.318Z] 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-18T06:15:36.318Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-18T06:15:36.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T06:15:36.358Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T06:15:36.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T06:15:36.476Z] $ docker exec ddf6d42a3a0508b99b68e94e6e7ccf49faa7db59e9a6319c9f913a437f8ea7ee ssh-agent [2022-10-18T06:15:36.589Z] SSH_AUTH_SOCK=/tmp/ssh-v6GGpBgRnniX/agent.32 [2022-10-18T06:15:36.589Z] SSH_AGENT_PID=38 [2022-10-18T06:15:36.595Z] Running ssh-add (command line suppressed) [2022-10-18T06:15:36.708Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_6925134999758559489.key (/w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_6925134999758559489.key) [2022-10-18T06:15:36.724Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T06:15:37.078Z] + git tag --points-at HEAD [Pipeline] } [2022-10-18T06:15:37.099Z] $ docker exec --env ******** --env ******** ddf6d42a3a0508b99b68e94e6e7ccf49faa7db59e9a6319c9f913a437f8ea7ee ssh-agent -k [2022-10-18T06:15:37.208Z] unset SSH_AUTH_SOCK; [2022-10-18T06:15:37.209Z] unset SSH_AGENT_PID; [2022-10-18T06:15:37.209Z] echo Agent pid 38 killed; [2022-10-18T06:15:37.220Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-18T06:15:37.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T06:15:37.240Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T06:15:37.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T06:15:37.361Z] $ docker exec ddf6d42a3a0508b99b68e94e6e7ccf49faa7db59e9a6319c9f913a437f8ea7ee ssh-agent [2022-10-18T06:15:37.481Z] SSH_AUTH_SOCK=/tmp/ssh-DZOmgjhEkN4U/agent.71 [2022-10-18T06:15:37.481Z] SSH_AGENT_PID=77 [2022-10-18T06:15:37.485Z] Running ssh-add (command line suppressed) [2022-10-18T06:15:37.597Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_650892427886773005.key (/w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_650892427886773005.key) [2022-10-18T06:15:37.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T06:15:37.903Z] + git semver init [2022-10-18T06:15:38.163Z] 2022-10-18 06:15:38,098 [run_init] DEBUG init version:0.0.0 force:False [2022-10-18T06:15:38.163Z] 2022-10-18 06:15:38,099 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-100/.semver [2022-10-18T06:15:38.163Z] 2022-10-18 06:15:38,099 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-100/.semver [2022-10-18T06:15:38.163Z] 2022-10-18 06:15:38,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-100/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-100, universal_newlines=False, shell=None, istream=None) [2022-10-18T06:15:39.104Z] 2022-10-18 06:15:38,885 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-100/.git/info/exclude [2022-10-18T06:15:39.104Z] 2022-10-18 06:15:38,885 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 with force:False [2022-10-18T06:15:39.104Z] 2022-10-18 06:15:38,886 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 [2022-10-18T06:15:39.104Z] 2022-10-18 06:15:38,890 [execute] INFO git cat-file --batch-check [2022-10-18T06:15:39.104Z] 2022-10-18 06:15:38,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T06:15:39.104Z] 2022-10-18 06:15:38,898 [execute] INFO git cat-file --batch [2022-10-18T06:15:39.104Z] 2022-10-18 06:15:38,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T06:15:39.104Z] 2022-10-18 06:15:38,903 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 [2022-10-18T06:15:39.104Z] 0.0.0 [Pipeline] } [2022-10-18T06:15:39.114Z] $ docker exec --env ******** --env ******** ddf6d42a3a0508b99b68e94e6e7ccf49faa7db59e9a6319c9f913a437f8ea7ee ssh-agent -k [2022-10-18T06:15:39.205Z] unset SSH_AUTH_SOCK; [2022-10-18T06:15:39.205Z] unset SSH_AGENT_PID; [2022-10-18T06:15:39.205Z] echo Agent pid 77 killed; [2022-10-18T06:15:39.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-18T06:15:39.512Z] + git semver [Pipeline] } [2022-10-18T06:15:39.783Z] $ docker stop --time=1 ddf6d42a3a0508b99b68e94e6e7ccf49faa7db59e9a6319c9f913a437f8ea7ee [2022-10-18T06:15:41.162Z] $ docker rm -f ddf6d42a3a0508b99b68e94e6e7ccf49faa7db59e9a6319c9f913a437f8ea7ee [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T06:15:41.531Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-18T06:15:41.713Z] Stashed 1 file(s) [Pipeline] echo [2022-10-18T06:15:41.716Z] [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-18T06:15:41.849Z] provisioning config files... [2022-10-18T06:15:41.860Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config8564778380897553957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:15:42.163Z] ---> docker-login.sh [2022-10-18T06:15:42.163Z] nexus3.edgexfoundry.org:10001 [2022-10-18T06:15:42.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:42.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:42.163Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:42.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:42.163Z] [2022-10-18T06:15:42.163Z] Login Succeeded [2022-10-18T06:15:42.163Z] nexus3.edgexfoundry.org:10002 [2022-10-18T06:15:42.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:42.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:42.163Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:42.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:42.163Z] [2022-10-18T06:15:42.163Z] Login Succeeded [2022-10-18T06:15:42.163Z] nexus3.edgexfoundry.org:10003 [2022-10-18T06:15:42.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:42.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:42.422Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:42.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:42.422Z] [2022-10-18T06:15:42.422Z] Login Succeeded [2022-10-18T06:15:42.422Z] nexus3.edgexfoundry.org:10004 [2022-10-18T06:15:42.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:42.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:42.422Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:42.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:42.422Z] [2022-10-18T06:15:42.422Z] Login Succeeded [2022-10-18T06:15:42.422Z] docker.io [2022-10-18T06:15:42.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:15:42.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:15:42.940Z] Configure a credential helper to remove this warning. See [2022-10-18T06:15:42.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:15:42.940Z] [2022-10-18T06:15:42.940Z] Login Succeeded [2022-10-18T06:15:42.940Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T06:15:42.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T06:15:43.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T06:15:43.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T06:15:43.032Z] ========================================================= [2022-10-18T06:15:43.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-18T06:15:43.032Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:15:43.344Z] + 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-18T06:15:43.344Z] Sending build context to Docker daemon 1.541MB [2022-10-18T06:15:43.344Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T06:15:43.344Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-18T06:15:43.344Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-18T06:15:43.344Z] 213ec9aee27d: Pulling fs layer [2022-10-18T06:15:43.344Z] 4583459ba037: Pulling fs layer [2022-10-18T06:15:43.344Z] 93c1e223e6f2: Pulling fs layer [2022-10-18T06:15:43.344Z] 53926ce57604: Pulling fs layer [2022-10-18T06:15:43.344Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-18T06:15:43.344Z] 30f14e443154: Pulling fs layer [2022-10-18T06:15:43.344Z] 801331c1e519: Pulling fs layer [2022-10-18T06:15:43.344Z] 99cc6dd402b0: Pulling fs layer [2022-10-18T06:15:43.344Z] 7d9ed39f4882: Pulling fs layer [2022-10-18T06:15:43.344Z] 99cc6dd402b0: Waiting [2022-10-18T06:15:43.344Z] 801331c1e519: Waiting [2022-10-18T06:15:43.344Z] 53926ce57604: Waiting [2022-10-18T06:15:43.344Z] 21b2b0c7a3f4: Waiting [2022-10-18T06:15:43.344Z] 30f14e443154: Waiting [2022-10-18T06:15:43.344Z] 7d9ed39f4882: Waiting [2022-10-18T06:15:43.344Z] 93c1e223e6f2: Download complete [2022-10-18T06:15:43.344Z] 4583459ba037: Verifying Checksum [2022-10-18T06:15:43.344Z] 4583459ba037: Download complete [2022-10-18T06:15:43.344Z] 21b2b0c7a3f4: Download complete [2022-10-18T06:15:43.607Z] 30f14e443154: Verifying Checksum [2022-10-18T06:15:43.607Z] 30f14e443154: Download complete [2022-10-18T06:15:43.607Z] 213ec9aee27d: Verifying Checksum [2022-10-18T06:15:43.607Z] 213ec9aee27d: Download complete [2022-10-18T06:15:43.607Z] 801331c1e519: Verifying Checksum [2022-10-18T06:15:43.607Z] 801331c1e519: Download complete [2022-10-18T06:15:43.607Z] 213ec9aee27d: Pull complete [2022-10-18T06:15:43.878Z] 4583459ba037: Pull complete [2022-10-18T06:15:43.878Z] 93c1e223e6f2: Pull complete [2022-10-18T06:15:44.143Z] 7d9ed39f4882: Verifying Checksum [2022-10-18T06:15:44.143Z] 7d9ed39f4882: Download complete [2022-10-18T06:15:44.143Z] 99cc6dd402b0: Verifying Checksum [2022-10-18T06:15:44.143Z] 99cc6dd402b0: Download complete [2022-10-18T06:15:44.404Z] 53926ce57604: Verifying Checksum [2022-10-18T06:15:44.404Z] 53926ce57604: Download complete [2022-10-18T06:15:48.593Z] 53926ce57604: Pull complete [2022-10-18T06:15:48.593Z] 21b2b0c7a3f4: Pull complete [2022-10-18T06:15:48.593Z] 30f14e443154: Pull complete [2022-10-18T06:15:48.593Z] 801331c1e519: Pull complete [2022-10-18T06:15:51.123Z] 99cc6dd402b0: Pull complete [2022-10-18T06:15:51.690Z] 7d9ed39f4882: Pull complete [2022-10-18T06:15:51.690Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-18T06:15:51.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-18T06:15:51.690Z] ---> 1dedd983c030 [2022-10-18T06:15:51.690Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-18T06:15:53.599Z] ---> Running in 865bc5e11c0d [2022-10-18T06:15:53.599Z] Removing intermediate container 865bc5e11c0d [2022-10-18T06:15:53.599Z] ---> 7743e6510ff1 [2022-10-18T06:15:53.599Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T06:15:53.599Z] ---> Running in 44e448ab5329 [2022-10-18T06:15:53.861Z] Removing intermediate container 44e448ab5329 [2022-10-18T06:15:53.861Z] ---> 53bc329e240a [2022-10-18T06:15:53.861Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-18T06:15:53.861Z] ---> Running in 38cc10c10bba [2022-10-18T06:15:53.861Z] Removing intermediate container 38cc10c10bba [2022-10-18T06:15:53.861Z] ---> 455bd820a77b [2022-10-18T06:15:53.861Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-18T06:15:54.121Z] ---> Running in c8ce6f82ea11 [2022-10-18T06:15:54.121Z] Removing intermediate container c8ce6f82ea11 [2022-10-18T06:15:54.121Z] ---> eb70ff74d16a [2022-10-18T06:15:54.121Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:15:54.121Z] ---> Running in 49aed678e8cd [2022-10-18T06:15:54.691Z] Removing intermediate container 49aed678e8cd [2022-10-18T06:15:54.691Z] ---> a3dcd31f4eb0 [2022-10-18T06:15:54.691Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T06:15:54.950Z] ---> Running in 092ec99d04b1 [2022-10-18T06:15:55.210Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T06:15:56.146Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T06:15:56.405Z] (1/80) Installing mesa (21.3.8-r2) [2022-10-18T06:15:56.405Z] (2/80) Installing libxau (1.0.9-r0) [2022-10-18T06:15:56.665Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-10-18T06:15:56.665Z] (4/80) Installing libxcb (1.15-r0) [2022-10-18T06:15:56.665Z] (5/80) Installing libx11 (1.8-r0) [2022-10-18T06:15:56.805Z] Still waiting to schedule task [2022-10-18T06:15:56.805Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-18T06:15:56.925Z] (6/80) Installing libxext (1.3.4-r0) [2022-10-18T06:15:56.925Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-10-18T06:15:56.925Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-10-18T06:15:57.184Z] (9/80) Installing libpciaccess (0.16-r0) [2022-10-18T06:15:57.184Z] (10/80) Installing libdrm (2.4.110-r0) [2022-10-18T06:15:57.184Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-10-18T06:15:57.443Z] (12/80) Installing libxshmfence (1.3-r1) [2022-10-18T06:15:57.443Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-10-18T06:15:57.443Z] (14/80) Installing icu-data-full (71.1-r2) [2022-10-18T06:15:58.381Z] (15/80) Installing libice (1.0.10-r0) [2022-10-18T06:15:58.382Z] (16/80) Installing libuuid (2.38-r1) [2022-10-18T06:15:58.640Z] (17/80) Installing libsm (1.2.3-r0) [2022-10-18T06:15:58.641Z] (18/80) Installing libxt (1.2.1-r0) [2022-10-18T06:15:58.641Z] (19/80) Installing libxmu (1.1.3-r0) [2022-10-18T06:15:58.900Z] (20/80) Installing xset (1.2.4-r0) [2022-10-18T06:15:58.900Z] (21/80) Installing xprop (1.2.5-r0) [2022-10-18T06:15:58.900Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-10-18T06:15:59.160Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-10-18T06:15:59.160Z] (24/80) Installing libffi (3.4.2-r1) [2022-10-18T06:15:59.160Z] (25/80) Installing libintl (0.21-r2) [2022-10-18T06:15:59.419Z] (26/80) Installing libblkid (2.38-r1) [2022-10-18T06:15:59.419Z] (27/80) Installing libmount (2.38-r1) [2022-10-18T06:15:59.419Z] (28/80) Installing pcre (8.45-r2) [2022-10-18T06:15:59.677Z] (29/80) Installing glib (2.72.1-r0) [2022-10-18T06:15:59.678Z] (30/80) Installing icu-libs (71.1-r2) [2022-10-18T06:15:59.936Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-10-18T06:16:00.194Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-10-18T06:16:00.194Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-10-18T06:16:00.454Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-10-18T06:16:00.713Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-10-18T06:16:00.713Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-10-18T06:16:00.713Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-10-18T06:16:00.981Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-10-18T06:16:01.241Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-10-18T06:16:01.500Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-10-18T06:16:01.500Z] (41/80) Installing libpng (1.6.37-r1) [2022-10-18T06:16:01.500Z] (42/80) Installing freetype (2.12.1-r0) [2022-10-18T06:16:01.761Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-10-18T06:16:01.761Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-10-18T06:16:01.761Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-10-18T06:16:02.021Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-10-18T06:16:02.021Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-10-18T06:16:02.281Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-10-18T06:16:02.281Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-10-18T06:16:02.281Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-10-18T06:16:02.541Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-10-18T06:16:02.541Z] (52/80) Installing avahi-libs (0.8-r6) [2022-10-18T06:16:02.541Z] (53/80) Installing nettle (3.7.3-r0) [2022-10-18T06:16:02.801Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-10-18T06:16:02.801Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-10-18T06:16:02.801Z] (56/80) Installing libunistring (1.0-r0) [2022-10-18T06:16:03.061Z] (57/80) Installing gnutls (3.7.7-r0) [2022-10-18T06:16:03.061Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-10-18T06:16:03.320Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-10-18T06:16:03.320Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-10-18T06:16:03.320Z] (61/80) Installing libevdev (1.12.1-r0) [2022-10-18T06:16:03.579Z] (62/80) Installing mtdev (1.1.6-r0) [2022-10-18T06:16:03.579Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-10-18T06:16:03.579Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-10-18T06:16:03.839Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-10-18T06:16:03.839Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-10-18T06:16:03.839Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-10-18T06:16:04.098Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-10-18T06:16:04.098Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-10-18T06:16:04.098Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-10-18T06:16:04.357Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-10-18T06:16:04.357Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-10-18T06:16:04.925Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-10-18T06:16:04.925Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-10-18T06:16:05.184Z] (75/80) Installing udev-init-scripts (35-r0) [2022-10-18T06:16:05.184Z] Executing udev-init-scripts-35-r0.post-install [2022-10-18T06:16:05.184Z] (76/80) Installing kmod-libs (29-r2) [2022-10-18T06:16:05.184Z] (77/80) Installing eudev (3.2.11-r0) [2022-10-18T06:16:05.443Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-10-18T06:16:05.443Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-10-18T06:16:05.709Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-10-18T06:16:05.709Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T06:16:05.709Z] Executing eudev-3.2.11-r0.trigger [2022-10-18T06:16:05.709Z] OK: 330 MiB in 131 packages [2022-10-18T06:16:08.254Z] Removing intermediate container 092ec99d04b1 [2022-10-18T06:16:08.254Z] ---> c274deae1560 [2022-10-18T06:16:08.254Z] Step 9/14 : WORKDIR /device-usb-camera [2022-10-18T06:16:08.254Z] ---> Running in 1481ae399a0f [2022-10-18T06:16:08.254Z] Removing intermediate container 1481ae399a0f [2022-10-18T06:16:08.254Z] ---> f7de387cae6e [2022-10-18T06:16:08.254Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-18T06:16:08.254Z] ---> debaca0827d0 [2022-10-18T06:16:08.254Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T06:16:08.254Z] ---> Running in 033a36521bb2 [2022-10-18T06:16:30.189Z] Removing intermediate container 033a36521bb2 [2022-10-18T06:16:30.189Z] ---> 36ab4814749c [2022-10-18T06:16:30.189Z] Step 12/14 : COPY . . [2022-10-18T06:16:30.189Z] ---> e01f11bbbdeb [2022-10-18T06:16:30.189Z] Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-18T06:16:30.189Z] ---> Running in 10ddb4c7a522 [2022-10-18T06:16:30.189Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T06:16:30.189Z] Dload Upload Total Spent Left Speed [2022-10-18T06:16:30.189Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9737 0 --:--:-- --:--:-- --:--:-- 9833 [2022-10-18T06:16:30.189Z] Removing intermediate container 10ddb4c7a522 [2022-10-18T06:16:30.189Z] ---> 58207264d838 [2022-10-18T06:16:30.189Z] Step 14/14 : RUN ${MAKE} [2022-10-18T06:16:30.189Z] ---> Running in 84dda4b867c5 [2022-10-18T06:16:30.189Z] noop [2022-10-18T06:16:30.189Z] Removing intermediate container 84dda4b867c5 [2022-10-18T06:16:30.189Z] ---> 51b2c9d26d6d [2022-10-18T06:16:30.189Z] Successfully built 51b2c9d26d6d [2022-10-18T06:16:30.189Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:16:30.495Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T06:16:30.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:16:30.560Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2022-10-18T06:16:30.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-18T06:16:31.001Z] $ docker top 0dfbd09e3e4d11099d673511a0b204b999d37f58803ad459f15143203c04a6ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:16:31.354Z] + go version [2022-10-18T06:16:31.354Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-18T06:16:31.365Z] $ docker stop --time=1 0dfbd09e3e4d11099d673511a0b204b999d37f58803ad459f15143203c04a6ef [2022-10-18T06:16:32.672Z] $ docker rm -f 0dfbd09e3e4d11099d673511a0b204b999d37f58803ad459f15143203c04a6ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:16:33.058Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T06:16:33.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:16:33.123Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2022-10-18T06:16:33.151Z] $ 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-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-18T06:16:33.539Z] $ docker top 7b16b660b728a6bf9315dff581b8bf57d6a13b63fadf83c94f2e9d3127671c7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:16:33.889Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-100 [Pipeline] fileExists [Pipeline] sh [2022-10-18T06:16:34.191Z] + make test [2022-10-18T06:16:34.191Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-10-18T06:16:34.450Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-10-18T06:16:46.665Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-10-18T06:16:46.665Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements [2022-10-18T06:16:53.228Z] 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-18T06:16:53.228Z] CGO_ENABLED=1 go vet ./... [2022-10-18T06:16:56.511Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T06:16:56.511Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T06:16:56.511Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-18T06:16:56.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T06:16:56.790Z] $ docker stop --time=1 7b16b660b728a6bf9315dff581b8bf57d6a13b63fadf83c94f2e9d3127671c7e [2022-10-18T06:16:58.558Z] $ docker rm -f 7b16b660b728a6bf9315dff581b8bf57d6a13b63fadf83c94f2e9d3127671c7e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T06:16:59.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T06:16:59.072Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-18T06:16:59.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T06:16:59.865Z] + ls -al . [2022-10-18T06:16:59.865Z] total 196 [2022-10-18T06:16:59.865Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 06:16 . [2022-10-18T06:16:59.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:15 .. [2022-10-18T06:16:59.865Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 06:16 .git [2022-10-18T06:16:59.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:15 .github [2022-10-18T06:16:59.865Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 18 06:15 .gitignore [2022-10-18T06:16:59.865Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 06:15 .golangci.yml [2022-10-18T06:16:59.865Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 18 06:15 .hadolint.yml [2022-10-18T06:16:59.865Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 06:15 .semver [2022-10-18T06:16:59.865Z] -rw-rw-r-- 1 jenkins jenkins 9702 Oct 18 06:15 Attribution.txt [2022-10-18T06:16:59.865Z] -rw-rw-r-- 1 jenkins jenkins 1206 Oct 18 06:15 CHANGELOG.md [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 2467 Oct 18 06:15 Dockerfile [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 18 06:15 GOVERNANCE.md [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 18 06:15 Jenkinsfile [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 06:15 LICENSE [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 2554 Oct 18 06:15 Makefile [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 18 06:15 OWNERS.md [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 5773 Oct 18 06:15 README.md [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 06:15 VERSION [2022-10-18T06:16:59.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 06:15 bin [2022-10-18T06:16:59.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:15 cmd [2022-10-18T06:16:59.866Z] -rw-r--r-- 1 jenkins jenkins 29387 Oct 18 06:16 coverage.out [2022-10-18T06:16:59.866Z] -rwxrwxr-x 1 jenkins jenkins 140 Oct 18 06:15 docker-entrypoint.sh [2022-10-18T06:16:59.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:15 docs [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 3633 Oct 18 06:15 go.mod [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 38103 Oct 18 06:15 go.sum [2022-10-18T06:16:59.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:15 internal [2022-10-18T06:16:59.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:15 snap [2022-10-18T06:16:59.866Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 18 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:17:00.171Z] + 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=0d712a80d3ec25a32f333d3695beb20b07da4f6c --label arch=amd64 --label version=0.0.0 . [2022-10-18T06:17:00.171Z] Sending build context to Docker daemon 1.571MB [2022-10-18T06:17:00.171Z] Step 1/36 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T06:17:00.171Z] Step 2/36 : FROM ${BASE} AS builder [2022-10-18T06:17:00.171Z] ---> 51b2c9d26d6d [2022-10-18T06:17:00.171Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2022-10-18T06:17:00.171Z] ---> Running in 136357f70921 [2022-10-18T06:17:00.442Z] Removing intermediate container 136357f70921 [2022-10-18T06:17:00.442Z] ---> c3ae27c8ff4a [2022-10-18T06:17:00.442Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T06:17:00.442Z] ---> Running in 0649bd63e531 [2022-10-18T06:17:00.442Z] Removing intermediate container 0649bd63e531 [2022-10-18T06:17:00.442Z] ---> 5387ebe72da3 [2022-10-18T06:17:00.442Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-18T06:17:00.702Z] ---> Running in c0c79c21b208 [2022-10-18T06:17:00.702Z] Removing intermediate container c0c79c21b208 [2022-10-18T06:17:00.702Z] ---> 091f8ab0d977 [2022-10-18T06:17:00.702Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-18T06:17:00.702Z] ---> Running in 54705c8e9e1e [2022-10-18T06:17:00.702Z] Removing intermediate container 54705c8e9e1e [2022-10-18T06:17:00.702Z] ---> a400dc3c963d [2022-10-18T06:17:00.703Z] Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:17:00.962Z] ---> Running in 4a1ee763c400 [2022-10-18T06:17:01.529Z] Removing intermediate container 4a1ee763c400 [2022-10-18T06:17:01.529Z] ---> 46a0a964849a [2022-10-18T06:17:01.529Z] Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T06:17:01.529Z] ---> Running in a45cd9b92492 [2022-10-18T06:17:01.787Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T06:17:02.723Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T06:17:02.981Z] OK: 330 MiB in 131 packages [2022-10-18T06:17:03.554Z] Removing intermediate container a45cd9b92492 [2022-10-18T06:17:03.554Z] ---> 31ab38577a15 [2022-10-18T06:17:03.554Z] Step 9/36 : WORKDIR /device-usb-camera [2022-10-18T06:17:03.554Z] ---> Running in 56d2e3f2bf58 [2022-10-18T06:17:03.554Z] Removing intermediate container 56d2e3f2bf58 [2022-10-18T06:17:03.554Z] ---> 83c7d159bb9a [2022-10-18T06:17:03.554Z] Step 10/36 : COPY go.mod vendor* ./ [2022-10-18T06:17:03.812Z] ---> 56cf73332909 [2022-10-18T06:17:03.812Z] Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T06:17:03.812Z] ---> Running in 2da5686eed1a [2022-10-18T06:17:04.379Z] Removing intermediate container 2da5686eed1a [2022-10-18T06:17:04.379Z] ---> 165ece32b5d8 [2022-10-18T06:17:04.379Z] Step 12/36 : COPY . . [2022-10-18T06:17:04.637Z] ---> 13ae42398390 [2022-10-18T06:17:04.637Z] Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-18T06:17:04.895Z] ---> Running in c65aaab008b8 [2022-10-18T06:17:05.153Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T06:17:05.153Z] Dload Upload Total Spent Left Speed [2022-10-18T06:17:05.153Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43235 0 --:--:-- --:--:-- --:--:-- 44250 [2022-10-18T06:17:05.411Z] Removing intermediate container c65aaab008b8 [2022-10-18T06:17:05.411Z] ---> 111b0097c815 [2022-10-18T06:17:05.411Z] Step 14/36 : RUN ${MAKE} [2022-10-18T06:17:05.411Z] ---> Running in bf2f131f3a34 [2022-10-18T06:17:05.977Z] 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.40" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-10-18T06:17:22.112Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8455 in /w/workspace/foundry_device-usb-camera_PR-100 [Pipeline] { [Pipeline] ws [2022-10-18T06:17:22.125Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-18T06:17:22.156Z] Selected Git installation does not exist. Using Default [2022-10-18T06:17:22.156Z] The recommended git tool is: NONE [2022-10-18T06:17:27.011Z] using credential edgex-jenkins-ssh [2022-10-18T06:17:27.027Z] Cloning the remote Git repository [2022-10-18T06:17:27.927Z] Removing intermediate container bf2f131f3a34 [2022-10-18T06:17:27.927Z] ---> c1ea15d21cf3 [2022-10-18T06:17:27.927Z] Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-10-18T06:17:27.927Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-10-18T06:17:28.188Z] af6660deedbd: Pulling fs layer [2022-10-18T06:17:28.188Z] 97cd0a44c592: Pulling fs layer [2022-10-18T06:17:27.060Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-10-18T06:17:27.133Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2022-10-18T06:17:27.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-10-18T06:17:27.262Z] > git --version # timeout=10 [2022-10-18T06:17:27.295Z] > git --version # 'git version 2.25.1' [2022-10-18T06:17:27.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T06:17:27.361Z] Verifying host key using known hosts file [2022-10-18T06:17:27.541Z] 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-18T06:17:27.554Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T06:17:28.447Z] 97cd0a44c592: Verifying Checksum [2022-10-18T06:17:28.447Z] 97cd0a44c592: Download complete [2022-10-18T06:17:28.447Z] af6660deedbd: Verifying Checksum [2022-10-18T06:17:28.447Z] af6660deedbd: Download complete [2022-10-18T06:17:28.706Z] af6660deedbd: Pull complete [2022-10-18T06:17:28.706Z] 97cd0a44c592: Pull complete [2022-10-18T06:17:28.706Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-10-18T06:17:28.706Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-10-18T06:17:28.706Z] ---> fea57e182299 [2022-10-18T06:17:28.706Z] Step 16/36 : FROM alpine:3.16 [2022-10-18T06:17:29.273Z] 3.16: Pulling from library/alpine [2022-10-18T06:17:29.273Z] 213ec9aee27d: Already exists [2022-10-18T06:17:28.272Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-10-18T06:17:28.291Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T06:17:29.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-10-18T06:17:29.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-10-18T06:17:29.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T06:17:29.118Z] Verifying host key using known hosts file [2022-10-18T06:17:29.125Z] 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-18T06:17:29.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-18T06:17:29.532Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T06:17:29.532Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T06:17:29.532Z] ---> 9c6f07244728 [2022-10-18T06:17:29.532Z] Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-18T06:17:29.747Z] Merging remotes/origin/main commit 695cbf35e7563b7af803532131954c37e2b367cb into PR head commit 7fedce7edd12652b29de3089237b3736a9072910 [2022-10-18T06:17:29.792Z] ---> Running in 876affe2c19e [2022-10-18T06:17:29.792Z] Removing intermediate container 876affe2c19e [2022-10-18T06:17:29.792Z] ---> b3ac814d9dfd [2022-10-18T06:17:29.792Z] Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-10-18T06:17:29.792Z] ---> Running in 3a31b18afd46 [2022-10-18T06:17:30.015Z] Merge succeeded, producing 0f0f287a684cd70a054bd4076ba3479e51ab3723 [2022-10-18T06:17:30.015Z] Checking out Revision 0f0f287a684cd70a054bd4076ba3479e51ab3723 (PR-100) [2022-10-18T06:17:30.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T06:17:30.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T06:17:30.307Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-10-18T06:17:30.307Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-10-18T06:17:30.565Z] (3/83) Installing libxau (1.0.9-r0) [2022-10-18T06:17:30.565Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-10-18T06:17:30.565Z] (5/83) Installing libxcb (1.15-r0) [2022-10-18T06:17:30.565Z] (6/83) Installing libx11 (1.8-r0) [2022-10-18T06:17:30.565Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-10-18T06:17:30.565Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-10-18T06:17:30.565Z] (9/83) Installing expat (2.4.9-r0) [2022-10-18T06:17:30.565Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-10-18T06:17:30.565Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-10-18T06:17:30.565Z] (12/83) Installing libpng (1.6.37-r1) [2022-10-18T06:17:30.565Z] (13/83) Installing freetype (2.12.1-r0) [2022-10-18T06:17:30.565Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-10-18T06:17:30.565Z] (15/83) Installing fribidi (1.0.12-r0) [2022-10-18T06:17:30.565Z] (16/83) Installing libffi (3.4.2-r1) [2022-10-18T06:17:30.565Z] (17/83) Installing libintl (0.21-r2) [2022-10-18T06:17:30.565Z] (18/83) Installing libblkid (2.38-r1) [2022-10-18T06:17:30.565Z] (19/83) Installing libmount (2.38-r1) [2022-10-18T06:17:30.565Z] (20/83) Installing pcre (8.45-r2) [2022-10-18T06:17:30.565Z] (21/83) Installing glib (2.72.1-r0) [2022-10-18T06:17:30.824Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-10-18T06:17:30.824Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-10-18T06:17:30.824Z] (24/83) Installing libass (0.16.0-r0) [2022-10-18T06:17:30.824Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-10-18T06:17:30.824Z] (26/83) Installing libpciaccess (0.16-r0) [2022-10-18T06:17:30.824Z] (27/83) Installing libdrm (2.4.110-r0) [2022-10-18T06:17:30.824Z] (28/83) Installing gmp (6.2.1-r2) [2022-10-18T06:17:30.824Z] (29/83) Installing nettle (3.7.3-r0) [2022-10-18T06:17:30.824Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-10-18T06:17:30.824Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-10-18T06:17:30.824Z] (32/83) Installing libunistring (1.0-r0) [2022-10-18T06:17:30.824Z] (33/83) Installing gnutls (3.7.7-r0) [2022-10-18T06:17:30.824Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-18T06:17:30.824Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-18T06:17:30.824Z] (36/83) Installing lame (3.100-r0) [2022-10-18T06:17:30.824Z] (37/83) Installing opus (1.3.1-r1) [2022-10-18T06:17:30.824Z] (38/83) Installing libasyncns (0.8-r1) [2022-10-18T06:17:30.824Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-10-18T06:17:29.759Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T06:17:29.778Z] > git checkout -f 7fedce7edd12652b29de3089237b3736a9072910 # timeout=10 [2022-10-18T06:17:29.870Z] > git remote # timeout=10 [2022-10-18T06:17:29.889Z] > git config --get remote.origin.url # timeout=10 [2022-10-18T06:17:29.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T06:17:29.908Z] Verifying host key using known hosts file [2022-10-18T06:17:29.912Z] 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-18T06:17:29.921Z] > git merge 695cbf35e7563b7af803532131954c37e2b367cb # timeout=10 [2022-10-18T06:17:29.990Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-18T06:17:30.016Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T06:17:30.030Z] > git checkout -f 0f0f287a684cd70a054bd4076ba3479e51ab3723 # timeout=10 [2022-10-18T06:17:31.085Z] (40/83) Installing libltdl (2.4.7-r0) [2022-10-18T06:17:31.085Z] (41/83) Installing orc (0.4.32-r0) [2022-10-18T06:17:31.085Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T06:17:31.085Z] (43/83) Installing libogg (1.3.5-r1) [2022-10-18T06:17:31.085Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T06:17:31.085Z] (45/83) Installing flac (1.3.4-r0) [2022-10-18T06:17:31.085Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-10-18T06:17:31.085Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-10-18T06:17:31.085Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-10-18T06:17:31.085Z] (49/83) Installing soxr (0.1.3-r2) [2022-10-18T06:17:31.085Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-10-18T06:17:31.085Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-10-18T06:17:31.085Z] (52/83) Installing libpulse (15.0-r2) [2022-10-18T06:17:31.085Z] (53/83) Installing cjson (1.7.15-r3) [2022-10-18T06:17:31.085Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-10-18T06:17:31.085Z] (55/83) Installing librist (0.2.6-r1) [2022-10-18T06:17:31.085Z] (56/83) Installing libsrt (1.4.4-r0) [2022-10-18T06:17:31.085Z] (57/83) Installing libssh (0.9.6-r1) [2022-10-18T06:17:31.085Z] (58/83) Installing libtheora (1.1.1-r16) [2022-10-18T06:17:31.085Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-10-18T06:17:31.085Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-10-18T06:17:31.085Z] (61/83) Installing libxext (1.3.4-r0) [2022-10-18T06:17:31.345Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-10-18T06:17:31.345Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-10-18T06:17:31.345Z] (64/83) Installing libva (2.14.0-r0) [2022-10-18T06:17:31.345Z] (65/83) Installing libvdpau (1.5-r0) [2022-10-18T06:17:31.345Z] (66/83) Installing vidstab (1.1.0-r1) [2022-10-18T06:17:31.345Z] (67/83) Installing libvpx (1.11.0-r1) [2022-10-18T06:17:31.345Z] (68/83) Installing libwebp (1.2.3-r0) [2022-10-18T06:17:31.345Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-10-18T06:17:31.345Z] (70/83) Installing numactl (2.0.14-r0) [2022-10-18T06:17:31.345Z] (71/83) Installing x265-libs (3.5-r3) [2022-10-18T06:17:31.345Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-10-18T06:17:31.345Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-10-18T06:17:31.603Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-10-18T06:17:31.603Z] (75/83) Installing udev-init-scripts (35-r0) [2022-10-18T06:17:31.603Z] Executing udev-init-scripts-35-r0.post-install [2022-10-18T06:17:31.603Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-10-18T06:17:31.603Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-10-18T06:17:31.603Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-10-18T06:17:31.603Z] (79/83) Installing kmod-libs (29-r2) [2022-10-18T06:17:31.603Z] (80/83) Installing eudev (3.2.11-r0) [2022-10-18T06:17:31.603Z] (81/83) Installing libsodium (1.0.18-r0) [2022-10-18T06:17:31.603Z] (82/83) Installing libzmq (4.3.4-r0) [2022-10-18T06:17:31.603Z] (83/83) Installing zeromq (4.3.4-r0) [2022-10-18T06:17:31.603Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T06:17:31.603Z] Executing eudev-3.2.11-r0.trigger [2022-10-18T06:17:31.603Z] OK: 101 MiB in 97 packages [2022-10-18T06:17:33.507Z] Removing intermediate container 3a31b18afd46 [2022-10-18T06:17:33.507Z] ---> 02bbe821276b [2022-10-18T06:17:33.507Z] Step 19/36 : WORKDIR / [2022-10-18T06:17:33.507Z] ---> Running in 7aaba165b226 [2022-10-18T06:17:33.507Z] Removing intermediate container 7aaba165b226 [2022-10-18T06:17:33.507Z] ---> 36ba9b7040ab [2022-10-18T06:17:33.507Z] Step 20/36 : COPY --from=builder /device-usb-camera/cmd / [2022-10-18T06:17:33.524Z] Commit message: "Merge commit '695cbf35e7563b7af803532131954c37e2b367cb' into HEAD" [2022-10-18T06:17:33.551Z] First time build. Skipping changelog. [2022-10-18T06:17:33.529Z] > git rev-list --no-walk 9f6c948af4643d692dfd1f6dc5a37606bd27b23c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-10-18T06:17:34.074Z] ---> 905a0e82a037 [2022-10-18T06:17:34.074Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / [Pipeline] sh [2022-10-18T06:17:34.334Z] ---> e2722d74b8ae [2022-10-18T06:17:34.334Z] Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-10-18T06:17:34.334Z] ---> a68fc56888ae [2022-10-18T06:17:34.334Z] Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-10-18T06:17:34.547Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-18T06:17:34.547Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T06:17:34.547Z] Dload Upload Total Spent Left Speed [2022-10-18T06:17:34.547Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 98453 [2022-10-18T06:17:34.598Z] ---> 8f447d1b76e9 [2022-10-18T06:17:34.598Z] Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-10-18T06:17:34.857Z] ---> 62f8e6d0a73f [2022-10-18T06:17:34.857Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-10-18T06:17:34.857Z] ---> b125d6892114 [2022-10-18T06:17:34.857Z] Step 26/36 : COPY --from=rtsp /rtsp-simple-server / [Pipeline] sh [2022-10-18T06:17:35.251Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-18T06:17:35.429Z] ---> 396ada802fe0 [2022-10-18T06:17:35.429Z] Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-10-18T06:17:35.429Z] ---> Running in 3ca4ed63c0de [2022-10-18T06:17:35.612Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-18T06:17:35.612Z] + sudo tee /etc/docker/daemon.new [2022-10-18T06:17:35.612Z] { [2022-10-18T06:17:35.612Z] "registry-mirrors": [ [2022-10-18T06:17:35.612Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-18T06:17:35.612Z] ], [2022-10-18T06:17:35.612Z] "bip": "10.250.0.254/24", [2022-10-18T06:17:35.612Z] "hosts": [ [2022-10-18T06:17:35.612Z] "tcp://0.0.0.0:5555", [2022-10-18T06:17:35.612Z] "unix:///var/run/docker.sock" [2022-10-18T06:17:35.612Z] ], [2022-10-18T06:17:35.612Z] "mtu": 1458, [2022-10-18T06:17:35.612Z] "selinux-enabled": true, [2022-10-18T06:17:35.612Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-18T06:17:35.612Z] } [Pipeline] sh [2022-10-18T06:17:35.940Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-18T06:17:35.998Z] Removing intermediate container 3ca4ed63c0de [2022-10-18T06:17:35.998Z] ---> b85a44e43639 [2022-10-18T06:17:35.998Z] Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-10-18T06:17:35.998Z] ---> Running in a0a398c78743 [2022-10-18T06:17:36.275Z] + sudo service docker restart [2022-10-18T06:17:36.940Z] Removing intermediate container a0a398c78743 [2022-10-18T06:17:36.940Z] ---> 9497a635b7e8 [2022-10-18T06:17:36.940Z] Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-10-18T06:17:36.940Z] ---> Running in 85b8e9677fe9 [2022-10-18T06:17:37.509Z] Removing intermediate container 85b8e9677fe9 [2022-10-18T06:17:37.509Z] ---> c938eddd09eb [2022-10-18T06:17:37.509Z] Step 30/36 : EXPOSE 59983 [2022-10-18T06:17:37.509Z] ---> Running in 654d3f9e41f8 [2022-10-18T06:17:37.509Z] Removing intermediate container 654d3f9e41f8 [2022-10-18T06:17:37.509Z] ---> f11a2f6c0049 [2022-10-18T06:17:37.509Z] Step 31/36 : EXPOSE 8554 [2022-10-18T06:17:37.769Z] ---> Running in 14de39ca1175 [2022-10-18T06:17:37.769Z] Removing intermediate container 14de39ca1175 [2022-10-18T06:17:37.769Z] ---> 21c2cd5556ea [2022-10-18T06:17:37.769Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-10-18T06:17:37.769Z] ---> Running in 2f80bb19d7ff [2022-10-18T06:17:38.032Z] Removing intermediate container 2f80bb19d7ff [2022-10-18T06:17:38.032Z] ---> 0500c6d9c171 [2022-10-18T06:17:38.032Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-10-18T06:17:38.032Z] ---> Running in 3fdcf0eebe4b [2022-10-18T06:17:38.032Z] Removing intermediate container 3fdcf0eebe4b [2022-10-18T06:17:38.032Z] ---> b8f6575636ff [2022-10-18T06:17:38.032Z] Step 34/36 : LABEL arch=amd64 [2022-10-18T06:17:38.292Z] ---> Running in 6bcc7da6db32 [2022-10-18T06:17:38.292Z] Removing intermediate container 6bcc7da6db32 [2022-10-18T06:17:38.292Z] ---> 9d512f162b5a [2022-10-18T06:17:38.292Z] Step 35/36 : LABEL git_sha=0d712a80d3ec25a32f333d3695beb20b07da4f6c [2022-10-18T06:17:38.292Z] ---> Running in 08a6f52cc6ca [2022-10-18T06:17:38.552Z] Removing intermediate container 08a6f52cc6ca [2022-10-18T06:17:38.552Z] ---> a3a8bde3e3b4 [2022-10-18T06:17:38.552Z] Step 36/36 : LABEL version=0.0.0 [2022-10-18T06:17:38.552Z] ---> Running in 2528ae962268 [2022-10-18T06:17:38.552Z] Removing intermediate container 2528ae962268 [2022-10-18T06:17:38.552Z] ---> 976a5796d480 [2022-10-18T06:17:38.552Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T06:17:38.552Z] Successfully built 976a5796d480 [2022-10-18T06:17:38.552Z] 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-18T06:17:38.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T06:17:38.991Z] [2022-10-18T06:17:38.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:17:39.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T06:17:39.289Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-18T06:17:39.289Z] 5eb5b503b376: Pulling fs layer [2022-10-18T06:17:39.289Z] 5c69ac0246d0: Pulling fs layer [2022-10-18T06:17:39.289Z] ec43610c2a17: Pulling fs layer [2022-10-18T06:17:39.289Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-18T06:17:39.289Z] 33b1e0a273af: Pulling fs layer [2022-10-18T06:17:39.289Z] 5d3b04190fa2: Pulling fs layer [2022-10-18T06:17:39.289Z] 2f39f015ded8: Pulling fs layer [2022-10-18T06:17:39.289Z] 3a2ae6a8a46f: Waiting [2022-10-18T06:17:39.289Z] 33b1e0a273af: Waiting [2022-10-18T06:17:39.289Z] 5d3b04190fa2: Waiting [2022-10-18T06:17:39.289Z] 2f39f015ded8: Waiting [2022-10-18T06:17:39.289Z] 5c69ac0246d0: Download complete [2022-10-18T06:17:39.289Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-18T06:17:39.289Z] 3a2ae6a8a46f: Download complete [2022-10-18T06:17:39.549Z] ec43610c2a17: Verifying Checksum [2022-10-18T06:17:39.549Z] ec43610c2a17: Download complete [2022-10-18T06:17:39.549Z] 33b1e0a273af: Verifying Checksum [2022-10-18T06:17:39.549Z] 33b1e0a273af: Download complete [2022-10-18T06:17:39.549Z] 5d3b04190fa2: Verifying Checksum [2022-10-18T06:17:39.549Z] 5d3b04190fa2: Download complete [2022-10-18T06:17:39.549Z] 5eb5b503b376: Verifying Checksum [2022-10-18T06:17:39.549Z] 5eb5b503b376: Download complete [2022-10-18T06:17:40.121Z] 2f39f015ded8: Verifying Checksum [2022-10-18T06:17:40.121Z] 2f39f015ded8: Download complete [2022-10-18T06:17:41.057Z] 5eb5b503b376: Pull complete [2022-10-18T06:17:41.057Z] 5c69ac0246d0: Pull complete [2022-10-18T06:17:41.624Z] ec43610c2a17: Pull complete [2022-10-18T06:17:41.624Z] 3a2ae6a8a46f: Pull complete [2022-10-18T06:17:41.882Z] 33b1e0a273af: Pull complete [2022-10-18T06:17:41.882Z] 5d3b04190fa2: Pull complete [2022-10-18T06:17:46.065Z] 2f39f015ded8: Pull complete [2022-10-18T06:17:46.065Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-18T06:17:46.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T06:17:46.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:17:46.149Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2022-10-18T06:17:46.179Z] $ 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-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T06:17:48.017Z] $ docker top d095d37175dcdb4fb15753b35ce7f3973656e4bdb1eb8ec78aea77ae487f1129 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:17:48.423Z] ---> job-cost.sh [2022-10-18T06:17:48.423Z] lf-activate-venv: SKIPPING [2022-10-18T06:17:48.423Z] INFO: No Stack... [2022-10-18T06:17:48.682Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T06:17:48.941Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T06:17:49.227Z] + cat /w/workspace/foundry_device-usb-camera_PR-100/archives/cost.csv [2022-10-18T06:17:49.227Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T06:17:49.239Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-100-3-stack-cost] [2022-10-18T06:17:49.245Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-100-3-stack-cost] did not exist. Created. [2022-10-18T06:17:49.245Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-100-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T06:17:49.551Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-18T06:17:49.586Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T06:17:49.593Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-100-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T06:17:49.612Z] $ docker stop --time=1 d095d37175dcdb4fb15753b35ce7f3973656e4bdb1eb8ec78aea77ae487f1129 [2022-10-18T06:17:50.799Z] $ docker rm -f d095d37175dcdb4fb15753b35ce7f3973656e4bdb1eb8ec78aea77ae487f1129 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T06:17:54.536Z] provisioning config files... [2022-10-18T06:17:54.559Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config14209228543292814441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:17:54.896Z] ---> docker-login.sh [2022-10-18T06:17:54.896Z] nexus3.edgexfoundry.org:10001 [2022-10-18T06:17:55.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:17:55.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:17:55.445Z] Configure a credential helper to remove this warning. See [2022-10-18T06:17:55.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:17:55.445Z] [2022-10-18T06:17:55.445Z] Login Succeeded [2022-10-18T06:17:55.445Z] nexus3.edgexfoundry.org:10002 [2022-10-18T06:17:55.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:17:55.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:17:55.984Z] Configure a credential helper to remove this warning. See [2022-10-18T06:17:55.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:17:55.984Z] [2022-10-18T06:17:55.984Z] Login Succeeded [2022-10-18T06:17:55.984Z] nexus3.edgexfoundry.org:10003 [2022-10-18T06:17:55.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:17:56.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:17:56.256Z] Configure a credential helper to remove this warning. See [2022-10-18T06:17:56.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:17:56.256Z] [2022-10-18T06:17:56.256Z] Login Succeeded [2022-10-18T06:17:56.256Z] nexus3.edgexfoundry.org:10004 [2022-10-18T06:17:56.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:17:56.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:17:56.533Z] Configure a credential helper to remove this warning. See [2022-10-18T06:17:56.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:17:56.533Z] [2022-10-18T06:17:56.533Z] Login Succeeded [2022-10-18T06:17:56.533Z] docker.io [2022-10-18T06:17:56.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T06:17:57.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T06:17:57.074Z] Configure a credential helper to remove this warning. See [2022-10-18T06:17:57.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T06:17:57.074Z] [2022-10-18T06:17:57.074Z] Login Succeeded [2022-10-18T06:17:57.343Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T06:17:57.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T06:17:57.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T06:17:57.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T06:17:57.532Z] ========================================================= [2022-10-18T06:17:57.532Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-18T06:17:57.532Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:17:57.866Z] + 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-18T06:17:58.136Z] Sending build context to Docker daemon 1.017MB [2022-10-18T06:17:58.136Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T06:17:58.136Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-18T06:17:58.404Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-18T06:17:58.404Z] 9b18e9b68314: Pulling fs layer [2022-10-18T06:17:58.404Z] d32db5db7311: Pulling fs layer [2022-10-18T06:17:58.404Z] d0c4b47475fc: Pulling fs layer [2022-10-18T06:17:58.404Z] 5831b945b038: Pulling fs layer [2022-10-18T06:17:58.404Z] 86bbec2aaacd: Pulling fs layer [2022-10-18T06:17:58.404Z] e10730c5d714: Pulling fs layer [2022-10-18T06:17:58.404Z] 5dd5c2283517: Pulling fs layer [2022-10-18T06:17:58.404Z] d5ac0230b979: Pulling fs layer [2022-10-18T06:17:58.404Z] 5831b945b038: Waiting [2022-10-18T06:17:58.404Z] 86bbec2aaacd: Waiting [2022-10-18T06:17:58.404Z] e10730c5d714: Waiting [2022-10-18T06:17:58.404Z] 5dd5c2283517: Waiting [2022-10-18T06:17:58.404Z] d5ac0230b979: Waiting [2022-10-18T06:17:58.404Z] d0c4b47475fc: Verifying Checksum [2022-10-18T06:17:58.404Z] d0c4b47475fc: Download complete [2022-10-18T06:17:58.404Z] d32db5db7311: Verifying Checksum [2022-10-18T06:17:58.404Z] d32db5db7311: Download complete [2022-10-18T06:17:58.404Z] 86bbec2aaacd: Download complete [2022-10-18T06:17:58.404Z] e10730c5d714: Verifying Checksum [2022-10-18T06:17:58.404Z] e10730c5d714: Download complete [2022-10-18T06:17:58.404Z] 9b18e9b68314: Verifying Checksum [2022-10-18T06:17:58.404Z] 9b18e9b68314: Download complete [2022-10-18T06:17:59.391Z] 9b18e9b68314: Pull complete [2022-10-18T06:17:59.391Z] d5ac0230b979: Verifying Checksum [2022-10-18T06:17:59.391Z] d5ac0230b979: Download complete [2022-10-18T06:17:59.990Z] d32db5db7311: Pull complete [2022-10-18T06:18:00.261Z] d0c4b47475fc: Pull complete [2022-10-18T06:18:00.532Z] 5dd5c2283517: Verifying Checksum [2022-10-18T06:18:00.532Z] 5dd5c2283517: Download complete [2022-10-18T06:18:01.499Z] 5831b945b038: Verifying Checksum [2022-10-18T06:18:01.499Z] 5831b945b038: Download complete [2022-10-18T06:18:13.836Z] 5831b945b038: Pull complete [2022-10-18T06:18:13.836Z] 86bbec2aaacd: Pull complete [2022-10-18T06:18:13.836Z] e10730c5d714: Pull complete [2022-10-18T06:18:20.502Z] 5dd5c2283517: Pull complete [2022-10-18T06:18:21.913Z] d5ac0230b979: Pull complete [2022-10-18T06:18:21.913Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-18T06:18:21.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-18T06:18:21.913Z] ---> 59b3b1a385d4 [2022-10-18T06:18:21.913Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-18T06:18:23.890Z] ---> Running in 52210106f33c [2022-10-18T06:18:23.890Z] Removing intermediate container 52210106f33c [2022-10-18T06:18:23.890Z] ---> 6b200cdb49e0 [2022-10-18T06:18:23.890Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T06:18:23.890Z] ---> Running in 6edfcdcc3846 [2022-10-18T06:18:24.156Z] Removing intermediate container 6edfcdcc3846 [2022-10-18T06:18:24.156Z] ---> b826790aca43 [2022-10-18T06:18:24.156Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-18T06:18:24.424Z] ---> Running in 7868dd386373 [2022-10-18T06:18:24.693Z] Removing intermediate container 7868dd386373 [2022-10-18T06:18:24.693Z] ---> de7a537d1897 [2022-10-18T06:18:24.693Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-18T06:18:24.693Z] ---> Running in c941a8b3a52b [2022-10-18T06:18:24.971Z] Removing intermediate container c941a8b3a52b [2022-10-18T06:18:24.971Z] ---> 27ad6cb19fc1 [2022-10-18T06:18:24.971Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:18:24.971Z] ---> Running in e4db5d6df046 [2022-10-18T06:18:26.933Z] Removing intermediate container e4db5d6df046 [2022-10-18T06:18:26.933Z] ---> 155958b6deeb [2022-10-18T06:18:26.933Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T06:18:26.933Z] ---> Running in b58e8424bd83 [2022-10-18T06:18:27.892Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T06:18:28.473Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T06:18:29.431Z] (1/14) Installing libintl (0.21-r2) [2022-10-18T06:18:29.431Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-10-18T06:18:29.699Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-10-18T06:18:29.699Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-10-18T06:18:29.699Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-10-18T06:18:29.965Z] (6/14) Installing udev-init-scripts (35-r0) [2022-10-18T06:18:29.965Z] Executing udev-init-scripts-35-r0.post-install [2022-10-18T06:18:29.965Z] (7/14) Installing libblkid (2.38-r1) [2022-10-18T06:18:30.231Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-10-18T06:18:30.231Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-10-18T06:18:30.231Z] (10/14) Installing kmod-libs (29-r2) [2022-10-18T06:18:30.499Z] (11/14) Installing eudev (3.2.11-r0) [2022-10-18T06:18:30.499Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-10-18T06:18:30.767Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-10-18T06:18:30.767Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-10-18T06:18:30.767Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T06:18:30.767Z] Executing eudev-3.2.11-r0.trigger [2022-10-18T06:18:31.038Z] OK: 228 MiB in 65 packages [2022-10-18T06:18:31.998Z] Removing intermediate container b58e8424bd83 [2022-10-18T06:18:31.998Z] ---> 644d53b9ce40 [2022-10-18T06:18:31.998Z] Step 9/14 : WORKDIR /device-usb-camera [2022-10-18T06:18:31.998Z] ---> Running in 70aed7bc84c0 [2022-10-18T06:18:32.276Z] Removing intermediate container 70aed7bc84c0 [2022-10-18T06:18:32.276Z] ---> 3f873f44a859 [2022-10-18T06:18:32.276Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-18T06:18:32.863Z] ---> 8ebb92a87860 [2022-10-18T06:18:32.863Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T06:18:32.863Z] ---> Running in 573f0a15df58 [2022-10-18T06:19:19.726Z] Removing intermediate container 573f0a15df58 [2022-10-18T06:19:19.726Z] ---> d15b258a4bfa [2022-10-18T06:19:19.726Z] Step 12/14 : COPY . . [2022-10-18T06:19:19.726Z] ---> 2f755f56f734 [2022-10-18T06:19:19.726Z] Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-18T06:19:19.726Z] ---> Running in 17f02bd4c554 [2022-10-18T06:19:19.726Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T06:19:19.726Z] Dload Upload Total Spent Left Speed [2022-10-18T06:19:19.726Z]  0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 15219 0 --:--:-- --:--:-- --:--:-- 15391 [2022-10-18T06:19:20.311Z] Removing intermediate container 17f02bd4c554 [2022-10-18T06:19:20.311Z] ---> 35c3bbb3cef0 [2022-10-18T06:19:20.311Z] Step 14/14 : RUN ${MAKE} [2022-10-18T06:19:20.579Z] ---> Running in 399db65854f5 [2022-10-18T06:19:21.540Z] noop [2022-10-18T06:19:22.121Z] Removing intermediate container 399db65854f5 [2022-10-18T06:19:22.121Z] ---> 5c97d066f248 [2022-10-18T06:19:22.121Z] Successfully built 5c97d066f248 [2022-10-18T06:19:22.121Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:19:22.464Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T06:19:22.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:19:22.637Z] prd-ubuntu20.04-docker-arm64-4c-16g-8455 does not seem to be running inside a container [2022-10-18T06:19:22.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-18T06:19:23.849Z] $ docker top 2308e2419d6105fd65c1f56750a98172bbd115c2463d13f9cc323df53be21ab7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:19:24.651Z] + go version [2022-10-18T06:19:24.651Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-18T06:19:24.676Z] $ docker stop --time=1 2308e2419d6105fd65c1f56750a98172bbd115c2463d13f9cc323df53be21ab7 [2022-10-18T06:19:26.279Z] $ docker rm -f 2308e2419d6105fd65c1f56750a98172bbd115c2463d13f9cc323df53be21ab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:19:26.790Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T06:19:26.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:19:26.955Z] prd-ubuntu20.04-docker-arm64-4c-16g-8455 does not seem to be running inside a container [2022-10-18T06:19:27.020Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-18T06:19:28.131Z] $ docker top 1a07c64ab63293ea73dc96d3f11109df7cdff83d26eb9b24d84a7a3e9f5cc103 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:19:28.616Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-18T06:19:28.942Z] + make test [2022-10-18T06:19:28.942Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-10-18T06:19:30.885Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-10-18T06:21:07.538Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-10-18T06:21:07.538Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 1.9% of statements [2022-10-18T06:21:07.538Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-18T06:21:07.538Z] CGO_ENABLED=1 go vet ./... [2022-10-18T06:21:19.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T06:21:19.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T06:21:19.861Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-18T06:21:19.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T06:21:19.904Z] $ docker stop --time=1 1a07c64ab63293ea73dc96d3f11109df7cdff83d26eb9b24d84a7a3e9f5cc103 [2022-10-18T06:21:21.660Z] $ docker rm -f 1a07c64ab63293ea73dc96d3f11109df7cdff83d26eb9b24d84a7a3e9f5cc103 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T06:21:22.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T06:21:22.574Z] Warning: overwriting stash ‘coverage-report’ [2022-10-18T06:21:22.954Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T06:21:23.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T06:21:23.658Z] + ls -al . [2022-10-18T06:21:23.658Z] total 192 [2022-10-18T06:21:23.658Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 06:19 . [2022-10-18T06:21:23.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:17 .. [2022-10-18T06:21:23.658Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 06:17 .git [2022-10-18T06:21:23.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:17 .github [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 18 06:17 .gitignore [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 06:17 .golangci.yml [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 18 06:17 .hadolint.yml [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 9702 Oct 18 06:17 Attribution.txt [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 1206 Oct 18 06:17 CHANGELOG.md [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 2467 Oct 18 06:17 Dockerfile [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 18 06:17 GOVERNANCE.md [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 18 06:17 Jenkinsfile [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 06:17 LICENSE [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 2554 Oct 18 06:17 Makefile [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 18 06:17 OWNERS.md [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 5773 Oct 18 06:17 README.md [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 06:15 VERSION [2022-10-18T06:21:23.658Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 06:17 bin [2022-10-18T06:21:23.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:17 cmd [2022-10-18T06:21:23.658Z] -rw-r--r-- 1 jenkins jenkins 29387 Oct 18 06:20 coverage.out [2022-10-18T06:21:23.658Z] -rwxrwxr-x 1 jenkins jenkins 140 Oct 18 06:17 docker-entrypoint.sh [2022-10-18T06:21:23.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:17 docs [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 3633 Oct 18 06:17 go.mod [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 38103 Oct 18 06:17 go.sum [2022-10-18T06:21:23.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 06:17 internal [2022-10-18T06:21:23.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 06:17 snap [2022-10-18T06:21:23.658Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 18 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:21:23.998Z] + 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=0f0f287a684cd70a054bd4076ba3479e51ab3723 --label arch=arm64 --label version=0.0.0 . [2022-10-18T06:21:24.268Z] Sending build context to Docker daemon 1.048MB [2022-10-18T06:21:24.268Z] Step 1/36 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T06:21:24.268Z] Step 2/36 : FROM ${BASE} AS builder [2022-10-18T06:21:24.268Z] ---> 5c97d066f248 [2022-10-18T06:21:24.268Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2022-10-18T06:21:24.268Z] ---> Running in 7a9c9b6b7829 [2022-10-18T06:21:24.854Z] Removing intermediate container 7a9c9b6b7829 [2022-10-18T06:21:24.854Z] ---> aeac205bd423 [2022-10-18T06:21:24.854Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-18T06:21:24.854Z] ---> Running in 1d7a617ad9ce [2022-10-18T06:21:25.120Z] Removing intermediate container 1d7a617ad9ce [2022-10-18T06:21:25.120Z] ---> 58abfeedcccc [2022-10-18T06:21:25.120Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-18T06:21:25.120Z] ---> Running in 7503055ba54a [2022-10-18T06:21:25.392Z] Removing intermediate container 7503055ba54a [2022-10-18T06:21:25.392Z] ---> 3432d16280f4 [2022-10-18T06:21:25.392Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-18T06:21:25.392Z] ---> Running in 35c91f8166ca [2022-10-18T06:21:25.660Z] Removing intermediate container 35c91f8166ca [2022-10-18T06:21:25.660Z] ---> c93f111843ab [2022-10-18T06:21:25.660Z] Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T06:21:25.931Z] ---> Running in 5298ac7d612e [2022-10-18T06:21:27.489Z] Removing intermediate container 5298ac7d612e [2022-10-18T06:21:27.489Z] ---> 8f2b8d105100 [2022-10-18T06:21:27.489Z] Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-18T06:21:27.489Z] ---> Running in dda88d150d5c [2022-10-18T06:21:28.448Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T06:21:29.503Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T06:21:30.098Z] OK: 228 MiB in 65 packages [2022-10-18T06:21:31.086Z] Removing intermediate container dda88d150d5c [2022-10-18T06:21:31.086Z] ---> f15c0e76ae1e [2022-10-18T06:21:31.086Z] Step 9/36 : WORKDIR /device-usb-camera [2022-10-18T06:21:31.086Z] ---> Running in 0a93e7288ba2 [2022-10-18T06:21:31.360Z] Removing intermediate container 0a93e7288ba2 [2022-10-18T06:21:31.360Z] ---> 76bc2bf67d3a [2022-10-18T06:21:31.360Z] Step 10/36 : COPY go.mod vendor* ./ [2022-10-18T06:21:31.960Z] ---> abe6e042d15d [2022-10-18T06:21:31.960Z] Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T06:21:31.960Z] ---> Running in dd50a3a3ca8a [2022-10-18T06:21:33.915Z] Removing intermediate container dd50a3a3ca8a [2022-10-18T06:21:33.915Z] ---> 6b18a0865c58 [2022-10-18T06:21:33.915Z] Step 12/36 : COPY . . [2022-10-18T06:21:34.879Z] ---> c4adfda7a88e [2022-10-18T06:21:34.879Z] Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-18T06:21:34.879Z] ---> Running in 0e49b9d62e75 [2022-10-18T06:21:35.845Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T06:21:35.845Z] Dload Upload Total Spent Left Speed [2022-10-18T06:21:35.845Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7955 0 --:--:-- --:--:-- --:--:-- 7984 [2022-10-18T06:21:36.434Z] Removing intermediate container 0e49b9d62e75 [2022-10-18T06:21:36.434Z] ---> 8d15aacf11b9 [2022-10-18T06:21:36.434Z] Step 14/36 : RUN ${MAKE} [2022-10-18T06:21:36.434Z] ---> Running in e37cf909234a [2022-10-18T06:21:37.397Z] 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.40" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-10-18T06:24:14.147Z] Removing intermediate container e37cf909234a [2022-10-18T06:24:14.147Z] ---> 1dc9f977bd82 [2022-10-18T06:24:14.147Z] Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-10-18T06:24:14.147Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-10-18T06:24:14.147Z] eab2503cf8f4: Pulling fs layer [2022-10-18T06:24:14.147Z] 97cd0a44c592: Pulling fs layer [2022-10-18T06:24:14.147Z] 97cd0a44c592: Download complete [2022-10-18T06:24:14.147Z] eab2503cf8f4: Verifying Checksum [2022-10-18T06:24:14.147Z] eab2503cf8f4: Download complete [2022-10-18T06:24:14.147Z] eab2503cf8f4: Pull complete [2022-10-18T06:24:14.147Z] 97cd0a44c592: Pull complete [2022-10-18T06:24:14.147Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-10-18T06:24:14.147Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-10-18T06:24:14.147Z] ---> 7f763cca56b3 [2022-10-18T06:24:14.147Z] Step 16/36 : FROM alpine:3.16 [2022-10-18T06:24:14.147Z] 3.16: Pulling from library/alpine [2022-10-18T06:24:14.147Z] 9b18e9b68314: Already exists [2022-10-18T06:24:14.147Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T06:24:14.147Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T06:24:14.147Z] ---> a6215f271958 [2022-10-18T06:24:14.147Z] Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-18T06:24:14.147Z] ---> Running in 68c8a5d3a800 [2022-10-18T06:24:14.147Z] Removing intermediate container 68c8a5d3a800 [2022-10-18T06:24:14.147Z] ---> ce246ac5bb84 [2022-10-18T06:24:14.147Z] Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-10-18T06:24:14.147Z] ---> Running in 179f1aa48303 [2022-10-18T06:24:14.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T06:24:14.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T06:24:15.646Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-10-18T06:24:15.646Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-10-18T06:24:15.646Z] (3/82) Installing libxau (1.0.9-r0) [2022-10-18T06:24:15.646Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-10-18T06:24:15.646Z] (5/82) Installing libxcb (1.15-r0) [2022-10-18T06:24:15.646Z] (6/82) Installing libx11 (1.8-r0) [2022-10-18T06:24:15.912Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-10-18T06:24:15.912Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-10-18T06:24:15.912Z] (9/82) Installing expat (2.4.9-r0) [2022-10-18T06:24:15.912Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-10-18T06:24:15.912Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-10-18T06:24:15.912Z] (12/82) Installing libpng (1.6.37-r1) [2022-10-18T06:24:15.912Z] (13/82) Installing freetype (2.12.1-r0) [2022-10-18T06:24:16.180Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-10-18T06:24:16.180Z] (15/82) Installing fribidi (1.0.12-r0) [2022-10-18T06:24:16.180Z] (16/82) Installing libffi (3.4.2-r1) [2022-10-18T06:24:16.180Z] (17/82) Installing libintl (0.21-r2) [2022-10-18T06:24:16.180Z] (18/82) Installing libblkid (2.38-r1) [2022-10-18T06:24:16.180Z] (19/82) Installing libmount (2.38-r1) [2022-10-18T06:24:16.180Z] (20/82) Installing pcre (8.45-r2) [2022-10-18T06:24:16.180Z] (21/82) Installing glib (2.72.1-r0) [2022-10-18T06:24:16.445Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-10-18T06:24:16.445Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-10-18T06:24:16.445Z] (24/82) Installing libass (0.16.0-r0) [2022-10-18T06:24:16.445Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-10-18T06:24:16.445Z] (26/82) Installing libdrm (2.4.110-r0) [2022-10-18T06:24:16.445Z] (27/82) Installing gmp (6.2.1-r2) [2022-10-18T06:24:16.445Z] (28/82) Installing nettle (3.7.3-r0) [2022-10-18T06:24:16.445Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-10-18T06:24:16.445Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-10-18T06:24:16.445Z] (31/82) Installing libunistring (1.0-r0) [2022-10-18T06:24:16.711Z] (32/82) Installing gnutls (3.7.7-r0) [2022-10-18T06:24:16.711Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-18T06:24:16.711Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-18T06:24:16.711Z] (35/82) Installing lame (3.100-r0) [2022-10-18T06:24:16.711Z] (36/82) Installing opus (1.3.1-r1) [2022-10-18T06:24:16.711Z] (37/82) Installing libasyncns (0.8-r1) [2022-10-18T06:24:16.711Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-10-18T06:24:16.711Z] (39/82) Installing libltdl (2.4.7-r0) [2022-10-18T06:24:16.711Z] (40/82) Installing orc (0.4.32-r0) [2022-10-18T06:24:16.711Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T06:24:16.711Z] (42/82) Installing libogg (1.3.5-r1) [2022-10-18T06:24:16.711Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T06:24:16.711Z] (44/82) Installing flac (1.3.4-r0) [2022-10-18T06:24:16.975Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-10-18T06:24:16.975Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-10-18T06:24:16.975Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-10-18T06:24:16.975Z] (48/82) Installing soxr (0.1.3-r2) [2022-10-18T06:24:16.975Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-10-18T06:24:16.975Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-10-18T06:24:16.975Z] (51/82) Installing libpulse (15.0-r2) [2022-10-18T06:24:16.975Z] (52/82) Installing cjson (1.7.15-r3) [2022-10-18T06:24:16.975Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-10-18T06:24:16.975Z] (54/82) Installing librist (0.2.6-r1) [2022-10-18T06:24:16.975Z] (55/82) Installing libsrt (1.4.4-r0) [2022-10-18T06:24:16.975Z] (56/82) Installing libssh (0.9.6-r1) [2022-10-18T06:24:16.975Z] (57/82) Installing libtheora (1.1.1-r16) [2022-10-18T06:24:16.975Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-10-18T06:24:16.975Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-10-18T06:24:17.240Z] (60/82) Installing libxext (1.3.4-r0) [2022-10-18T06:24:17.240Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-10-18T06:24:17.240Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-10-18T06:24:17.240Z] (63/82) Installing libva (2.14.0-r0) [2022-10-18T06:24:17.240Z] (64/82) Installing libvdpau (1.5-r0) [2022-10-18T06:24:17.240Z] (65/82) Installing vidstab (1.1.0-r1) [2022-10-18T06:24:17.240Z] (66/82) Installing libvpx (1.11.0-r1) [2022-10-18T06:24:17.240Z] (67/82) Installing libwebp (1.2.3-r0) [2022-10-18T06:24:17.240Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-10-18T06:24:17.240Z] (69/82) Installing numactl (2.0.14-r0) [2022-10-18T06:24:17.240Z] (70/82) Installing x265-libs (3.5-r3) [2022-10-18T06:24:17.505Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-10-18T06:24:17.505Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-10-18T06:24:18.089Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-10-18T06:24:18.089Z] (74/82) Installing udev-init-scripts (35-r0) [2022-10-18T06:24:18.089Z] Executing udev-init-scripts-35-r0.post-install [2022-10-18T06:24:18.089Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-10-18T06:24:18.089Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-10-18T06:24:18.089Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-10-18T06:24:18.089Z] (78/82) Installing kmod-libs (29-r2) [2022-10-18T06:24:18.089Z] (79/82) Installing eudev (3.2.11-r0) [2022-10-18T06:24:18.089Z] (80/82) Installing libsodium (1.0.18-r0) [2022-10-18T06:24:18.089Z] (81/82) Installing libzmq (4.3.4-r0) [2022-10-18T06:24:18.089Z] (82/82) Installing zeromq (4.3.4-r0) [2022-10-18T06:24:18.089Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T06:24:18.089Z] Executing eudev-3.2.11-r0.trigger [2022-10-18T06:24:18.089Z] OK: 78 MiB in 96 packages [2022-10-18T06:24:21.429Z] Removing intermediate container 179f1aa48303 [2022-10-18T06:24:21.429Z] ---> 52479d7c163c [2022-10-18T06:24:21.429Z] Step 19/36 : WORKDIR / [2022-10-18T06:24:21.429Z] ---> Running in 6a6af9cd2aa8 [2022-10-18T06:24:21.429Z] Removing intermediate container 6a6af9cd2aa8 [2022-10-18T06:24:21.429Z] ---> 37cb6f93ec0c [2022-10-18T06:24:21.429Z] Step 20/36 : COPY --from=builder /device-usb-camera/cmd / [2022-10-18T06:24:22.844Z] ---> d6fda7f49461 [2022-10-18T06:24:22.844Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / [2022-10-18T06:24:23.428Z] ---> 4c0e06515d0e [2022-10-18T06:24:23.428Z] Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-10-18T06:24:24.008Z] ---> da9b82c6111b [2022-10-18T06:24:24.008Z] Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-10-18T06:24:24.280Z] ---> 8dcbb7d7bec2 [2022-10-18T06:24:24.280Z] Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-10-18T06:24:24.864Z] ---> f02eb7629a3e [2022-10-18T06:24:24.864Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-10-18T06:24:25.445Z] ---> 6ef3e2f524f3 [2022-10-18T06:24:25.445Z] Step 26/36 : COPY --from=rtsp /rtsp-simple-server / [2022-10-18T06:24:26.420Z] ---> 0e5cc71809f7 [2022-10-18T06:24:26.420Z] Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-10-18T06:24:26.692Z] ---> Running in 776f634b931e [2022-10-18T06:24:28.106Z] Removing intermediate container 776f634b931e [2022-10-18T06:24:28.106Z] ---> 995f5c0b37a4 [2022-10-18T06:24:28.106Z] Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-10-18T06:24:28.106Z] ---> Running in c6465183a6d6 [2022-10-18T06:24:30.047Z] Removing intermediate container c6465183a6d6 [2022-10-18T06:24:30.047Z] ---> 041c9bfd2474 [2022-10-18T06:24:30.047Z] Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-10-18T06:24:30.047Z] ---> Running in 0fa1f4c6d98e [2022-10-18T06:24:31.455Z] Removing intermediate container 0fa1f4c6d98e [2022-10-18T06:24:31.455Z] ---> 94d0f8d76cf8 [2022-10-18T06:24:31.455Z] Step 30/36 : EXPOSE 59983 [2022-10-18T06:24:31.455Z] ---> Running in 69838eb445af [2022-10-18T06:24:31.722Z] Removing intermediate container 69838eb445af [2022-10-18T06:24:31.722Z] ---> 3a68d84fb904 [2022-10-18T06:24:31.722Z] Step 31/36 : EXPOSE 8554 [2022-10-18T06:24:31.722Z] ---> Running in 8f3aab7e5cd4 [2022-10-18T06:24:31.989Z] Removing intermediate container 8f3aab7e5cd4 [2022-10-18T06:24:31.989Z] ---> c8f9ddced450 [2022-10-18T06:24:31.989Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-10-18T06:24:32.255Z] ---> Running in f67f5da50f98 [2022-10-18T06:24:32.522Z] Removing intermediate container f67f5da50f98 [2022-10-18T06:24:32.522Z] ---> 34cab5695999 [2022-10-18T06:24:32.522Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-10-18T06:24:32.522Z] ---> Running in bf171866c827 [2022-10-18T06:24:32.788Z] Removing intermediate container bf171866c827 [2022-10-18T06:24:32.788Z] ---> 9cd07ebb76d9 [2022-10-18T06:24:32.788Z] Step 34/36 : LABEL arch=arm64 [2022-10-18T06:24:32.788Z] ---> Running in 74cf651830f8 [2022-10-18T06:24:33.054Z] Removing intermediate container 74cf651830f8 [2022-10-18T06:24:33.054Z] ---> b349bf8e8646 [2022-10-18T06:24:33.054Z] Step 35/36 : LABEL git_sha=0f0f287a684cd70a054bd4076ba3479e51ab3723 [2022-10-18T06:24:33.319Z] ---> Running in ff3a90cb407a [2022-10-18T06:24:33.588Z] Removing intermediate container ff3a90cb407a [2022-10-18T06:24:33.588Z] ---> dc63f5b3244a [2022-10-18T06:24:33.588Z] Step 36/36 : LABEL version=0.0.0 [2022-10-18T06:24:33.588Z] ---> Running in c272fb0e373f [2022-10-18T06:24:33.852Z] Removing intermediate container c272fb0e373f [2022-10-18T06:24:33.852Z] ---> 5330c9b2b14f [2022-10-18T06:24:33.852Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T06:24:33.852Z] Successfully built 5330c9b2b14f [2022-10-18T06:24:33.852Z] 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-18T06:24:34.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T06:24:34.282Z] [2022-10-18T06:24:34.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:24:34.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T06:24:34.612Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-18T06:24:34.612Z] 8998bd30e6a1: Pulling fs layer [2022-10-18T06:24:34.612Z] 04944245beec: Pulling fs layer [2022-10-18T06:24:34.612Z] 699f458cf7ca: Pulling fs layer [2022-10-18T06:24:34.612Z] 765212b225bb: Pulling fs layer [2022-10-18T06:24:34.612Z] f23df028b6ca: Pulling fs layer [2022-10-18T06:24:34.612Z] 765212b225bb: Waiting [2022-10-18T06:24:34.612Z] d65c8cfc05b1: Pulling fs layer [2022-10-18T06:24:34.612Z] 2437ff75d9bd: Pulling fs layer [2022-10-18T06:24:34.612Z] d65c8cfc05b1: Waiting [2022-10-18T06:24:34.612Z] 2437ff75d9bd: Waiting [2022-10-18T06:24:34.881Z] 04944245beec: Verifying Checksum [2022-10-18T06:24:34.881Z] 04944245beec: Download complete [2022-10-18T06:24:34.881Z] 765212b225bb: Verifying Checksum [2022-10-18T06:24:34.881Z] 765212b225bb: Download complete [2022-10-18T06:24:34.881Z] f23df028b6ca: Verifying Checksum [2022-10-18T06:24:34.881Z] f23df028b6ca: Download complete [2022-10-18T06:24:34.881Z] d65c8cfc05b1: Verifying Checksum [2022-10-18T06:24:34.881Z] d65c8cfc05b1: Download complete [2022-10-18T06:24:34.881Z] 699f458cf7ca: Verifying Checksum [2022-10-18T06:24:34.881Z] 699f458cf7ca: Download complete [2022-10-18T06:24:35.467Z] 8998bd30e6a1: Download complete [2022-10-18T06:24:37.416Z] 2437ff75d9bd: Verifying Checksum [2022-10-18T06:24:37.416Z] 2437ff75d9bd: Download complete [2022-10-18T06:24:39.359Z] 8998bd30e6a1: Pull complete [2022-10-18T06:24:39.626Z] 04944245beec: Pull complete [2022-10-18T06:24:41.034Z] 699f458cf7ca: Pull complete [2022-10-18T06:24:41.300Z] 765212b225bb: Pull complete [2022-10-18T06:24:41.883Z] f23df028b6ca: Pull complete [2022-10-18T06:24:42.152Z] d65c8cfc05b1: Pull complete [2022-10-18T06:24:57.164Z] 2437ff75d9bd: Pull complete [2022-10-18T06:24:57.164Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-18T06:24:57.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T06:24:57.164Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:24:57.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-8455 does not seem to be running inside a container [2022-10-18T06:24:57.423Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-18T06:24:59.820Z] $ docker top 4c79ad1d1057ea04e9839849138389d78e56e9630b5e999b73c586ec75a0ed02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:25:00.627Z] ---> job-cost.sh [2022-10-18T06:25:00.627Z] lf-activate-venv: SKIPPING [2022-10-18T06:25:00.627Z] INFO: No Stack... [2022-10-18T06:25:00.891Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-18T06:25:01.847Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T06:25:02.481Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [2022-10-18T06:25:02.482Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T06:25:02.552Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-100-3-stack-cost] [2022-10-18T06:25:02.560Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-100-3-stack-cost] did not exist. Created. [2022-10-18T06:25:02.561Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-100-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T06:25:02.891Z] /w/workspace/device-usb-camera/3@tmp/durable-2b012efd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-18T06:25:03.221Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-18T06:25:03.245Z] Warning: overwriting stash ‘stack-cost’ [2022-10-18T06:25:03.288Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T06:25:03.296Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-100-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T06:25:03.326Z] $ docker stop --time=1 4c79ad1d1057ea04e9839849138389d78e56e9630b5e999b73c586ec75a0ed02 [2022-10-18T06:25:04.815Z] $ docker rm -f 4c79ad1d1057ea04e9839849138389d78e56e9630b5e999b73c586ec75a0ed02 [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-18T06:25:05.145Z] provisioning config files... [2022-10-18T06:25:05.152Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config5691320169892661304tmp [Pipeline] { [Pipeline] sh [2022-10-18T06:25:05.443Z] + set +x [2022-10-18T06:25:05.443Z] + bash -s -- [2022-10-18T06:25:05.443Z] + curl -s https://codecov.io/bash [2022-10-18T06:25:05.702Z] [2022-10-18T06:25:05.702Z] _____ _ [2022-10-18T06:25:05.702Z] / ____| | | [2022-10-18T06:25:05.702Z] | | ___ __| | ___ ___ _____ __ [2022-10-18T06:25:05.702Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-18T06:25:05.702Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-18T06:25:05.702Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-18T06:25:05.702Z] Bash-1.0.6 [2022-10-18T06:25:05.702Z] [2022-10-18T06:25:05.702Z] [2022-10-18T06:25:05.702Z] ==> git version 2.25.1 found [2022-10-18T06:25:05.702Z] ==> 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-18T06:25:05.702Z] Release-Date: 2020-01-08 [2022-10-18T06:25:05.702Z] 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-18T06:25:05.702Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-18T06:25:05.702Z] ==> Jenkins CI detected. [2022-10-18T06:25:05.702Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-100 [2022-10-18T06:25:05.702Z] project root: . [2022-10-18T06:25:05.702Z] --> token set from env [2022-10-18T06:25:05.702Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-18T06:25:05.702Z] ==> Running gcov in . (disable via -X gcov) [2022-10-18T06:25:05.702Z] ==> Python coveragepy not found [2022-10-18T06:25:05.702Z] ==> Searching for coverage reports in: [2022-10-18T06:25:05.702Z] + . [2022-10-18T06:25:05.702Z] -> Found 1 reports [2022-10-18T06:25:05.702Z] ==> Detecting git/mercurial file structure [2022-10-18T06:25:05.702Z] ==> Reading reports [2022-10-18T06:25:05.703Z] + ./coverage.out bytes=29387 [2022-10-18T06:25:05.703Z] ==> Appending adjustments [2022-10-18T06:25:05.703Z] https://docs.codecov.io/docs/fixing-reports [2022-10-18T06:25:05.962Z] + Found adjustments [2022-10-18T06:25:05.962Z] ==> Gzipping contents [2022-10-18T06:25:05.962Z] 8.0K /tmp/codecov.hUteGV.gz [2022-10-18T06:25:05.962Z] ==> Uploading reports [2022-10-18T06:25:05.962Z] url: https://codecov.io [2022-10-18T06:25:05.962Z] query: branch=PR-100&commit=0d712a80d3ec25a32f333d3695beb20b07da4f6c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-100%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-10-18T06:25:05.962Z] -> Pinging Codecov [2022-10-18T06:25:05.962Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-100&commit=0d712a80d3ec25a32f333d3695beb20b07da4f6c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-100%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-10-18T06:25:06.221Z] -> Uploading to [2022-10-18T06:25:06.221Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-18/73D8F5FF140700D3E01443B452E23636/0d712a80d3ec25a32f333d3695beb20b07da4f6c/c38708bd-4c97-4daf-b6df-a93c70500ce4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221018T062506Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0104eca461dda3ae9f381f1f8053e3fecf25967254e44f07ffde4091deecd2f8 [2022-10-18T06:25:06.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T06:25:06.221Z] Dload Upload Total Spent Left Speed [2022-10-18T06:25:06.480Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4191 0 0 100 4191 0 16697 --:--:-- --:--:-- --:--:-- 16630 100 4191 0 0 100 4191 0 16697 --:--:-- --:--:-- --:--:-- 16630 [2022-10-18T06:25:06.480Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/0d712a80d3ec25a32f333d3695beb20b07da4f6c [Pipeline] } [2022-10-18T06:25:06.486Z] 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-18T06:25:07.133Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-100/archives ] [2022-10-18T06:25:07.133Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-10-18T06:25:07.133Z] total 16 [2022-10-18T06:25:07.133Z] drwxr-xr-x 3 root root 4096 Oct 18 06:17 . [2022-10-18T06:25:07.133Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 06:17 .. [2022-10-18T06:25:07.133Z] drwxr-xr-x 2 root root 4096 Oct 18 06:17 cost [2022-10-18T06:25:07.133Z] -rw-r--r-- 1 root root 89 Oct 18 06:17 cost.csv [2022-10-18T06:25:07.133Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-10-18T06:25:07.133Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-10-18T06:25:07.133Z] total 16 [2022-10-18T06:25:07.133Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 06:17 . [2022-10-18T06:25:07.133Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 06:17 .. [2022-10-18T06:25:07.133Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 06:17 cost [2022-10-18T06:25:07.133Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 18 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:25:07.422Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:25:08.275Z] ---> package-listing.sh [2022-10-18T06:25:08.275Z] ++ facter osfamily [2022-10-18T06:25:08.275Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-18T06:25:08.534Z] + OS_FAMILY=debian [2022-10-18T06:25:08.534Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-100 [2022-10-18T06:25:08.534Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-18T06:25:08.534Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-18T06:25:08.534Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-18T06:25:08.534Z] + PACKAGES=/tmp/packages_start.txt [2022-10-18T06:25:08.534Z] + '[' /w/workspace/foundry_device-usb-camera_PR-100 ']' [2022-10-18T06:25:08.534Z] + PACKAGES=/tmp/packages_end.txt [2022-10-18T06:25:08.534Z] + case "${OS_FAMILY}" in [2022-10-18T06:25:08.534Z] + dpkg -l [2022-10-18T06:25:08.534Z] + grep '^ii' [2022-10-18T06:25:08.534Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-18T06:25:08.534Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-18T06:25:08.534Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-18T06:25:08.534Z] + '[' /w/workspace/foundry_device-usb-camera_PR-100 ']' [2022-10-18T06:25:08.534Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-100/archives/ [2022-10-18T06:25:08.534Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-100/archives/ [Pipeline] echo [2022-10-18T06:25:08.545Z] 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-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-18T06:25:08.820Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T06:25:09.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T06:25:09.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T06:25:09.435Z] prd-ubuntu20.04-docker-8c-8g-8454 does not seem to be running inside a container [2022-10-18T06:25:09.453Z] $ 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-100/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-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T06:25:09.708Z] $ docker top fa81fe450f9f37861322a5b3b08d10f5dc57fb9be83c0338cc96b918f58ccb48 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T06:25:10.054Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-18T06:25:10.335Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-18T06:25:10.619Z] + ls /var/log/sa-host [2022-10-18T06:25:10.619Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T06:25:10.765Z] provisioning config files... [2022-10-18T06:25:10.773Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config16046748849901744300tmp [Pipeline] { [Pipeline] echo [2022-10-18T06:25:10.787Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:25:11.069Z] ---> create-netrc.sh [Pipeline] } [2022-10-18T06:25:11.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:25:11.400Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-18T06:25:11.406Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:25:11.688Z] ---> sudo-logs.sh [2022-10-18T06:25:11.688Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-18T06:25:11.716Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:25:11.998Z] ---> job-cost.sh [2022-10-18T06:25:11.998Z] lf-activate-venv: SKIPPING [2022-10-18T06:25:11.998Z] DEBUG: total: 0.2199999988079071 [2022-10-18T06:25:11.998Z] INFO: Retrieving Stack Cost... [2022-10-18T06:25:12.257Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T06:25:12.827Z] INFO: Archiving Costs [Pipeline] echo [2022-10-18T06:25:12.838Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T06:25:13.119Z] ---> logs-deploy.sh [2022-10-18T06:25:13.119Z] lf-activate-venv: SKIPPING [2022-10-18T06:25:13.119Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-100/3 [2022-10-18T06:25:13.119Z] INFO: archiving workspace using pattern(s): [2022-10-18T06:25:14.055Z] Archives upload complete. [2022-10-18T06:25:14.315Z] INFO: archiving logs to Nexus