Path: blob/master/test/functional/cmdLineTests/shareClassTests/StorageKey/storageKey.xml
6004 views
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>12<!--3Copyright (c) 2016, 2020 IBM Corp. and others4This program and the accompanying materials are made available under5the terms of the Eclipse Public License 2.0 which accompanies this6distribution and is available at https://www.eclipse.org/legal/epl-2.0/7or the Apache License, Version 2.0 which accompanies this distribution and8is available at https://www.apache.org/licenses/LICENSE-2.0.9This Source Code may also be made available under the following10Secondary Licenses when the conditions for such availability set11forth in the Eclipse Public License, v. 2.0 are satisfied: GNU12General Public License, version 2 with the GNU Classpath13Exception [1] and GNU General Public License, version 2 with the14OpenJDK Assembly Exception [2].15[1] https://www.gnu.org/software/classpath/license.html16[2] http://openjdk.java.net/legal/assembly-exception.html17SPDX-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-exception18-->1920<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">2122<suite id="J9 Shared Classes z/OS Storage Key Command-Line Option Tests" timeout="2400">23<variable name="CLASS" value="-cp $UTILSJAR$ VMBench.FibBench" />2425<test id="Attempt to destroy any pre-existing cache created in storage protection key 2">26<command>$EXE$ -Xtrace:print={j9prt.1033-1035} -Xtrace:print={j9shr.2041} -Xshareclasses:nonpersistent,name=testSCstorageKey2,storageKey=2,destroy</command>27<output type="success" caseSensitive="yes" regex="no">Cache does not exist</output>28<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>29<output type="success" caseSensitive="yes" regex="no">is destroyed</output>30<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>31<output type="failure" caseSensitive="yes" regex="no">Exception:</output>32<output type="failure" caseSensitive="no" regex="no">corrupt</output>33<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>34</test>3536<test id="Create a cache in storage protection key = 2">37<command>$EXE$ -Xtrace:print={j9prt.1033-1035} -Xtrace:print={j9shr.2041} -Xshareclasses:nonpersistent,name=testSCstorageKey2,storageKey=2 $CLASS$</command>38<output regex="no" type="success">Fibonacci: iterations</output>39<output regex="no" type="required">j9prt.1033 - Trc_PRT_shmem_j9shmem_createSharedMemory_storageKey</output>40<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>41<output type="failure" caseSensitive="yes" regex="no">Exception:</output>42<output type="failure" caseSensitive="no" regex="no">corrupt</output>43<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>44</test>4546<test id="Attempt to open a cache created in storage protection key 2 while running in storage key 8">47<command>$EXE$ -Xtrace:print={j9prt.1033-1035} -Xtrace:print={j9shr.2041} -Xshareclasses:nonpersistent,name=testSCstorageKey2,storageKey=8</command>48<output regex="no" type="success">JVMPORT034W Attempted to attach shared memory created in storage protection key 2, but currently running in key 8.</output>49<output regex="no" type="required">JVMSHRC336E Port layer error code = -525038</output>50<output regex="no" type="required">j9prt.1034 - Trc_PRT_shmem_j9shmem_openSharedMemory_storageKey</output>51<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>52<output type="failure" caseSensitive="yes" regex="no">Exception:</output>53<output type="failure" caseSensitive="no" regex="no">corrupt</output>54<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>55</test>5657<test id="Attempt to destroy cache created in storage protection key 2">58<command>$EXE$ -Xtrace:print={j9prt.1033-1035} -Xtrace:print={j9shr.2041} -Xshareclasses:nonpersistent,name=testSCstorageKey2,storageKey=2,destroy</command>59<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>60<output type="success" caseSensitive="yes" regex="no">is destroyed</output>61<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>62<output type="failure" caseSensitive="yes" regex="no">Exception:</output>63<output type="failure" caseSensitive="no" regex="no">corrupt</output>64<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>65</test>6667<test id="Attempt to destroy any pre-existing cache created in storage protection key 9">68<command>$EXE$ -Xtrace:print={j9prt.1033-1035} -Xtrace:print={j9shr.2041} -Xshareclasses:nonpersistent,name=testSCstorageKey9,storageKey=9,destroy</command>69<output type="success" caseSensitive="yes" regex="no">Cache does not exist</output>70<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>71<output type="success" caseSensitive="yes" regex="no">is destroyed</output>72<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>73<output type="failure" caseSensitive="yes" regex="no">Exception:</output>74<output type="failure" caseSensitive="no" regex="no">corrupt</output>75<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>76</test>7778<test id="Create a cache in storage protection key = 9">79<command>$EXE$ -Xtrace:print={j9prt.1033-1035} -Xtrace:print={j9shr.2041} -Xshareclasses:nonpersistent,name=testSCstorageKey9,storageKey=9 $CLASS$</command>80<output regex="no" type="success">Fibonacci: iterations</output>81<output regex="no" type="required">j9prt.1033 - Trc_PRT_shmem_j9shmem_createSharedMemory_storageKey</output>82<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>83<output type="failure" caseSensitive="yes" regex="no">Exception:</output>84<output type="failure" caseSensitive="no" regex="no">corrupt</output>85<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>86</test>8788<test id="Attempt to open a cache created in storage protection key 9 while running in storage key 8">89<command>$EXE$ -Xtrace:print={j9prt.1033-1035} -Xtrace:print={j9shr.2041} -Xshareclasses:nonpersistent,name=testSCstorageKey9,storageKey=8 $CLASS$</command>90<output regex="no" type="success">Fibonacci: iterations</output>91<output regex="no" type="required">j9prt.1034 - Trc_PRT_shmem_j9shmem_openSharedMemory_storageKey: Shared classes cache was created in storage protection key = 9 and the current key = 8</output>92<output regex="no" type="required">j9shr.2041 - OSCache::Cache is switched to readonly mode due to storage protection key incompatibility</output>93<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>94<output type="failure" caseSensitive="yes" regex="no">Exception:</output>95<output type="failure" caseSensitive="no" regex="no">corrupt</output>96<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>97</test>9899<test id="Attempt to destroy cache created in storage protection key 9">100<command>$EXE$ -Xtrace:print={j9prt.1033-1035} -Xtrace:print={j9shr.2041} -Xshareclasses:nonpersistent,name=testSCstorageKey9,storageKey=9,destroy</command>101<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>102<output type="success" caseSensitive="yes" regex="no">is destroyed</output>103<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>104<output type="failure" caseSensitive="yes" regex="no">Exception:</output>105<output type="failure" caseSensitive="no" regex="no">corrupt</output>106<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>107</test>108109110</suite>111112