Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 152E1E00C91; Wed, 20 Apr 2016 03:16:49 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 689A7E00C55 for ; Wed, 20 Apr 2016 03:16:43 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 20 Apr 2016 03:16:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,509,1455004800"; d="scan'208";a="962606672" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by fmsmga002.fm.intel.com with ESMTP; 20 Apr 2016 03:16:42 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.10]) by IRSMSX106.ger.corp.intel.com ([169.254.8.172]) with mapi id 14.03.0248.002; Wed, 20 Apr 2016 11:16:40 +0100 From: "Barros Pena, Belen" To: "Smith, Elliot" Thread-Topic: [Toaster] Weird migration issue Thread-Index: AQHRmuZjj7301QliakiPUcV9M/ZoLp+SkRuAgAAUjwA= Date: Wed, 20 Apr 2016 10:16:39 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.6.3.160329 x-originating-ip: [10.237.224.85] MIME-Version: 1.0 Cc: "Reinhard.Tartler@deshawresearch.com" , "toaster@yoctoproject.org" Subject: Re: Weird migration issue X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 10:16:49 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <0D8B1AAF94E9D84F96414A245890BEB0@intel.com> Content-Transfer-Encoding: quoted-printable On 20/04/2016 11:03, "Smith, Elliot" wrote: >On 20 April 2016 at 10:24, Barros Pena, Belen > wrote: > >I've been coming across a problem with migrations occasionally (and rather >randomly) when I start Toaster. At the beginning it seemed I was the only >one seeing this. But, while at ELC, someone came to me because they were >having the same problem. His trace is below. Restarting the host seems to >solve the problem for me. In his case, he tried a different host and >everything worked. > > > > >Is this with MySQL or SQLite? SQLite > > >Elliot > >=20 > > >It doesn't seem distro-related: his was CentOS, mine Ubuntu. That's all I >know. Michael Wood looked at this briefly, so he might have something to >add. It was not a problem when it was just me, but if other people are >seeing this, then I am bit more worried. > >Any ideas on what could be causing it? > >Cheers > >Bel=E9n > >File >"/state/partition1/scratch/tartler/yocto-master/poky/bitbake/bin/../lib/to >a >ster/manage.py", line 10, in > execute_from_command_line(sys.argv) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/core/management/__init__.py", line 354, in >execute_from_command_line > utility.execute() > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/core/management/__init__.py", line 346, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/core/management/base.py", line 394, in >run_from_argv > self.execute(*args, **cmd_options) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/core/management/base.py", line 445, in execute > output =3D self.handle(*args, **options) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/core/management/commands/migrate.py", line 222, in >handle > executor.migrate(targets, plan, fake=3Dfake, fake_initial=3Dfake_initi= al) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/db/migrations/executor.py", line 110, in migrate > self.apply_migration(states[migration], migration, fake=3Dfake, >fake_initial=3Dfake_initial) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/db/migrations/executor.py", line 148, in >apply_migration > state =3D migration.apply(state, schema_editor) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/db/backends/base/schema.py", line 93, in __exit__ > self.atomic.__exit__(exc_type, exc_value, traceback) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/db/transaction.py", line 228, in __exit__ > connection.rollback() > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/db/backends/base/base.py", line 183, in rollback > self._rollback() > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/db/backends/base/base.py", line 147, in _rollback > return self.connection.rollback() > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/db/utils.py", line 98, in __exit__ > six.reraise(dj_exc_type, dj_exc_value, traceback) > File >"/state/partition1/scratch/tartler/yocto-master/poky/build/venv/lib/python >2 >.7/site-packages/django/db/backends/base/base.py", line 147, in _rollback > return self.connection.rollback() >django.db.utils.OperationalError: cannot rollback - no transaction is >active >Failed migrations, aborting system start >Failed start. > > >-- >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster > > > > > > > >--=20 >Elliot Smith >Software Engineer >Intel Open Source Technology Centre > > > >