Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF64410A83 for ; Thu, 3 Oct 2013 14:36:42 +0000 (UTC) Received: (qmail 83812 invoked by uid 500); 3 Oct 2013 14:36:42 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 83648 invoked by uid 500); 3 Oct 2013 14:36:42 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 83636 invoked by uid 500); 3 Oct 2013 14:36:42 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 83632 invoked by uid 99); 3 Oct 2013 14:36:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 14:36:42 +0000 Date: Thu, 3 Oct 2013 14:36:41 +0000 (UTC) From: "Girish Shilamkar (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-4747) [Automation] Test cases creating account with more 100 character; account creation failing due to this MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Girish Shilamkar reassigned CLOUDSTACK-4747: -------------------------------------------- Assignee: Girish Shilamkar > [Automation] Test cases creating account with more 100 character; account creation failing due to this > -------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4747 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4747 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the default.) > Components: Automation, marvin, Test > Affects Versions: 4.2.1 > Environment: Automation > Reporter: Rayees Namathponnan > Assignee: Girish Shilamkar > Priority: Blocker > Fix For: 4.2.1 > > > You cannot create account more than 100 characters; > We added test case's name in account; but should trim the account name maximum to 99 characters to avoid these kind of failures > integration.component.test_netscaler_nw_off.TestNOWithNetscaler.test_02_network_off_with_conserve_mode_netscaler > Execute cmd: createaccount failed, due to: errorCode: 530, errorText:DB Exception on: com.mysql.jdbc.PreparedStatement@4d345362: INSERT INTO account (account.account_name, account.type, account.domain_id, account.state, account.cleanup_needed, account.network_domain, account.uuid, account.default_zone_id, account.default) VALUES (_binary'test-test_netscaler_nw_off-TestNwOffSToDUpgrade-test_02_network_off_with_conserve_mode_netscaler-AZBFBO', 2, 1, 'enabled', 0, null, _binary'0c361f17-c605-456f-ad0b-b1952bce575a', null, 0) > Stacktrace > Traceback (most recent call last): > File "/usr/local/lib/python2.7/unittest/case.py", line 311, in run > self.setUp() > File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_netscaler_nw_off.py", line 2428, in setUp > domainid=self.domain.id > File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 116, in create > account = apiclient.createAccount(cmd) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 495, in createAccount > response = self.connection.marvin_request(command, response_type=response, method=method) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 222, in marvin_request > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > cloudstackAPIException: Execute cmd: createaccount failed, due to: errorCode: 530, errorText:DB Exception on: com.mysql.jdbc.PreparedStatement@4d345362: INSERT INTO account (account.account_name, account.type, account.domain_id, account.state, account.cleanup_needed, account.network_domain, account.uuid, account.default_zone_id, account.default) VALUES (_binary'test-test_netscaler_nw_off-TestNwOffSToDUpgrade-test_02_network_off_with_conserve_mode_netscaler-AZBFBO', 2, 1, 'enabled', 0, null, _binary'0c361f17-c605-456f-ad0b-b1952bce575a', null, 0) -- This message was sent by Atlassian JIRA (v6.1#6144)