<commit_before><?xml version="1.0" encoding="utf-8"?>

<!--
    Linux on Hyper-V and Azure Test Code, ver. 1.0.0
    Copyright (c) Microsoft Corporation
    All rights reserved.
    Licensed under the Apache License, Version 2.0 (the ""License"");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
        http://www.apache.org/licenses/LICENSE-2.0
    THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS
    OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
    ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR
    PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
    See the Apache Version 2.0 License for specific language governing
    permissions and limitations under the License.
-->

<config>
    <global>
        <logfileRootDir>TestResults</logfileRootDir>
        <defaultSnapshot>ICABase</defaultSnapshot>
        <dependency>
            <!-- Only Windows Server 2012 supports this suite -->
            <hostVersion>6.2.9200</hostVersion>
        </dependency>
        <email>
            <recipients>
                <to><EMAIL></to>
            </recipients>
            <sender><EMAIL></sender>
            <subject>LISA kdump Tests Run</subject>
            <smtpServer>mysmtphost.mycompany.com</smtpServer>
        </email>
    </global>

    <testSuites>
        <suite>
            <suiteName>KDUMP</suiteName>
            <suiteTests>
                <suiteTest>Crash_single_core</suiteTest>
                <suiteTest>Crash_SMP</suiteTest>
                <suiteTest>Crash_NMI</suiteTest>
                <suiteTest>Crash_differentVCPU</suiteTest>
                <suiteTest>Crash_16cores</suiteTest>
                <suiteTest>Crash_nfs</suiteTest>
                <!-- Only for RedHat. Test with crashkernel=auto -->
                <suiteTest>Crash_Auto_size</suiteTest>
            </suiteTests>
        </suite>
    </testSuites>

    <testCases>
        <test>
            <testName>Crash_single_core</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh</files>
            <testParams>
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-01</param>
                <param>VCPU=1</param>
                <param>VMMemory=4GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_SMP</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupscripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh</files>
            <testParams>
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-02</param>
                <param>VCPU=2</param>
                <param>VMMemory=2GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_NMI</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupscripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh</files>
            <testParams>
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-03</param>
                <param>VCPU=3</param>
                <param>VMMemory=3GB</param>
                <param>NMI=1</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_Auto_size</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh</files>
            <testParams>
                <!-- Minimum RAM=2GB -->
                <param>crashkernel=auto</param>
                <param>TC_COVERED=KDUMP-04</param>
                <param>VCPU=2</param>
                <param>VMMemory=2GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_DifferentVCPU</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh</files>
            <testParams>
                <!-- Minimum RAM=2GB -->
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-05</param>
                <param>VCPU=4</param>
                <param>VMMemory=2GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_16cores</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh</files>
            <testParams>
                <!-- Minimum RAM=2GB -->
                <param>crashkernel=512M</param>
                <param>TC_COVERED=KDUMP-07</param>
                <param>VCPU=16</param>
                <param>VMMemory=4GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_nfs</testName>
            <setupScript>
                <file>setupscripts\RevertSnapshot.ps1</file>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh,remote-scripts/ica/kdump_nfs_config.sh</files>
            <testParams>
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-06</param>
                <param>use_nfs=yes</param>
                <param>VCPU=1</param>
                <param>VMMemory=4GB</param>
            </testParams>
            <timeout>700</timeout>
        </test><commit_msg>kdump_nfs_config.sh should be put into Kdump_Test.xml<commit_after><?xml version="1.0" encoding="utf-8"?>

<!--
    Linux on Hyper-V and Azure Test Code, ver. 1.0.0
    Copyright (c) Microsoft Corporation
    All rights reserved.
    Licensed under the Apache License, Version 2.0 (the ""License"");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
        http://www.apache.org/licenses/LICENSE-2.0
    THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS
    OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
    ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR
    PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
    See the Apache Version 2.0 License for specific language governing
    permissions and limitations under the License.
-->

<config>
    <global>
        <logfileRootDir>TestResults</logfileRootDir>
        <defaultSnapshot>ICABase</defaultSnapshot>
        <dependency>
            <!-- Only Windows Server 2012 supports this suite -->
            <hostVersion>6.2.9200</hostVersion>
        </dependency>
        <email>
            <recipients>
                <to><EMAIL></to>
            </recipients>
            <sender><EMAIL></sender>
            <subject>LISA kdump Tests Run</subject>
            <smtpServer>mysmtphost.mycompany.com</smtpServer>
        </email>
    </global>

    <testSuites>
        <suite>
            <suiteName>KDUMP</suiteName>
            <suiteTests>
                <suiteTest>Crash_single_core</suiteTest>
                <suiteTest>Crash_SMP</suiteTest>
                <suiteTest>Crash_NMI</suiteTest>
                <suiteTest>Crash_differentVCPU</suiteTest>
                <suiteTest>Crash_16cores</suiteTest>
                <suiteTest>Crash_nfs</suiteTest>
                <!-- Only for RedHat. Test with crashkernel=auto -->
                <suiteTest>Crash_Auto_size</suiteTest>
            </suiteTests>
        </suite>
    </testSuites>

    <testCases>
        <test>
            <testName>Crash_single_core</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh,remote-scripts/ica/kdump_nfs_config.sh</files>
            <testParams>
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-01</param>
                <param>VCPU=1</param>
                <param>VMMemory=4GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_SMP</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupscripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh,remote-scripts/ica/kdump_nfs_config.sh</files>
            <testParams>
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-02</param>
                <param>VCPU=2</param>
                <param>VMMemory=2GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_NMI</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupscripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh,remote-scripts/ica/kdump_nfs_config.sh</files>
            <testParams>
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-03</param>
                <param>VCPU=3</param>
                <param>VMMemory=3GB</param>
                <param>NMI=1</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_Auto_size</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh,remote-scripts/ica/kdump_nfs_config.sh</files>
            <testParams>
                <!-- Minimum RAM=2GB -->
                <param>crashkernel=auto</param>
                <param>TC_COVERED=KDUMP-04</param>
                <param>VCPU=2</param>
                <param>VMMemory=2GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_DifferentVCPU</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh,remote-scripts/ica/kdump_nfs_config.sh</files>
            <testParams>
                <!-- Minimum RAM=2GB -->
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-05</param>
                <param>VCPU=4</param>
                <param>VMMemory=2GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_16cores</testName>
            <setupScript>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh,remote-scripts/ica/kdump_nfs_config.sh</files>
            <testParams>
                <!-- Minimum RAM=2GB -->
                <param>crashkernel=512M</param>
                <param>TC_COVERED=KDUMP-07</param>
                <param>VCPU=16</param>
                <param>VMMemory=4GB</param>
            </testParams>
            <timeout>600</timeout>
        </test>

        <test>
            <testName>Crash_nfs</testName>
            <setupScript>
                <file>setupscripts\RevertSnapshot.ps1</file>
                <file>setupscripts\ChangeCPU.ps1</file>
                <file>setupScripts\SetVMMemory.ps1</file>
            </setupScript>
            <testScript>setupScripts\kdump.ps1</testScript>
            <files>remote-scripts/ica/utils.sh,remote-scripts/ica/kdump_config.sh,remote-scripts/ica/kdump_results.sh,remote-scripts/ica/kdump_execute.sh,remote-scripts/ica/kdump_nfs_config.sh</files>
            <testParams>
                <param>crashkernel=384M</param>
                <param>TC_COVERED=KDUMP-06</param>
                <param>use_nfs=yes</param>
                <param>VCPU=1</param>
                <param>VMMemory=4GB</param>
            </testParams>
            <timeout>700</timeout>
        </test>
{'fraction_non_alphanumeric': 0.12213438735177866, 'fraction_numerical': 0.015810276679841896, 'mean_word_length': 1.9239214175654853, 'pattern_counts': {'":': 0, '<': 489, '<?xml version=': 2, '>': 489, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5374512', 'n_tokens_mistral': 4846, 'n_tokens_neox': 4601, 'n_words': 544}