??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
àUdac @` s^ d d l m Z m Z m Z e Z d Z d d l Z d d l Z d d l Z d d l
m Z d d l
m Z m Z d d l m Z y d d l m Z m Z e Z Wn e k
r» e Z n Xy d d l m Z e Z WnE e k
ry d d l m Z e Z Wqe k
re Z qXn Xd e f d
„ ƒ YZ d d d „ ƒ YZ d
d d „ ƒ YZ d S( i ( t absolute_importt divisiont print_functions
callback: junit
type: aggregate
short_description: write playbook output to a JUnit file.
version_added: historical
description:
- This callback writes playbook output to a JUnit formatted XML file.
- "Tasks show up in the report as follows:
'ok': pass
'failed' with 'EXPECTED FAILURE' in the task name: pass
'failed' with 'TOGGLE RESULT' in the task name: pass
'ok' with 'TOGGLE RESULT' in the task name: failure
'failed' due to an exception: error
'failed' for other reasons: failure
'skipped': skipped"
options:
output_dir:
name: JUnit output dir
default: ~/.ansible.log
description: Directory to write XML files to.
env:
- name: JUNIT_OUTPUT_DIR
task_class:
name: JUnit Task class
default: False
description: Configure the output to be one class per yaml file
env:
- name: JUNIT_TASK_CLASS
task_relative_path:
name: JUnit Task relative path
default: none
description: Configure the output to use relative paths to given directory
version_added: "2.8"
env:
- name: JUNIT_TASK_RELATIVE_PATH
fail_on_change:
name: JUnit fail on change
default: False
description: Consider any tasks reporting "changed" as a junit test failure
env:
- name: JUNIT_FAIL_ON_CHANGE
fail_on_ignore:
name: JUnit fail on ignore
default: False
description: Consider failed tasks as a junit test failure even if ignore_on_error is set
env:
- name: JUNIT_FAIL_ON_IGNORE
include_setup_tasks_in_report:
name: JUnit include setup tasks in report
default: True
description: Should the setup tasks be included in the final report
env:
- name: JUNIT_INCLUDE_SETUP_TASKS_IN_REPORT
hide_task_arguments:
name: Hide the arguments for a task
default: False
description: Hide the arguments for a task
version_added: "2.8"
env:
- name: JUNIT_HIDE_TASK_ARGUMENTS
test_case_prefix:
name: Prefix to find actual test cases
default:
description: Consider a task only as test case if it has this value as prefix. Additionaly failing tasks are recorded as failed test cases.
version_added: "2.8"
env:
- name: JUNIT_TEST_CASE_PREFIX
requirements:
- whitelist in configuration
- junit_xml (python lib)
N( t constants( t to_bytest to_text( t CallbackBase( t TestSuitet TestCase( t OrderedDictt CallbackModulec B` s e Z d Z d Z d Z d Z e Z d „ Z d „ Z d „ Z
d „ Z d „ Z d „ Z
d
„ Z d „ Z d „ Z d
„ Z d „ Z d „ Z e d „ Z d „ Z d „ Z d „ Z d „ Z RS( s8
This callback writes playbook output to a JUnit formatted XML file.
Tasks show up in the report as follows:
'ok': pass
'failed' with 'EXPECTED FAILURE' in the task name: pass
'failed' with 'TOGGLE RESULT' in the task name: pass
'ok' with 'TOGGLE RESULT' in the task name: failure
'failed' due to an exception: error
'failed' for other reasons: failure
'skipped': skipped
This plugin makes use of the following environment variables:
JUNIT_OUTPUT_DIR (optional): Directory to write XML files to.
Default: ~/.ansible.log
JUNIT_TASK_CLASS (optional): Configure the output to be one class per yaml file
Default: False
JUNIT_TASK_RELATIVE_PATH (optional): Configure the output to use relative paths to given directory
Default: none
JUNIT_FAIL_ON_CHANGE (optional): Consider any tasks reporting "changed" as a junit test failure
Default: False
JUNIT_FAIL_ON_IGNORE (optional): Consider failed tasks as a junit test failure even if ignore_on_error is set
Default: False
JUNIT_INCLUDE_SETUP_TASKS_IN_REPORT (optional): Should the setup tasks be included in the final report
Default: True
JUNIT_HIDE_TASK_ARGUMENTS (optional): Hide the arguments for a task
Default: False
JUNIT_TEST_CASE_PREFIX (optional): Consider a task only as test case if it has this value as prefix. Additionaly failing tasks are recorded as failed
test cases.
Default:
Requires:
junit_xml
g @t aggregatet junitc C` sŽ t t | ƒ j ƒ t j d t j j d ƒ ƒ | _ t j d d ƒ j ƒ | _ t j d d ƒ | _
t j d d ƒ j ƒ | _ t j d d ƒ j ƒ | _ t j d d
ƒ j ƒ | _
t j d d ƒ j ƒ | _ t j d d ƒ | _ d | _ d | _ d | _ d | _ t | _ t s4t | _ | j j d
ƒ n t rIt ƒ | _ n t | _ | j j d ƒ t j j | j ƒ sŠt j | j ƒ n d S( Nt JUNIT_OUTPUT_DIRs ~/.ansible.logt JUNIT_TASK_CLASSt Falset JUNIT_TASK_RELATIVE_PATHt t JUNIT_FAIL_ON_CHANGEt JUNIT_FAIL_ON_IGNOREt# JUNIT_INCLUDE_SETUP_TASKS_IN_REPORTt Truet JUNIT_HIDE_TASK_ARGUMENTSt JUNIT_TEST_CASE_PREFIXsV The `junit_xml` python module is not installed. Disabling the `junit` callback plugin.sX The `ordereddict` python module is not installed. Disabling the `junit` callback plugin.( t superR
t __init__t ost getenvt patht
expandusert _output_dirt lowert _task_classt _task_relative_patht _fail_on_changet _fail_on_ignoret _include_setup_tasks_in_reportt _hide_task_argumentst _test_case_prefixt Nonet _playbook_patht _playbook_namet
_play_namet
_task_dataR t disabledt
HAS_JUNIT_XMLR t _displayt warningt HAS_ORDERED_DICTR t existst makedirs( t self( ( sB /usr/lib/python2.7/site-packages/ansible/plugins/callback/junit.pyR “ s. ! c C` sÄ | j } | | j k r d S| j } | j ƒ j ƒ } | j ƒ } | j } | j r¡ | j d k r¡ d j d „ | j
j ƒ Dƒ ƒ } | r¡ | d | 7} q¡ n t | | | | | ƒ | j |