Path: blob/master/test/functional/cmdLineTests/classesdbgddrext/classesddrtests.xml
6004 views
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>12<!--3Copyright (c) 2017, 2021 IBM Corp. and others45This program and the accompanying materials are made available under6the terms of the Eclipse Public License 2.0 which accompanies this7distribution and is available at https://www.eclipse.org/legal/epl-2.0/8or the Apache License, Version 2.0 which accompanies this distribution and9is available at https://www.apache.org/licenses/LICENSE-2.0.1011This Source Code may also be made available under the following12Secondary Licenses when the conditions for such availability set13forth in the Eclipse Public License, v. 2.0 are satisfied: GNU14General Public License, version 2 with the GNU Classpath15Exception [1] and GNU General Public License, version 2 with the16OpenJDK Assembly Exception [2].1718[1] https://www.gnu.org/software/classpath/license.html19[2] http://openjdk.java.net/legal/assembly-exception.html2021SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception22-->2324<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">2526<suite id="J9 shared cache dbgext Tests" timeout="600">2728<variable name="CP" value="-cp $UTILSJAR$" />29<variable name="PROGRAM" value="org.openj9.test.ivj.Hanoi 2" />30<variable name="CACHENAME" value="shareddbgext" />31<variable name="DUMPFILE" value="j9core.dmp" />32<variable name="DUMPDIR" value="dumpdir" />33<variable name="XDUMP" value="-Xdump:system:file=$DUMPFILE$,events=vmstop" />3435<!-- override the JDMPVIEW_EXE command on win32 since jdmpview.exe is failing on Windows XP - CMVC 200287 -->36<variable name="JDMPVIEW_EXE" value="$EXE$ com.ibm.jvm.dtfjview.DTFJView" platforms="win_x86-32" />3738<!-- override the -Xdump command on z/OS -->39<variable name="XDUMP" value="-Xdump:system:opts=IEATDUMP,dsn=%uid.J9CORE.DMP,events=vmstop,request=exclusive+compact" platforms="zos.*" />4041<test id="Create new shared cache with partition">42<command>$EXE$ -Xaot:forceaot,count=0,disableAsyncCompilation -Xshareclasses:name=$CACHENAME$,reset,modified=mod1</command>43<output regex="no" type="success">Usage:</output>44</test>4546<test id="Create core file">47<exec command="tso delete J9CORE.DMP.*" platforms="zos_390-64.*" />48<exec command="tso delete J9CORE.DMP" platforms="zos_390-31.*" />49<exec command="rm -f $DUMPFILE$" />50<command>$EXE$ -Xmx4m -Xaot:forceaot,count=0 -Xshareclasses:name=$CACHENAME$ $CP$ $XDUMP$ $PROGRAM$</command>51<output regex="no" type="success">Moved disk 0 to 1</output>52<output regex="no" type="success">System dump written</output>53<!-- check for unexpected core dumps -->54<output regex="no" type="failure">0001.dmp</output>55</test>5657<test id="Remove shared cache">58<command>$EXE$ -Xshareclasses:name=$CACHENAME$,destroy</command>59<output regex="no" type="success">destroyed</output>60</test>6162<test id="Run !allclasses">63<exec command="sh" capture="LOGNAME" platforms="zos.*" >64<arg>-c</arg>65<arg>echo $$LOGNAME</arg>66</exec>67<exec command="cp //'$LOGNAME$.J9CORE.DMP.X001' $DUMPFILE$" platforms="zos_390-64.*" />68<exec command="cp //'$LOGNAME$.J9CORE.DMP' $DUMPFILE$" platforms="zos_390-31.*" />69<exec command="tso delete J9CORE.DMP.*" platforms="zos_390-64.*" />70<exec command="tso delete J9CORE.DMP" platforms="zos_390-31.*" />71<command command="$JDMPVIEW_EXE$">72<arg>-core $DUMPFILE$</arg>73<input>!allclasses</input>74<input>quit</input>75</command>76<output regex="no" type="success">java/lang/Object</output>77<output regex="no" type="failure">DDRInteractiveCommandException</output>78<output regex="no" type="failure">unable to read</output>79<output regex="no" type="failure">could not read</output>80<output regex="no" type="failure">dump event</output>81</test>8283<test id="Run !dumpallromclasslinear 10" timeout="1200">84<exec command="sh" capture="LOGNAME" platforms="zos.*" >85<arg>-c</arg>86<arg>echo $$LOGNAME</arg>87</exec>88<exec command="cp //'$LOGNAME$.J9CORE.DMP.X001' $DUMPFILE$" platforms="zos_390-64.*" />89<exec command="cp //'$LOGNAME$.J9CORE.DMP' $DUMPFILE$" platforms="zos_390-31.*" />90<exec command="tso delete J9CORE.DMP.*" platforms="zos_390-64.*" />91<exec command="tso delete J9CORE.DMP" platforms="zos_390-31.*" />92<command command="$JDMPVIEW_EXE$">93<arg>-core $DUMPFILE$</arg>94<input>!dumpallromclasslinear 10</input>95<input>quit</input>96</command>97<output regex="no" type="success">java/lang/Object</output>98<output regex="no" type="required">!dumpromclasslinear</output>99<output regex="no" type="required">ROM Class</output>100<output regex="no" type="required">romHeader</output>101<output regex="no" type="failure">DDRInteractiveCommandException</output>102<output regex="no" type="failure">unable to read</output>103<output regex="no" type="failure">could not read</output>104<output regex="no" type="failure">dump event</output>105</test>106107<test id="Run !dumpallramclasslinear 10">108<exec command="sh" capture="LOGNAME" platforms="zos.*" >109<arg>-c</arg>110<arg>echo $$LOGNAME</arg>111</exec>112<exec command="cp //'$LOGNAME$.J9CORE.DMP.X001' $DUMPFILE$" platforms="zos_390-64.*" />113<exec command="cp //'$LOGNAME$.J9CORE.DMP' $DUMPFILE$" platforms="zos_390-31.*" />114<exec command="tso delete J9CORE.DMP.*" platforms="zos_390-64.*" />115<exec command="tso delete J9CORE.DMP" platforms="zos_390-31.*" />116<command command="$JDMPVIEW_EXE$">117<arg>-core $DUMPFILE$</arg>118<input>!dumpallramclasslinear 10</input>119<input>quit</input>120</command>121<output regex="no" type="success">java/lang/Object</output>122<output regex="no" type="required">!dumpramclasslinear</output>123<output regex="no" type="required">RAM Class</output>124<output regex="no" type="required">ramHeader</output>125<output regex="no" type="required">RAM methods</output>126<output regex="no" type="failure">DDRInteractiveCommandException</output>127<output regex="no" type="failure">unable to read</output>128<output regex="no" type="failure">could not read</output>129<output regex="no" type="failure">dump event</output>130</test>131132<test id="Run !romclasssummary">133<exec command="sh" capture="LOGNAME" platforms="zos.*" >134<arg>-c</arg>135<arg>echo $$LOGNAME</arg>136</exec>137<exec command="cp //'$LOGNAME$.J9CORE.DMP.X001' $DUMPFILE$" platforms="zos_390-64.*" />138<exec command="cp //'$LOGNAME$.J9CORE.DMP' $DUMPFILE$" platforms="zos_390-31.*" />139<exec command="tso delete J9CORE.DMP.*" platforms="zos_390-64.*" />140<exec command="tso delete J9CORE.DMP" platforms="zos_390-31.*" />141<command command="$JDMPVIEW_EXE$">142<arg>-core $DUMPFILE$</arg>143<input>!romclasssummary</input>144<input>quit</input>145</command>146<output regex="no" type="success">classes, using:</output>147<output regex="no" type="required">romHeader</output>148<output regex="no" type="required">fields</output>149<output regex="no" type="required">interfacesSRPs</output>150<output regex="no" type="required">innerClassesSRPs</output>151<output regex="no" type="required">cpNamesAndSignaturesSRPs</output>152<output regex="no" type="required">methods</output>153<output regex="no" type="required">cpShapeDescription</output>154<output regex="no" type="required">enclosingObject</output>155<output regex="no" type="required">optionalInfo</output>156<output regex="no" type="required">Padding</output>157<output regex="no" type="failure">DDRInteractiveCommandException</output>158<output regex="no" type="failure">unable to read</output>159<output regex="no" type="failure">could not read</output>160<output regex="no" type="failure">dump event</output>161</test>162163<test id="Run !ramclasssummary">164<exec command="sh" capture="LOGNAME" platforms="zos.*" >165<arg>-c</arg>166<arg>echo $$LOGNAME</arg>167</exec>168<exec command="cp //'$LOGNAME$.J9CORE.DMP.X001' $DUMPFILE$" platforms="zos_390-64.*" />169<exec command="cp //'$LOGNAME$.J9CORE.DMP' $DUMPFILE$" platforms="zos_390-31.*" />170<exec command="tso delete J9CORE.DMP.*" platforms="zos_390-64.*" />171<exec command="tso delete J9CORE.DMP" platforms="zos_390-31.*" />172<command command="$JDMPVIEW_EXE$">173<arg>-core $DUMPFILE$</arg>174<input>!ramclasssummary</input>175<input>quit</input>176</command>177<output regex="no" type="success">jitVTables</output>178<output regex="no" type="required">ramHeader</output>179<output regex="no" type="required">vTable</output>180<output regex="no" type="required">RAM methods</output>181<output regex="no" type="required">Constant Pool</output>182<output regex="no" type="required">J9CPTYPE_CLASS</output>183<output regex="no" type="required">J9CPTYPE_FLOAT</output>184<output regex="no" type="required">J9CPTYPE_INT</output>185<output regex="no" type="required">J9CPTYPE_INTERFACE_METHOD</output>186<output regex="no" type="required">J9CPTYPE_STATIC_METHOD</output>187<output regex="no" type="required">J9CPTYPE_STRING</output>188<output regex="no" type="required">J9CPTYPE_UNUSED</output>189<output regex="no" type="required">Ram static</output>190<output regex="no" type="required">Superclasses</output>191<output regex="no" type="required">iTable</output>192<output regex="no" type="failure">DDRInteractiveCommandException</output>193<output regex="no" type="failure">unable to read</output>194<output regex="no" type="failure">could not read</output>195<output regex="no" type="failure">dump event</output>196</test>197198199</suite>200201202203204