< prev index next >

test/failure_handler/src/share/conf/windows.properties

Print this page
rev 58859 : 8240904: Screen flashes on test failures when running tests from make
Reviewed-by: erikj, serb
   1 #
   2 # Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #


  54 
  55 native.stack.app=cdb
  56 native.stack.args=-c "~*kP n;qd" -p %p
  57 native.stack.params.repeat=6
  58 
  59 native.core.app=cdb
  60 native.core.args=-c ".dump /f core.%p;qd" -p %p
  61 native.core.params.timeout=3600000
  62 ################################################################################
  63 # environment info to gather
  64 ################################################################################
  65 environment=\
  66   users.current users.logged \
  67   disk \
  68   env \
  69   system.events.system system.events.application system.os \
  70   process.top process.ps process.tasklist \
  71   memory.free memory.vmstat.default memory.vmstat.statistics \
  72         memory.vmstat.slabinfo memory.vmstat.disk \
  73   files \
  74   net.sockets net.statistics net.ipconfig

  75 ################################################################################
  76 users.current.app=id
  77 users.current.args=-a
  78 users.logged.app=query
  79 users.logged.args=user
  80 
  81 disk.app=df
  82 disk.args=-h
  83 
  84 env.app=env
  85 
  86 system.events.app=powershell
  87 system.events.delimiter=\0
  88 system.events.system.args=-NoLogo\0-Command\0Get-EventLog System -After (Get-Date).AddDays(-1) | Format-List
  89 system.events.application.args=-NoLogo\0-Command\0Get-EventLog Application -After (Get-Date).AddDays(-1) | Format-List
  90 
  91 system.os.app=wmic
  92 system.os.args=os get /format:list
  93 
  94 process.top.app=top


  97 process.ps.args=-efW
  98 process.tasklist.app=tasklist
  99 process.tasklist.args=/V
 100 
 101 memory.free.app=free
 102 memory.vmstat.app=vmstat
 103 memory.vmstat.statistics.args=-s
 104 memory.vmstat.slabinfo.args=-m
 105 memory.vmstat.disk.args=-d
 106 
 107 files.app=openfiles
 108 files.args=/query
 109 
 110 net.sockets.app=bash
 111 net.sockets.args=-c\0netstat -b -a -t -o || netstat -a -t -o
 112 net.sockets.args.delimiter=\0
 113 net.statistics.app=netstat
 114 net.statistics.args=-s -e
 115 net.ipconfig.app=ipconfig
 116 net.ipconfig.args=/all












 117 ################################################################################
   1 #
   2 # Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #


  54 
  55 native.stack.app=cdb
  56 native.stack.args=-c "~*kP n;qd" -p %p
  57 native.stack.params.repeat=6
  58 
  59 native.core.app=cdb
  60 native.core.args=-c ".dump /f core.%p;qd" -p %p
  61 native.core.params.timeout=3600000
  62 ################################################################################
  63 # environment info to gather
  64 ################################################################################
  65 environment=\
  66   users.current users.logged \
  67   disk \
  68   env \
  69   system.events.system system.events.application system.os \
  70   process.top process.ps process.tasklist \
  71   memory.free memory.vmstat.default memory.vmstat.statistics \
  72         memory.vmstat.slabinfo memory.vmstat.disk \
  73   files \
  74   net.sockets net.statistics net.ipconfig \
  75   screenshot
  76 ################################################################################
  77 users.current.app=id
  78 users.current.args=-a
  79 users.logged.app=query
  80 users.logged.args=user
  81 
  82 disk.app=df
  83 disk.args=-h
  84 
  85 env.app=env
  86 
  87 system.events.app=powershell
  88 system.events.delimiter=\0
  89 system.events.system.args=-NoLogo\0-Command\0Get-EventLog System -After (Get-Date).AddDays(-1) | Format-List
  90 system.events.application.args=-NoLogo\0-Command\0Get-EventLog Application -After (Get-Date).AddDays(-1) | Format-List
  91 
  92 system.os.app=wmic
  93 system.os.args=os get /format:list
  94 
  95 process.top.app=top


  98 process.ps.args=-efW
  99 process.tasklist.app=tasklist
 100 process.tasklist.args=/V
 101 
 102 memory.free.app=free
 103 memory.vmstat.app=vmstat
 104 memory.vmstat.statistics.args=-s
 105 memory.vmstat.slabinfo.args=-m
 106 memory.vmstat.disk.args=-d
 107 
 108 files.app=openfiles
 109 files.args=/query
 110 
 111 net.sockets.app=bash
 112 net.sockets.args=-c\0netstat -b -a -t -o || netstat -a -t -o
 113 net.sockets.args.delimiter=\0
 114 net.statistics.app=netstat
 115 net.statistics.args=-s -e
 116 net.ipconfig.app=ipconfig
 117 net.ipconfig.args=/all
 118 
 119 screenshot.app=bash
 120 screenshot.args=-c\0\
 121     echo '\
 122         var robot = new java.awt.Robot();\
 123         var ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();\
 124         var bounds = ge.getDefaultScreenDevice().getDefaultConfiguration().getBounds();\
 125         var capture = robot.createScreenCapture(bounds);\
 126         var file = new java.io.File(""screen.png"");\
 127         javax.imageio.ImageIO.write(capture, ""png"", file);\
 128     ' | jshell -
 129 screenshot.args.delimiter=\0
 130 ################################################################################
< prev index next >