Skip to content

Instantly share code, notes, and snippets.

@making
Created October 6, 2021 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save making/4fd4dda55b097938095cbcf1a505c24a to your computer and use it in GitHub Desktop.
Save making/4fd4dda55b097938095cbcf1a505c24a to your computer and use it in GitHub Desktop.
+ hello-tanzu-build-1-fvt6g-build-pod › prepare
hello-tanzu-build-1-fvt6g-build-pod prepare Build reason(s): CONFIG
hello-tanzu-build-1-fvt6g-build-pod prepare CONFIG:
hello-tanzu-build-1-fvt6g-build-pod prepare resources: {}
hello-tanzu-build-1-fvt6g-build-pod prepare - source: {}
hello-tanzu-build-1-fvt6g-build-pod prepare + source:
hello-tanzu-build-1-fvt6g-build-pod prepare + blob:
hello-tanzu-build-1-fvt6g-build-pod prepare + url: http://source-controller.gitops-toolkit.svc.cluster.local./gitrepository/default/hello-tanzu/4ecc9c52d4209560e1b2f96576bab9f51cfa3661.tar.gz
hello-tanzu-build-1-fvt6g-build-pod prepare Loading secret for "https://ghcr.io" from secret "regsecret" at location "/var/build-secrets/regsecret"
hello-tanzu-build-1-fvt6g-build-pod prepare Downloading source-controller.gitops-toolkit.svc.cluster.local./gitrepository/default/hello-tanzu/4ecc9c52d4209560e1b2f96576bab9f51cfa3661.tar.gz...
hello-tanzu-build-1-fvt6g-build-pod prepare Successfully downloaded source-controller.gitops-toolkit.svc.cluster.local./gitrepository/default/hello-tanzu/4ecc9c52d4209560e1b2f96576bab9f51cfa3661.tar.gz in path "/workspace"
- hello-tanzu-build-1-fvt6g-build-pod › prepare
+ hello-tanzu-build-1-fvt6g-build-pod › analyze
hello-tanzu-build-1-fvt6g-build-pod analyze Restoring metadata for "paketo-buildpacks/ca-certificates:helper" from app image
hello-tanzu-build-1-fvt6g-build-pod analyze Restoring metadata for "paketo-buildpacks/bellsoft-liberica:helper" from app image
hello-tanzu-build-1-fvt6g-build-pod analyze Restoring metadata for "paketo-buildpacks/bellsoft-liberica:java-security-properties" from app image
hello-tanzu-build-1-fvt6g-build-pod analyze Restoring metadata for "paketo-buildpacks/bellsoft-liberica:jre" from app image
hello-tanzu-build-1-fvt6g-build-pod analyze Restoring metadata for "paketo-buildpacks/apache-tomcat:tomcat" from app image
hello-tanzu-build-1-fvt6g-build-pod analyze Restoring metadata for "paketo-buildpacks/apache-tomcat:catalina-base" from app image
hello-tanzu-build-1-fvt6g-build-pod analyze Restoring metadata for "paketo-buildpacks/apache-tomcat:helper" from app image
- hello-tanzu-build-1-fvt6g-build-pod › analyze
+ hello-tanzu-build-1-fvt6g-build-pod › build
hello-tanzu-build-1-fvt6g-build-pod build
hello-tanzu-build-1-fvt6g-build-pod build Paketo CA Certificates Buildpack 2.4.1
hello-tanzu-build-1-fvt6g-build-pod build https://github.com/paketo-buildpacks/ca-certificates
hello-tanzu-build-1-fvt6g-build-pod build Launch Helper: Reusing cached layer
hello-tanzu-build-1-fvt6g-build-pod build
hello-tanzu-build-1-fvt6g-build-pod build Paketo BellSoft Liberica Buildpack 8.7.1
hello-tanzu-build-1-fvt6g-build-pod build https://github.com/paketo-buildpacks/bellsoft-liberica
hello-tanzu-build-1-fvt6g-build-pod build Build Configuration:
hello-tanzu-build-1-fvt6g-build-pod build $BP_JVM_TYPE JRE the JVM type - JDK or JRE
hello-tanzu-build-1-fvt6g-build-pod build $BP_JVM_VERSION 11 the Java version
hello-tanzu-build-1-fvt6g-build-pod build Launch Configuration:
hello-tanzu-build-1-fvt6g-build-pod build $BPL_DEBUG_ENABLED false enables Java remote debugging support
hello-tanzu-build-1-fvt6g-build-pod build $BPL_DEBUG_PORT 8000 configure the remote debugging port
hello-tanzu-build-1-fvt6g-build-pod build $BPL_DEBUG_SUSPEND false configure whether to suspend execution until a debugger has attached
hello-tanzu-build-1-fvt6g-build-pod build $BPL_HEAP_DUMP_PATH write heap dumps on error to this path
hello-tanzu-build-1-fvt6g-build-pod build $BPL_JAVA_NMT_ENABLED true enables Java Native Memory Tracking (NMT)
hello-tanzu-build-1-fvt6g-build-pod build $BPL_JAVA_NMT_LEVEL summary configure level of NMT, summary or detail
hello-tanzu-build-1-fvt6g-build-pod build $BPL_JMX_ENABLED false enables Java Management Extensions (JMX)
hello-tanzu-build-1-fvt6g-build-pod build $BPL_JMX_PORT 5000 configure the JMX port
hello-tanzu-build-1-fvt6g-build-pod build $BPL_JVM_HEAD_ROOM 0 the headroom in memory calculation
hello-tanzu-build-1-fvt6g-build-pod build $BPL_JVM_LOADED_CLASS_COUNT 35% of classes the number of loaded classes in memory calculation
hello-tanzu-build-1-fvt6g-build-pod build $BPL_JVM_THREAD_COUNT 250 the number of threads in memory calculation
hello-tanzu-build-1-fvt6g-build-pod build $JAVA_TOOL_OPTIONS the JVM launch flags
hello-tanzu-build-1-fvt6g-build-pod build BellSoft Liberica JDK 11.0.12: Contributing to layer
hello-tanzu-build-1-fvt6g-build-pod build Downloading from https://github.com/bell-sw/Liberica/releases/download/11.0.12+7/bellsoft-jdk11.0.12+7-linux-amd64.tar.gz
hello-tanzu-build-1-fvt6g-build-pod build Verifying checksum
hello-tanzu-build-1-fvt6g-build-pod build Expanding to /layers/paketo-buildpacks_bellsoft-liberica/jdk
hello-tanzu-build-1-fvt6g-build-pod build Adding 128 container CA certificates to JVM truststore
hello-tanzu-build-1-fvt6g-build-pod build Writing env.build/JAVA_HOME.override
hello-tanzu-build-1-fvt6g-build-pod build Writing env.build/JDK_HOME.override
hello-tanzu-build-1-fvt6g-build-pod build BellSoft Liberica JRE 11.0.12: Contributing to layer
hello-tanzu-build-1-fvt6g-build-pod build Downloading from https://github.com/bell-sw/Liberica/releases/download/11.0.12+7/bellsoft-jre11.0.12+7-linux-amd64.tar.gz
hello-tanzu-build-1-fvt6g-build-pod build Verifying checksum
hello-tanzu-build-1-fvt6g-build-pod build Expanding to /layers/paketo-buildpacks_bellsoft-liberica/jre
hello-tanzu-build-1-fvt6g-build-pod build Adding 128 container CA certificates to JVM truststore
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/BPI_APPLICATION_PATH.default
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/BPI_JVM_CACERTS.default
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/BPI_JVM_CLASS_COUNT.default
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/BPI_JVM_SECURITY_PROVIDERS.default
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/JAVA_HOME.default
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/JAVA_TOOL_OPTIONS.append
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/JAVA_TOOL_OPTIONS.delim
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/MALLOC_ARENA_MAX.default
hello-tanzu-build-1-fvt6g-build-pod build Launch Helper: Contributing to layer
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/active-processor-count
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/java-opts
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/jvm-heap
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/link-local-dns
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/memory-calculator
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/openssl-certificate-loader
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/security-providers-configurer
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/jmx
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/security-providers-classpath-9
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/debug-9
hello-tanzu-build-1-fvt6g-build-pod build Creating /layers/paketo-buildpacks_bellsoft-liberica/helper/exec.d/nmt
hello-tanzu-build-1-fvt6g-build-pod build Java Security Properties: Contributing to layer
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/JAVA_SECURITY_PROPERTIES.default
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/JAVA_TOOL_OPTIONS.append
hello-tanzu-build-1-fvt6g-build-pod build Writing env.launch/JAVA_TOOL_OPTIONS.delim
hello-tanzu-build-1-fvt6g-build-pod build
hello-tanzu-build-1-fvt6g-build-pod build Paketo Maven Buildpack 5.6.0
hello-tanzu-build-1-fvt6g-build-pod build https://github.com/paketo-buildpacks/maven
hello-tanzu-build-1-fvt6g-build-pod build Build Configuration:
hello-tanzu-build-1-fvt6g-build-pod build $BP_MAVEN_BUILD_ARGUMENTS -Dmaven.test.skip=true package the arguments to pass to Maven
hello-tanzu-build-1-fvt6g-build-pod build $BP_MAVEN_BUILT_ARTIFACT target/*.[ejw]ar the built application artifact explicitly. Supersedes $BP_MAVEN_BUILT_MODULE
hello-tanzu-build-1-fvt6g-build-pod build $BP_MAVEN_BUILT_MODULE the module to find application artifact in
hello-tanzu-build-1-fvt6g-build-pod build $BP_MAVEN_POM_FILE pom.xml the location of the main pom.xml file, relative to the application root
hello-tanzu-build-1-fvt6g-build-pod build Creating cache directory /home/cnb/.m2
hello-tanzu-build-1-fvt6g-build-pod build Compiled Application: Contributing to layer
hello-tanzu-build-1-fvt6g-build-pod build Executing mvnw --batch-mode -Dmaven.test.skip=true package
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Scanning for projects...
hello-tanzu-build-1-fvt6g-build-pod build [INFO]
hello-tanzu-build-1-fvt6g-build-pod build [INFO] ----------------------< org.example:hello-tanzu >-----------------------
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Building hello-tanzu 1.0.0-SNAPSHOT
hello-tanzu-build-1-fvt6g-build-pod build [INFO] --------------------------------[ war ]---------------------------------
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom
...
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar (226 kB at 404 kB/s)
hello-tanzu-build-1-fvt6g-build-pod build WARNING: An illegal reflective access operation has occurred
hello-tanzu-build-1-fvt6g-build-pod build WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/cnb/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar) to field java.util.Properties.defaults
hello-tanzu-build-1-fvt6g-build-pod build WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
hello-tanzu-build-1-fvt6g-build-pod build WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
hello-tanzu-build-1-fvt6g-build-pod build WARNING: All illegal access operations will be denied in a future release
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Packaging webapp
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Assembling webapp [hello-tanzu] in [/workspace/target/ROOT]
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Processing war project
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Webapp assembled in [42 msecs]
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Building war: /workspace/target/ROOT.war
hello-tanzu-build-1-fvt6g-build-pod build [INFO] ------------------------------------------------------------------------
hello-tanzu-build-1-fvt6g-build-pod build [INFO] BUILD SUCCESS
hello-tanzu-build-1-fvt6g-build-pod build [INFO] ------------------------------------------------------------------------
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Total time: 01:02 min
hello-tanzu-build-1-fvt6g-build-pod build [INFO] Finished at: 2021-10-06T01:38:39Z
hello-tanzu-build-1-fvt6g-build-pod build [INFO] ------------------------------------------------------------------------
hello-tanzu-build-1-fvt6g-build-pod build Removing source code
hello-tanzu-build-1-fvt6g-build-pod build
hello-tanzu-build-1-fvt6g-build-pod build Paketo Apache Tomcat Buildpack 6.3.0
hello-tanzu-build-1-fvt6g-build-pod build https://github.com/paketo-buildpacks/apache-tomcat
hello-tanzu-build-1-fvt6g-build-pod build Build Configuration:
hello-tanzu-build-1-fvt6g-build-pod build $BP_TOMCAT_CONTEXT_PATH the application context path
hello-tanzu-build-1-fvt6g-build-pod build $BP_TOMCAT_EXT_CONF_SHA256 the SHA256 hash of the external Tomcat configuration archive
hello-tanzu-build-1-fvt6g-build-pod build $BP_TOMCAT_EXT_CONF_STRIP 0 the number of directory components to strip from the external Tomcat configuration archive
hello-tanzu-build-1-fvt6g-build-pod build $BP_TOMCAT_EXT_CONF_URI the download location of the external Tomcat configuration
hello-tanzu-build-1-fvt6g-build-pod build $BP_TOMCAT_EXT_CONF_VERSION the version of the external Tomcat configuration
hello-tanzu-build-1-fvt6g-build-pod build $BP_TOMCAT_VERSION 9.* the Tomcat version
hello-tanzu-build-1-fvt6g-build-pod build Launch Configuration:
hello-tanzu-build-1-fvt6g-build-pod build $BPL_TOMCAT_ACCESS_LOGGING_ENABLED the Tomcat access logging state
hello-tanzu-build-1-fvt6g-build-pod build Apache Tomcat 9.0.53: Reusing cached layer
hello-tanzu-build-1-fvt6g-build-pod build Launch Helper: Reusing cached layer
hello-tanzu-build-1-fvt6g-build-pod build Apache Tomcat Support: Reusing cached layer
hello-tanzu-build-1-fvt6g-build-pod build Process types:
hello-tanzu-build-1-fvt6g-build-pod build task: catalina.sh run
hello-tanzu-build-1-fvt6g-build-pod build tomcat: catalina.sh run
hello-tanzu-build-1-fvt6g-build-pod build web: catalina.sh run
- hello-tanzu-build-1-fvt6g-build-pod › build
+ hello-tanzu-build-1-fvt6g-build-pod › export
hello-tanzu-build-1-fvt6g-build-pod export Reusing layers from image 'ghcr.io/making/hello-tanzu@sha256:46cb3da1810e437e65dcf1c46f1d8deb8f164a6586c1f347a3666ae2761370e6'
hello-tanzu-build-1-fvt6g-build-pod export Reusing layer 'paketo-buildpacks/ca-certificates:helper'
hello-tanzu-build-1-fvt6g-build-pod export Adding layer 'paketo-buildpacks/bellsoft-liberica:helper'
hello-tanzu-build-1-fvt6g-build-pod export Reusing layer 'paketo-buildpacks/bellsoft-liberica:java-security-properties'
hello-tanzu-build-1-fvt6g-build-pod export Adding layer 'paketo-buildpacks/bellsoft-liberica:jre'
hello-tanzu-build-1-fvt6g-build-pod export Reusing layer 'paketo-buildpacks/apache-tomcat:catalina-base'
hello-tanzu-build-1-fvt6g-build-pod export Reusing layer 'paketo-buildpacks/apache-tomcat:helper'
hello-tanzu-build-1-fvt6g-build-pod export Reusing layer 'paketo-buildpacks/apache-tomcat:tomcat'
hello-tanzu-build-1-fvt6g-build-pod export Adding 1/1 app layer(s)
hello-tanzu-build-1-fvt6g-build-pod export Reusing layer 'launcher'
hello-tanzu-build-1-fvt6g-build-pod export Adding layer 'config'
hello-tanzu-build-1-fvt6g-build-pod export Reusing layer 'process-types'
hello-tanzu-build-1-fvt6g-build-pod export Adding label 'io.buildpacks.lifecycle.metadata'
hello-tanzu-build-1-fvt6g-build-pod export Adding label 'io.buildpacks.build.metadata'
hello-tanzu-build-1-fvt6g-build-pod export Adding label 'io.buildpacks.project.metadata'
hello-tanzu-build-1-fvt6g-build-pod export Setting default process type 'web'
hello-tanzu-build-1-fvt6g-build-pod export Saving ghcr.io/making/hello-tanzu...
hello-tanzu-build-1-fvt6g-build-pod export *** Images (sha256:ab5c70080c2b8a73b67d90b1255a1f92a7a6261d03cf35f5812457214b00c626):
hello-tanzu-build-1-fvt6g-build-pod export ghcr.io/making/hello-tanzu
hello-tanzu-build-1-fvt6g-build-pod export ghcr.io/making/hello-tanzu:b1.20211006.013705
hello-tanzu-build-1-fvt6g-build-pod export Adding cache layer 'paketo-buildpacks/bellsoft-liberica:jdk'
hello-tanzu-build-1-fvt6g-build-pod export Adding cache layer 'paketo-buildpacks/maven:application'
hello-tanzu-build-1-fvt6g-build-pod export Adding cache layer 'paketo-buildpacks/maven:cache'
- hello-tanzu-build-1-fvt6g-build-pod › export
+ hello-tanzu-54dd5899f4-hsxb6 › workload
hello-tanzu-54dd5899f4-hsxb6 workload Setting Active Processor Count to 6
hello-tanzu-54dd5899f4-hsxb6 workload Calculating JVM memory based on 13829004K available memory
hello-tanzu-54dd5899f4-hsxb6 workload Calculated JVM Memory Configuration: -XX:MaxDirectMemorySize=10M -Xmx13252315K -XX:MaxMetaspaceSize=64688K -XX:ReservedCodeCacheSize=240M -Xss1M (Total Memory: 13829004K, Thread Count: 250, Loaded Class Count: 9007, Headroom: 0%)
hello-tanzu-54dd5899f4-hsxb6 workload Enabling Java Native Memory Tracking
hello-tanzu-54dd5899f4-hsxb6 workload Adding 128 container CA certificates to JVM truststore
hello-tanzu-54dd5899f4-hsxb6 workload NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
hello-tanzu-54dd5899f4-hsxb6 workload Picked up JAVA_TOOL_OPTIONS: -Djava.security.properties=/layers/paketo-buildpacks_bellsoft-liberica/java-security-properties/java-security.properties -XX:+ExitOnOutOfMemoryError -XX:ActiveProcessorCount=6 -XX:MaxDirectMemorySize=10M -Xmx13252315K -XX:MaxMetaspaceSize=64688K -XX:ReservedCodeCacheSize=240M -Xss1M -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+PrintNMTStatistics
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.coyote.http11.Http11NioProtocol INFO Initializing ProtocolHandler ["http-nio-8080"]
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.catalina.startup.Catalina INFO Server initialization in [630] milliseconds
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.catalina.core.StandardService INFO Starting service [Catalina]
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.catalina.core.StandardEngine INFO Starting Servlet engine: [Apache Tomcat/9.0.53]
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deploying web application directory [/layers/paketo-buildpacks_apache-tomcat/catalina-base/webapps/ROOT]
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.jasper.servlet.TldScanner INFO At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.catalina.startup.HostConfig INFO Deployment of web application directory [/layers/paketo-buildpacks_apache-tomcat/catalina-base/webapps/ROOT] has finished in [619] ms
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.coyote.http11.Http11NioProtocol INFO Starting ProtocolHandler ["http-nio-8080"]
hello-tanzu-54dd5899f4-hsxb6 workload [CONTAINER] org.apache.catalina.startup.Catalina INFO Server startup in [703] milliseconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment