Search in sources :

Example 26 with BlockedByBzBug

use of com.redhat.qe.auto.bugzilla.BlockedByBzBug in project rhsm-qe by RedHatQE.

the class ListTests method getConsumedWithServicelevelDataAsListOfLists.

protected List<List<Object>> getConsumedWithServicelevelDataAsListOfLists() throws JSONException, Exception {
    List<List<Object>> ll = new ArrayList<List<Object>>();
    if (!isSetupBeforeSuiteComplete)
        return ll;
    // register with force and subscribe to all available subscriptions collectively
    String consumerId = clienttasks.getCurrentConsumerId(clienttasks.register(sm_clientUsername, sm_clientPassword, sm_clientOrg, null, null, "SubscriptionServicelevelConsumer", null, null, null, null, (String) null, null, null, null, true, false, null, null, null, null));
    String org = CandlepinTasks.getOwnerKeyOfConsumerId(sm_clientUsername, sm_clientPassword, sm_serverUrl, consumerId);
    clienttasks.subscribeToTheCurrentlyAllAvailableSubscriptionPoolsCollectively();
    // get all the valid service levels available to this org
    for (String serviceLevel : CandlepinTasks.getServiceLevelsForOrgKey(sm_clientUsername, sm_clientPassword, sm_serverUrl, org)) {
        Object bugzilla = null;
        if (serviceLevel.equals("None"))
            bugzilla = new BlockedByBzBug(new String[] { "842170", "976924" });
        ll.add(Arrays.asList(new Object[] { bugzilla, serviceLevel }));
    }
    ll.add(Arrays.asList(new Object[] { new BlockedByBzBug(new String[] { "842170", "976924", "1156627" }), "" }));
    ll.add(Arrays.asList(new Object[] { null, "FOO" }));
    return ll;
}
Also used : ArrayList(java.util.ArrayList) ArrayList(java.util.ArrayList) List(java.util.List) JSONObject(org.json.JSONObject) BlockedByBzBug(com.redhat.qe.auto.bugzilla.BlockedByBzBug)

Example 27 with BlockedByBzBug

use of com.redhat.qe.auto.bugzilla.BlockedByBzBug in project rhsm-qe by RedHatQE.

the class ManagementAddOnTests method getAddOnSubscriptionDataAsListOfLists.

protected List<List<Object>> getAddOnSubscriptionDataAsListOfLists() throws JSONException, Exception {
    List<List<Object>> ll = new ArrayList<List<Object>>();
    if (!isSetupBeforeSuiteComplete)
        return ll;
    clienttasks.unsubscribeFromAllOfTheCurrentlyConsumedProductSubscriptions();
    List<SubscriptionPool> allAvailablePools = clienttasks.getCurrentlyAllAvailableSubscriptionPools();
    // iterate through all available pools looking for those that contain no provided products (A Management AddOn Subscription contains no products)
    for (SubscriptionPool pool : allAvailablePools) {
        JSONObject jsonPool = new JSONObject(CandlepinTasks.getResourceUsingRESTfulAPI(sm_clientUsername, sm_clientPassword, sm_serverUrl, "/pools/" + pool.poolId));
        JSONArray jsonProvidedProducts = jsonPool.getJSONArray("providedProducts");
        if (jsonProvidedProducts.length() == 0) {
            Set<String> bugIds = new HashSet<String>();
            // Bug 1204311 - derivedProvidedProducts should not show up on a consumed subscription from a temporary pool
            if (CandlepinTasks.isPoolRestrictedToUnmappedVirtualSystems(sm_clientUsername, sm_clientPassword, sm_serverUrl, pool.poolId)) {
                bugIds.add("1204311");
            }
            // found a subscription to a Management Add-on, add it to the list of subscriptions to test
            BlockedByBzBug blockedByBzBug = new BlockedByBzBug(bugIds.toArray(new String[] {}));
            ll.add(Arrays.asList(new Object[] { blockedByBzBug, pool }));
        }
    }
    return ll;
}
Also used : JSONObject(org.json.JSONObject) ArrayList(java.util.ArrayList) JSONArray(org.json.JSONArray) ArrayList(java.util.ArrayList) List(java.util.List) JSONObject(org.json.JSONObject) SubscriptionPool(rhsm.data.SubscriptionPool) BlockedByBzBug(com.redhat.qe.auto.bugzilla.BlockedByBzBug) HashSet(java.util.HashSet)

Example 28 with BlockedByBzBug

use of com.redhat.qe.auto.bugzilla.BlockedByBzBug in project rhsm-qe by RedHatQE.

the class ManifestTests method getManifestFilesDataAsListOfLists.

protected List<List<Object>> getManifestFilesDataAsListOfLists() {
    List<List<Object>> ll = new ArrayList<List<Object>>();
    if (clienttasks == null)
        return ll;
    for (File manifestFile : manifestFiles) {
        Set<String> bugIds = new HashSet<String>();
        // Bug 913187 - rct cat-manifest throws Traceback: KeyError: 'webAppPrefix'
        if (manifestFile.getName().equals("stageSamTest20Nov2011.zip"))
            bugIds.add("913187");
        if (manifestFile.getName().equals("fake-manifest-syncable.zip"))
            bugIds.add("913187");
        if (manifestFile.getName().equals("manifest-0219-131433-939.zip"))
            bugIds.add("913187");
        // Bug 914717 - rct cat-manifest fails to report Contract from the embedded entitlement cert
        if (manifestFile.getName().equals("manifest_SYS0395_RH0197181.zip"))
            bugIds.add("914717");
        if (manifestFile.getName().equals("manifest_RH1569626.zip"))
            bugIds.add("914717");
        // Bug 914799 - rct cat-manifest fails to report Architectures from the embedded entitlement cert
        if (manifestFile.getName().equals("stageSamTest20Nov2011.zip"))
            bugIds.add("914799");
        // Bug 914843 - rct cat-manifest fails to report Provided Products from the embedded entitlement cert
        if (manifestFile.getName().equals("manifest_SYS0395_RH0197181.zip"))
            bugIds.add("914843");
        // Bug 1005430 - rct cat-manifest fails to display all the provided products from the embedded entitlement cert
        if (manifestFile.getName().equals("manifest_SER0406.zip"))
            bugIds.add("1005430");
        // Bug 1388207 - [RFE] rct cat-manifest command should show derived products
        if (manifestFile.getName().equals("manifest_RH00001.zip"))
            bugIds.add("1388207");
        // Bug 1424614 - [RFE] Enhance the 'rct cat-manifest' command to show manifests with the Organization/Environment Content Access Flag
        if (manifestFile.getName().equals("manifest_ORG_ENVIRONMENT.zip"))
            bugIds.add("1424614");
        BlockedByBzBug blockedByBzBug = new BlockedByBzBug(bugIds.toArray(new String[] {}));
        ll.add(Arrays.asList(new Object[] { blockedByBzBug, manifestFile }));
    }
    return ll;
}
Also used : ArrayList(java.util.ArrayList) ArrayList(java.util.ArrayList) List(java.util.List) File(java.io.File) BlockedByBzBug(com.redhat.qe.auto.bugzilla.BlockedByBzBug) HashSet(java.util.HashSet)

Example 29 with BlockedByBzBug

use of com.redhat.qe.auto.bugzilla.BlockedByBzBug in project rhsm-qe by RedHatQE.

the class MigrationDataTests method getRhnClassicBaseAndAvailableChildChannelsDataAsListOfLists.

protected List<List<Object>> getRhnClassicBaseAndAvailableChildChannelsDataAsListOfLists() {
    List<List<Object>> ll = new ArrayList<List<Object>>();
    if (!isSetupBeforeSuiteComplete)
        return ll;
    if (clienttasks == null)
        return ll;
    // add the base channel
    if (rhnBaseChannel != null) {
        // bugzillas
        Set<String> bugIds = new HashSet<String>();
        if (rhnBaseChannel.equals("rhel-x86_64-hpc-node-7")) {
            // Bug 1078527 - channel-cert-mapping for ComputeNode rhel-7 product certs are missing and wrong
            bugIds.add("1078527");
        }
        BlockedByBzBug blockedByBzBug = new BlockedByBzBug(bugIds.toArray(new String[] {}));
        ll.add(Arrays.asList(new Object[] { blockedByBzBug, rhnBaseChannel }));
    }
    // add the child channels
    for (String rhnAvailableChildChannel : rhnAvailableChildChannels) {
        // bugzillas
        Set<String> bugIds = new HashSet<String>();
        if (rhnAvailableChildChannel.matches("sam-rhel-.+-server-6-beta.*")) {
            // sam-rhel-x86_64-server-6-beta-debuginfo
            // Bug 819092 - channels for sam-rhel-<ARCH>-server-6-beta-* are not yet mapped to product certs in rcm/rhn-definitions.git
            bugIds.add("819092");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-rhui-2(-.*|$)")) {
            // rhel-x86_64-server-6-rhui-2 rhel-x86_64-server-6-rhui-2-debuginfo
            // Bug 819089 - channels for rhel-<ARCH>-rhui-2-* are not yet mapped to product certs in rcm/rhn-definitions.git
            bugIds.add("819089");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-6-mrg-.+")) {
            // rhel-x86_64-server-6-mrg-grid-execute-2-debuginfo rhel-x86_64-server-6-mrg-messaging-2-debuginfo
            // Bug 819088 - channels for rhel-<ARCH>-server-6-mrg-* are not yet mapped to product certs in rcm/rhn-definitions.git
            bugIds.add("819088");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-hpc-node-6-mrg-.*")) {
            // rhel-x86_64-hpc-node-6-mrg-grid-execute-2  rhel-x86_64-hpc-node-6-mrg-grid-execute-2-debuginfo  rhel-x86_64-hpc-node-6-mrg-management-2  rhel-x86_64-hpc-node-6-mrg-management-2-debuginfo
            // Bug 825608 - channels for rhel-<ARCH>-hpc-node-6-mrg-* are not yet mapped to product certs in rcm/rhn-definitions.git
            bugIds.add("825608");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-v2vwin-6(-.*|$)")) {
            // rhel-x86_64-server-v2vwin-6-beta-debuginfo
            // Bug 817791 - v2vwin content does not exist in CDN
            bugIds.add("817791");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-fastrack-6(-.*|$)")) {
            // rhel-x86_64-server-ha-fastrack-6-debuginfo
            // Bug 818202 - Using subscription-manager, some repositories like fastrack are not available as they are in rhn.
            // CLOSED WONTFIX
            bugIds.add("818202");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-eucjp-6(-.+|$)")) {
            // rhel-x86_64-server-eucjp-6 rhel-x86_64-server-eucjp-6-beta etc.
            // Bug 840148 - missing product cert corresponding to "Red Hat EUCJP Support (for RHEL Server)"
            bugIds.add("840148");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-fastrack-5(-.*|$)")) {
            // rhel-x86_64-server-fastrack-5 rhel-x86_64-server-fastrack-5-debuginfo
            // Bug 818202 - Using subscription-manager, some repositories like fastrack are not available as they are in rhn.
            // CLOSED WONTFIX
            bugIds.add("818202");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-5-cf-tools-1(-beta)?-debuginfo")) {
            // rhel-x86_64-server-5-cf-tools-1-beta-debuginfo, rhel-x86_64-server-5-cf-tools-1-debuginfo
            // Bug 840099 - debug info channels for rhel-x86_64-server-5-cf-tools are not yet mapped to product certs in rcm/rcm-metadata.git
            // CLOSED as a dup of bug 818202
            bugIds.add("840099");
            // CLOSED WONTFIX
            bugIds.add("818202");
            // Bug 1105331 - RHN channel to product cert mappings are missing for rhel-x86_64-server-5-cf-tools-1-[beta-]debug channels
            bugIds.add("1105331");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-5-mrg-.*")) {
            // rhel-x86_64-server-5-mrg-grid-1 rhel-x86_64-server-5-mrg-grid-1-beta rhel-x86_64-server-5-mrg-grid-2 rhel-x86_64-server-5-mrg-grid-execute-1 rhel-x86_64-server-5-mrg-grid-execute-1-beta rhel-x86_64-server-5-mrg-grid-execute-2 etc.
            // Bug 840102 - channels for rhel-<ARCH>-server-5-mrg-* are not yet mapped to product certs in rcm/rcm-metadata.git
            // CLOSED WONTFIX
            bugIds.add("840102");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-hpc-5(-.*|$)")) {
            // rhel-x86_64-server-hpc-5-beta
            // Bug 840103 - channel for rhel-x86_64-server-hpc-5-beta is not yet mapped to product cert in rcm/rcm-metadata.git
            bugIds.add("840103");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-rhev-hdk-2-5(-.+|$)")) {
            // rhel-x86_64-server-rhev-hdk-2-5 rhel-x86_64-server-rhev-hdk-2-5-beta
            // Bug 840108 - channels for rhel-<ARCH>-rhev-hdk-2-5-* are not yet mapped to product certs in rcm/rhn-definitions.git
            bugIds.add("840108");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-productivity-5-beta(-.+|$)")) {
            // rhel-x86_64-server-productivity-5-beta rhel-x86_64-server-productivity-5-beta-debuginfo
            // Bug 840136 - various rhel channels are not yet mapped to product certs in rcm/rcm-metadata.git
            // CLOSED in favor of bug 840099
            bugIds.add("840136");
            // CLOSED as a dup of bug 818202
            bugIds.add("840099");
            // CLOSED WONTFIX
            bugIds.add("818202");
            bugIds.add("1105656");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-rhsclient-5(-.+|$)")) {
            // rhel-x86_64-server-rhsclient-5 rhel-x86_64-server-rhsclient-5-debuginfo
            // Bug 840136 - various rhel channels are not yet mapped to product certs in rcm/rcm-metadata.git
            // CLOSED in favor of bug 840099
            bugIds.add("840136");
            // CLOSED as a dup of bug 818202
            bugIds.add("840099");
            // CLOSED WONTFIX
            bugIds.add("818202");
            bugIds.add("1105656");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-xfs-5(-.+|$)")) {
            // rhel-x86_64-server-xfs-5 rhel-x86_64-server-xfs-5-beta
            // Bug 840136 - various rhel channels are not yet mapped to product certs in rcm/rcm-metadata.git
            // CLOSED in favor of bug 840099
            bugIds.add("840136");
            // CLOSED as a dup of bug 818202
            bugIds.add("840099");
            // CLOSED WONTFIX
            bugIds.add("818202");
            bugIds.add("1105656");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-5-shadow(-.+|$)")) {
            // rhel-x86_64-server-5-shadow-debuginfo
            // Bug 840136 - various rhel channels are not yet mapped to product certs in rcm/rcm-metadata.git
            // CLOSED in favor of bug 840099
            bugIds.add("840136");
            // CLOSED as a dup of bug 818202
            bugIds.add("840099");
            // CLOSED WONTFIX
            bugIds.add("818202");
            bugIds.add("1105656");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-eucjp-5(-.+|$)")) {
            // rhel-x86_64-server-eucjp-5 rhel-x86_64-server-eucjp-5-beta etc.
            // Bug 840148 - missing product cert corresponding to "Red Hat EUCJP Support (for RHEL Server)"
            bugIds.add("840148");
            // Bug 847069 - Add certificates for rhel-x86_64-server-eucjp-5* channels.
            bugIds.add("847069");
        }
        if (rhnAvailableChildChannel.startsWith("rhx-")) {
            // rhx-alfresco-enterprise-2.0-rhel-x86_64-server-5 rhx-amanda-enterprise-backup-2.6-rhel-x86_64-server-5 etcetera
            // Bug 840111 - various rhx channels are not yet mapped to product certs in rcm/rcm-metadata.git
            bugIds.add("840111");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-rhsclient-6(-.*|$)")) {
            // rhel-x86_64-server-rhsclient-6 rhel-x86_64-server-rhsclient-6-debuginfo
            // Bug 872980 - channels for rhel-<ARCH>-server-rhsclient-6* are not yet mapped to product certs in rcm/rcm-metadata.git
            // CLOSED DUPLICATE of bug 818202
            bugIds.add("872980");
            // CLOSED WONTFIX
            bugIds.add("818202");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-server-6-ost-folsom(-.*|$)")) {
            // rhel-x86_64-server-6-ost-folsom  rhel-x86_64-server-6-ost-folsom-debuginfo
            // Bug 872983 - channels for rhel-<ARCH>-server-6-ost-folsom* are not yet mapped to product certs in rcm/rcm-metadata.git
            bugIds.add("872983");
            // Bug 884657 - the server-6-ost-folsom channels need to be mapped into channel-cert-mapping.txt
            bugIds.add("884657");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-i386-server-sjis-6")) {
            // rhel-i386-server-sjis-6 rhel-i386-server-sjis-6-debuginfo rhel-i386-server-sjis-6-beta rhel-i386-server-sjis-6-beta-debuginfo
            // Bug 892711 - rhel-i386-server-sjis-6 channels are available, but not accounted for in product-baseline.json
            bugIds.add("892711");
        }
        if (rhnAvailableChildChannel.matches("rhel-.+-client-dts-5(-.*|$)")) {
            // rhel-i386-client-dts-5-debuginfo rhel-i386-client-dts-5-beta-debuginfo rhel-i386-client-dts-5-beta rhel-i386-client-dts-5
            // Bug 969156 - RHN Channels: [] in product-baseline.json is empty for "Red Hat Developer Toolset (for RHEL Client)"
            bugIds.add("969156");
            // Bug 969160 - rhel-*-client-dts-5* channels are not mapped in channel-cert-mapping.txt
            bugIds.add("969160");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-i386-server-sjis-6-beta")) {
            // rhel-i386-server-sjis-6-beta rhel-i386-server-sjis-6-beta-debuginfo
            // Bug 1009011 - some "Red Hat S-JIS Support (for RHEL Server)" channels are not mapped in product-certs.json
            bugIds.add("1009011");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-x86_64-client-6-rhscl-1")) {
            // rhel-x86_64-client-6-rhscl-1 rhel-x86_64-client-6-rhscl-1-debuginfo rhel-x86_64-client-6-rhscl-1-beta rhel-x86_64-client-6-rhscl-1-beta-debuginfo
            // Bug 1009071 - the RHN Classic rhel-x86_64-client-6-rhscl-1 channels are not accounted for in product-certs.json
            bugIds.add("1009071");
        }
        if (rhnAvailableChildChannel.matches(".+-htb(-.*|$)")) {
            // Bug 1011992 - High Touch Beta channel mappings should be excluded from channel-cert-mapping.txt
            bugIds.add("1011992");
        }
        List<String> variousAvailableChildChannels = Arrays.asList(new String[] { "rhel-x86_64-server-6-rhevm-3-beta", "rhel-x86_64-rhev-mgmt-agent-6-beta-debuginfo", "rhel-x86_64-rhev-mgmt-agent-6-beta", "rhel-x86_64-server-6-cf-ce-1-beta-debuginfo", "rhel-x86_64-server-6-cf-ce-1-beta", "rhel-x86_64-server-6-cf-se-1-beta-debuginfo", "rhel-x86_64-server-6-cf-se-1-beta", "rhel-x86_64-server-6-ose-1.2-infrastructure-debuginfo", "rhel-x86_64-server-6-ose-1.2-infrastructure", "rhel-x86_64-server-6-ose-1.2-jbosseap-debuginfo", "rhel-x86_64-server-6-ose-1.2-jbosseap", "rhel-x86_64-server-6-ose-1.2-node-debuginfo", "rhel-x86_64-server-6-ose-1.2-node", "rhel-x86_64-server-6-ose-1.2-rhc-debuginfo", "rhel-x86_64-server-6-ose-1.2-rhc", "rhel-x86_64-server-6-osop-1-infrastructure-beta-debuginfo", "rhel-x86_64-server-6-osop-1-infrastructure-beta", "rhel-x86_64-server-6-osop-1-jbosseap-beta-debuginfo", "rhel-x86_64-server-6-osop-1-jbosseap-beta", "rhel-x86_64-server-6-osop-1-node-beta-debuginfo", "rhel-x86_64-server-6-osop-1-node-beta", "rhel-x86_64-server-6-osop-1-rhc-beta-debuginfo", "rhel-x86_64-server-6-osop-1-rhc-beta", "rhel-x86_64-server-6-ost-3-cts-debuginfo", "rhel-x86_64-server-6-ost-3-cts", "rhel-x86_64-server-6-ost-3-debuginfo", "rhel-x86_64-server-6-ost-3", "rhel-x86_64-server-6-ovs-supplemental-beta-debuginfo", "rhel-x86_64-server-6-ovs-supplemental-beta", "rhel-x86_64-server-6-ovs-supplemental-debuginfo", "rhel-x86_64-server-6-ovs-supplemental", "rhel-x86_64-server-6-rhevh-beta-debuginfo", "rhel-x86_64-server-6-rhevh-beta", "rhel-x86_64-server-6-rhevm-3-beta-debuginfo", "rhel-x86_64-server-6-rhscl-1-beta-debuginfo", "rhel-x86_64-server-6-rhscl-1-beta", "rhel-x86_64-server-6-rhscl-1-debuginfo", "rhel-x86_64-server-6-rhscl-1", "rhel-x86_64-workstation-6-rhscl-1-beta", "rhel-x86_64-workstation-6-rhscl-1-beta-debuginfo", "rhel-i386-server-hts-6-beta", "rhel-x86_64-server-hts-6-beta", // Red Hat Hardware Certification Test Suite  productID=199
        "rhel-ppc64-server-hts-6", "rhel-ppc64-server-hts-6-beta" });
        if (variousAvailableChildChannels.contains(rhnAvailableChildChannel)) {
            // Bug 1009109 - various available RHN Classic child channels that are not accounted for in product-certs.json
            bugIds.add("1009109");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-x86_64-server-6-ost-4") || rhnAvailableChildChannel.startsWith("rhel-x86_64-server-6-ost-beta")) {
            // Bug 1019981 - OpenStack-4.0 rhel-x86_64-server-6-ost-4 channel maps are missing
            bugIds.add("1019981");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-x86_64-server-6-ose-2")) {
            // Bug 1019986 - OpenShift-2.0 rhel-x86_64-server-6-ose-2 channel maps are missing
            bugIds.add("1019986");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-x86_64-server-6-rhs-rhsc-2.1")) {
            // Bug 1021661 - Red Hat Storage Management Console rhel-x86_64-server-6-rhs-rhsc-2.1 channel maps are missing
            bugIds.add("1021661");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-me-2") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-me-2-debuginfo")) {
            // Bug 1021664 - Red Hat CloudForms rhel-x86_64-server-6-cf-me-2 channel mappings are missing
            bugIds.add("1021664");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-7") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-supplementary-7") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-optional-7") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-optional-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-rh-common-7")) {
            // Bug 1078527 - channel-cert-mapping for ComputeNode rhel-7 product certs are missing and wrong
            bugIds.add("1078527");
        }
        if (// rhnAvailableChildChannel.equals("rhel-x86_64-server-xfs-5-beta") ||
        rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-5-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-5-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-5-beta-debuginfo") || // rhnAvailableChildChannel.equals("rhel-x86_64-server-5-shadow-debuginfo") ||
        rhnAvailableChildChannel.equals("rhel-x86_64-server-rhsclient-5") || rhnAvailableChildChannel.equals("rhel-x86_64-server-rhsclient-5-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-5-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-x86_64-server-5-thirdparty-oracle-java-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-client-5-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-x86_64-client-5-thirdparty-oracle-java-beta") || rhnAvailableChildChannel.equals("rhel-i386-client-5-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-i386-client-5-thirdparty-oracle-java-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-5-cf-me-2")) {
            // Bug 1105656 - missing a few RHN Classic channel mappings to product certs
            bugIds.add("1105656");
        }
        if (rhnAvailableChildChannel.equals("rhel-i386-server-productivity-5-beta") || rhnAvailableChildChannel.equals("rhel-i386-server-productivity-5-beta-debuginfo")) {
            // Bug 1127794 - subscription-manager-migration-data is missing channel-to-productCert maps for rhel-i386-server-productivity-5-beta channels
            bugIds.add("1127794");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-me-3-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-me-3-beta-debuginfo")) {
            // Bug 1127880 - rhel-x86_64-server-6-cf-me-3-beta channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1127880");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-foreman") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-foreman-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-5") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-5-debuginfo")) {
            // Bug 1127884 - rhel-x86_64-server-6-ost-(5|foreman) channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1127884");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-x86_64-server-6-rhs-3") || rhnAvailableChildChannel.startsWith("rhel-x86_64-server-6-rhs-rhsc-3") || rhnAvailableChildChannel.startsWith("rhel-x86_64-server-6-rhs-nagios-3")) {
            // Bug 1127900 - rhel-x86_64-server-6-rhs-(3|rhsc-3|nagios) channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1127900");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.5") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.5-debuginfo")) {
            // Bug 1127903 - rhel-x86_64-server-6-rhevm-3.5 channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1127903");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-ppc-server-hts-5-beta")) {
            // Bug 1128283 - rhel-ppc-server-hts-5-beta channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1128283");
        }
        if (rhnAvailableChildChannel.equals("rhel-s390x-server-hts-6-beta")) {
            // Bug 1131596 - rhel-s390x-server-hts-6-beta channel map is missing from channel-cert-mapping.txt
            bugIds.add("1131596");
        }
        if (rhnAvailableChildChannel.equals("rhel-ppc-server-optional-6-beta") || rhnAvailableChildChannel.equals("rhel-ppc-server-6-beta") || rhnAvailableChildChannel.equals("rhel-ppc64-server-hpn-fastrack-6") || rhnAvailableChildChannel.equals("rhel-ppc64-server-hpn-fastrack-6-debuginfo")) {
            // Bug 1131629 - some rhel-ppc-server and rhel-ppc64-server channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1131629");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.4")) {
            // Bug 1129948 - RHEV 3.4 channel mappings missing for rhn-migrate-classic-to-rhsm
            bugIds.add("1129948");
        }
        if (// https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c0
        rhnAvailableChildChannel.equals("rhel-x86_64-server-sjis-6-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-eucjp-6") || rhnAvailableChildChannel.equals("rhel-x86_64-server-eucjp-6-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhs-optional-3") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhs-optional-3-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhs-bigdata-3") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhs-bigdata-3-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c1
        rhnAvailableChildChannel.equals("rhel-x86_64-server-sjis-6") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c2
        rhnAvailableChildChannel.equals("rhel-i386-server-sjis-6") || rhnAvailableChildChannel.equals("rhel-i386-server-sjis-6-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c3
        rhnAvailableChildChannel.equals("rhel-ppc64-server-bluegene-6") || rhnAvailableChildChannel.equals("rhel-ppc64-server-bluegene-6-debuginfo") || rhnAvailableChildChannel.equals("rhel-ppc64-server-p7ih-6") || rhnAvailableChildChannel.equals("rhel-ppc64-server-p7ih-6-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c9
        rhnAvailableChildChannel.equals("rhel-x86_64-server-v2vwin-6-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-v2vwin-6-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-3-cts") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-3-cts-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.5") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.5-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ose-2.2-infrastructure") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ose-2.2-infrastructure-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cert") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cert-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.1-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.1-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-6-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c10
        rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-me-3.2") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-me-3.2-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c11
        rhnAvailableChildChannel.equals("rhel-i386-server-hts-6-debuginfo") || rhnAvailableChildChannel.equals("rhel-i386-server-6-cert") || rhnAvailableChildChannel.equals("rhel-i386-server-6-cert-beta") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c12
        rhnAvailableChildChannel.equals("rhel-ppc64-server-hts-6-debuginfo") || rhnAvailableChildChannel.equals("rhel-ppc64-server-dts-6-beta") || rhnAvailableChildChannel.equals("rhel-ppc64-server-dts-6-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-ppc64-server-6-cert") || rhnAvailableChildChannel.equals("rhel-ppc64-server-6-cert-beta") || rhnAvailableChildChannel.equals("rhel-ppc-server-6-beta") || rhnAvailableChildChannel.equals("rhel-ppc-server-optional-6-beta") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c13
        rhnAvailableChildChannel.equals("rhel-s390x-server-6-cert") || rhnAvailableChildChannel.equals("rhel-s390x-server-6-cert-beta") || rhnAvailableChildChannel.equals("rhel-s390x-server-hts-6-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c14
        rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-dts-6-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-dts-6-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-dts-6-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1133942#c16
        rhnAvailableChildChannel.equals("rhel-x86_64-server-sap-hana-6") || rhnAvailableChildChannel.equals("rhel-x86_64-server-sap-hana-6-debuginfo")) {
            // Bug 1133942 - various RHN channel maps to product certs missing in subscription-manager-migration-data
            bugIds.add("1133942");
        }
        if (rhnAvailableChildChannel.equals("rhel-ppc64-server-dts-6-beta") || rhnAvailableChildChannel.equals("rhel-ppc64-server-dts-6-beta-debuginfo")) {
            // Bug 1232442 - rhel-ppc64-server-dts-6-beta channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232442");
        }
        if (rhnAvailableChildChannel.equals("rhel-i386-server-hts-6-debuginfo") || rhnAvailableChildChannel.equals("rhel-ppc64-server-hts-6-debuginfo") || rhnAvailableChildChannel.equals("rhel-s390x-server-hts-6-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-6-debuginfo")) {
            // Bug 1232448 - rhel-<ARCH>-server-hts-6-debuginfo channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232448");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-dts-6-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-dts-6-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-dts-6-debuginfo")) {
            // Bug 1232458 - rhel-x86_64-hpc-node-dts-6 channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232458");
        }
        if (rhnAvailableChildChannel.equals("rhel-ppc-server-6-beta") || rhnAvailableChildChannel.equals("rhel-ppc-server-optional-6-beta")) {
            // Bug 1232460 - rhel-ppc-server-6-beta channel map is missing from channel-cert-mapping.txt
            bugIds.add("1232460");
        }
        if (rhnAvailableChildChannel.equals("rhel-i386-server-6-cert") || rhnAvailableChildChannel.equals("rhel-ppc64-server-6-cert") || rhnAvailableChildChannel.equals("rhel-s390x-server-6-cert") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cert")) {
            // Bug 1232462 - rhel-<ARCH>-server-6-cert channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232462");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-3-cts") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-3-cts-debuginfo")) {
            // Bug 1232465 - rhel-x86_64-server-6-ost-3-cts channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232465");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.1-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.1-beta-debuginfo")) {
            // Bug 1232467 - rhel-x86_64-server-6-rhevm-3.1-beta channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232467");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhs-optional-3") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhs-optional-3-debuginfo")) {
            // Bug 1232470 - rhel-x86_64-server-6-rhs-optional-3 channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232470");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-sap-hana-6") || rhnAvailableChildChannel.equals("rhel-x86_64-server-sap-hana-6-debuginfo")) {
            // Bug 1232472 - rhel-x86_64-server-sap-hana-6 channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232472");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-v2vwin-6-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-v2vwin-6-beta-debuginfo")) {
            // Bug 1232474 - rhel-x86_64-server-v2vwin-6-beta channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1232474");
        }
        if (// https://bugzilla.redhat.com/show_bug.cgi?id=1257212#c1
        rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-ha-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-ha-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-optional-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-optional-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-rs-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-rs-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-supplementary-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-supplementary-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-v2vwin-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-v2vwin-7-beta") || // https://bugzilla.redhat.com/show_bug.cgi?id=1257212#c2
        rhnAvailableChildChannel.equals("rhel-ppc64-server-7-beta") || rhnAvailableChildChannel.equals("rhel-ppc64-server-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-ppc64-server-hts-7-beta") || rhnAvailableChildChannel.equals("rhel-ppc64-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-ppc64-server-optional-7-beta") || rhnAvailableChildChannel.equals("rhel-ppc64-server-optional-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-ppc64-server-supplementary-7-beta") || rhnAvailableChildChannel.equals("rhel-ppc64-server-supplementary-7-beta-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1257212#c3
        rhnAvailableChildChannel.equals("rhel-x86_64-client-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-client-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-client-optional-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-client-optional-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-client-supplementary-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-client-supplementary-7-beta-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1257212#c4
        rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-optional-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-optional-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-supplementary-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-supplementary-7-beta-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1257212#c5
        rhnAvailableChildChannel.equals("rhel-x86_64-workstation-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-workstation-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-workstation-optional-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-workstation-optional-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-workstation-supplementary-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-workstation-supplementary-7-beta-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1257212#c7
        rhnAvailableChildChannel.equals("rhel-s390x-server-7-beta") || rhnAvailableChildChannel.equals("rhel-s390x-server-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-s390x-server-hts-7-beta") || rhnAvailableChildChannel.equals("rhel-s390x-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-s390x-server-optional-7-beta") || rhnAvailableChildChannel.equals("rhel-s390x-server-optional-7-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-s390x-server-supplementary-7-beta") || rhnAvailableChildChannel.equals("rhel-s390x-server-supplementary-7-beta-debuginfo") || // https://bugzilla.redhat.com/show_bug.cgi?id=1257212#c9
        rhnAvailableChildChannel.equals("rhel-x86_64-client-7-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-7-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-x86_64-workstation-7-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("")) {
            // Bug 1257212 - various RHEL7 channel maps to product certs are missing in subscription-manager-migration-data
            bugIds.add("1257212");
        }
        if (// https://bugzilla.redhat.com/show_bug.cgi?id=1264470#c1
        rhnAvailableChildChannel.equals("rhel-ppc64-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-s390x-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("")) {
            // Bug 1264470 - various RHEL7 channel maps to product certs are missing in subscription-manager-migration-data
            bugIds.add("1264470");
        }
        if (// https://bugzilla.redhat.com/show_bug.cgi?id=1462980#c1
        rhnAvailableChildChannel.equals("rhel-ppc64-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-s390x-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hts-7-debuginfo") || rhnAvailableChildChannel.equals("")) {
            // Bug 1462980 - various RHEL7 channel maps to product certs are missing in subscription-manager-migration-data
            bugIds.add("1462980");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rh-gluster-3-samba-debuginfo")) {
            // Bug 1286842 - 'rhel-x86_64-server-6-rh-gluster-3-samba-debuginfo' channel map is missing from channel-cert-mapping.txt
            bugIds.add("1286842");
            // Bug 1561715 - 'rhel-x86_64-server-6-rh-gluster-3-samba-debuginfo' channel map is missing from channel-cert-mapping.txt
            bugIds.add("1561715");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-ce-1-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-ce-1-beta-debuginfo")) {
            // Bug 1299620 - rhel-x86_64-server-6-cf-ce-1-beta channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1299620");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-se-1-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-se-1-beta-debuginfo")) {
            // Bug 1299621 - rhel-x86_64-server-6-cf-se-1-beta channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1299621");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-tools-1-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-cf-tools-1-beta-debuginfo") || rhnAvailableChildChannel.equals("rhel-i386-server-6-cf-tools-1-beta") || rhnAvailableChildChannel.equals("rhel-i386-server-6-cf-tools-1-beta-debuginfo")) {
            // Bug 1299623 - rhel-x86_64-server-6-cf-tools-1-beta channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1299623");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-rhev-mgmt-agent-6-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-rhev-mgmt-agent-6-beta-debuginfo")) {
            // Bug 1299624 - rhel-x86_64-rhev-mgmt-agent-6-beta channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1299624");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-rhev-mgmt-agent-7") || rhnAvailableChildChannel.equals("rhel-x86_64-rhev-mgmt-agent-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-rhev-mgmt-agent-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-rhev-mgmt-agent-7-beta-debuginfo")) {
            // Bug 1300848 - RHN channels to product cert maps for "rhel-x86_64-rhev-mgmt-agent-7*" disappeared
            bugIds.add("1300848");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.6") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevm-3.6-debuginfo")) {
            // Bug 1320592 - rhel-x86_64-server-6-rhevm-3.6 channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1320592");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-hpn-fastrack-6") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hpn-fastrack-6-debuginfo")) {
            // Bug 1320597 - rhel-x86_64-server-hpn-fastrack-6 channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1320597");
            // Bug 1561724 - rhel-x86_64-server-hpn-fastrack-6 channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1561724");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-hpn-6") || rhnAvailableChildChannel.equals("rhel-x86_64-server-hpn-6-debuginfo")) {
            // Bug 1320607 - rhel-x86_64-server-hpn-6 channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1320607");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-7") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-7-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-7-optools") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-7-optools-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-7-director") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-7-director-debuginfo")) {
            // Bug 1328628 - rhel-x86_64-server-7-ost-7 channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1328628");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh-beta-debuginfo")) {
            // Bug 1333545 - rhel-x86_64-server-7-rhevh channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1333545");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh-beta-debuginfo")) {
            // Bug 1462994 - rhel-x86_64-server-7-rhevh channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1462994");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-director") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-director-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-optools") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-optools-debuginfo")) {
            // Bug 1349533 - rhel-x86_64-server-7-ost-8 channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1349533");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-director") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-director-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-optools") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-8-optools-debuginfo")) {
            // Bug 1462984 - rhel-x86_64-server-7-ost-8 channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1462984");
        }
        if (rhnAvailableChildChannel.equals("rhel-s390x-server-ha-7-beta") || rhnAvailableChildChannel.equals("rhel-s390x-server-ha-7-beta-debuginfo")) {
            // Bug 1354653 - rhel-s390x-server-ha-7-beta channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1354653");
        }
        if (rhnAvailableChildChannel.equals("rhel-s390x-server-rs-7-beta") || rhnAvailableChildChannel.equals("rhel-s390x-server-rs-7-beta-debuginfo")) {
            // Bug 1354655 - rhel-s390x-server-rs-7-beta channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1354655");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rh-gluster-3-client") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rh-gluster-3-client-debuginfo")) {
            // Bug 1349538 - rhel-x86_64-server-7-rh-gluster-3-client channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1349538");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rh-gluster-3-client") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rh-gluster-3-client-debuginfo")) {
            // Bug 1462989 - rhel-x86_64-server-7-rh-gluster-3-client channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1462989");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rh-gluster-3-nfs") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rh-gluster-3-nfs-debuginfo")) {
            // Bug 1393557 - rhel-x86_64-server-6-rh-gluster-3-nfs channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1393557");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-ost-beta-debuginfo")) {
            // Bug 1393563 - rhel-x86_64-server-6-ost-beta channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1393563");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevh-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-6-rhevh-beta-debuginfo")) {
            // Bug 1418476 - rhel-x86_64-server-6-rhevh-beta channel maps are missing from channel-cert-mapping.txt
            bugIds.add("1418476");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-rhevh-beta-debuginfo")) {
            // Bug 1435255 - RHN channels to product cert maps for "rhel-x86_64-server-7-rhevh-beta*" disappeared
            bugIds.add("1435255");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-rhev-mgmt-agent-7-beta") || rhnAvailableChildChannel.equals("rhel-x86_64-rhev-mgmt-agent-7-beta-debuginfo")) {
            // Bug 1435245 - RHN channels to product cert maps for "rhel-x86_64-rhev-mgmt-agent-7-beta*" disappeared
            bugIds.add("1435245");
        }
        if (rhnAvailableChildChannel.startsWith("rhel-x86_64-server-7-cf-me-4")) {
            // Bug 1519975 - rhel-x86_64-server-7-cf-me-4.* channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1519975");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-9") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-10") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-11") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-12") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-9-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-10-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-11-debuginfo") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-ost-12-debuginfo")) {
            // Bug 1519979 - rhel-x86_64-server-7-ost-[9|10|11|12] channel maps are absent from channel-cert-mapping.txt
            bugIds.add("1519979");
        }
        if (rhnAvailableChildChannel.equals("rhel-x86_64-client-7-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-x86_64-server-7-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-x86_64-workstation-7-thirdparty-oracle-java") || rhnAvailableChildChannel.equals("rhel-x86_64-hpc-node-7-thirdparty-oracle-java")) {
            // Bug 1550219 - missing RHN channel mappings for rhel-x86_64-<VARIANT>-7-thirdparty-oracle-java
            bugIds.add("1550219");
        }
        BlockedByBzBug blockedByBzBug = new BlockedByBzBug(bugIds.toArray(new String[] {}));
        ll.add(Arrays.asList(new Object[] { blockedByBzBug, rhnAvailableChildChannel }));
    }
    return ll;
}
Also used : ArrayList(java.util.ArrayList) ArrayList(java.util.ArrayList) List(java.util.List) JSONObject(org.json.JSONObject) BlockedByBzBug(com.redhat.qe.auto.bugzilla.BlockedByBzBug) HashSet(java.util.HashSet)

Example 30 with BlockedByBzBug

use of com.redhat.qe.auto.bugzilla.BlockedByBzBug in project rhsm-qe by RedHatQE.

the class ReleaseTests method getCredentialsToVerifyReleaseListMatchesCDN_TestDataAsListOfLists.

protected List<List<Object>> getCredentialsToVerifyReleaseListMatchesCDN_TestDataAsListOfLists() {
    List<List<Object>> ll = new ArrayList<List<Object>>();
    // Object bugzilla, String username, String password, String org
    ll.add(Arrays.asList(new Object[] { new BlockedByBzBug(new String[] { "1134963" }), sm_clientUsername, sm_clientPassword, sm_clientOrg }));
    // if (sm_serverType.equals(CandlepinType.hosted) && !sm_rhnUsername.isEmpty())
    if (doesStringContainMatches(sm_rhnHostname, "rhn\\.(.+\\.)*redhat\\.com") && doesStringContainMatches(sm_serverHostname, "subscription\\.rhn\\.(.+\\.)*redhat\\.com") && !sm_rhnUsername.isEmpty())
        ll.add(Arrays.asList(new Object[] { new BlockedByBzBug(new String[] { "861151", "870141", "1134963" }), sm_rhnUsername, sm_rhnPassword, null }));
    return ll;
}
Also used : ArrayList(java.util.ArrayList) ArrayList(java.util.ArrayList) List(java.util.List) BlockedByBzBug(com.redhat.qe.auto.bugzilla.BlockedByBzBug)

Aggregations

BlockedByBzBug (com.redhat.qe.auto.bugzilla.BlockedByBzBug)67 ArrayList (java.util.ArrayList)67 List (java.util.List)67 JSONObject (org.json.JSONObject)21 HashSet (java.util.HashSet)18 File (java.io.File)14 DataProvider (org.testng.annotations.DataProvider)14 SubscriptionPool (rhsm.data.SubscriptionPool)7 BigInteger (java.math.BigInteger)5 ProductCert (rhsm.data.ProductCert)5 HashMap (java.util.HashMap)3 JSONArray (org.json.JSONArray)3 EntitlementCert (rhsm.data.EntitlementCert)3 Repo (rhsm.data.Repo)2 BugzillaAPIException (com.redhat.qe.auto.bugzilla.BugzillaAPIException)1 Matcher (java.util.regex.Matcher)1 Pattern (java.util.regex.Pattern)1 SkipException (org.testng.SkipException)1 ConsumerType (rhsm.base.ConsumerType)1 YumRepo (rhsm.data.YumRepo)1