<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3459</bug_id>
          
          <creation_ts>2012-11-19 08:41:16 +0000</creation_ts>
          <short_desc>Sanity test failures running bitbake commands</short_desc>
          <delta_ts>2013-04-17 13:54:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rakesh Anand S">rakeshsanand</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>rakeshsanand</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27533</commentid>
    <comment_count>0</comment_count>
    <who name="Rakesh Anand S">rakeshsanand</who>
    <bug_when>2012-11-19 08:41:16 +0000</bug_when>
    <thetext>While the  bitbake is running i am getting the following error.

--------------------------------------------------------------------------------

DEBUG: Clearing SRCREV cache due to cache policy of: clear
ERROR: Error parsing configuration files
Traceback (most recent call last):
  File &quot;/mnt/Yocto_Project/YP_7.0/poky-denzil-7.0/bitbake/lib/bb/cooker.py&quot;, line 197, in BBCooker.loadConfigurationData():
                 self.parseConfigurationFiles(self.configuration.prefile,
    &gt;                                         self.configuration.postfile)
             except SyntaxError:
  File &quot;/mnt/Yocto_Project/YP_7.0/poky-denzil-7.0/bitbake/lib/bb/cooker.py&quot;, line 870, in BBCooker.parseConfigurationFiles(prefiles=[], postfiles=[]):
             if data.getVar(&quot;BB_WORKERCONTEXT&quot;, False) is None:
    &gt;            bb.fetch.fetcher_init(data)
             bb.codeparser.parser_cache_init(data)
  File &quot;/mnt/Yocto_Project/YP_7.0/poky-denzil-7.0/bitbake/lib/bb/fetch2/__init__.py&quot;, line 228, in fetcher_init(d=&lt;bb.data_smart.DataSmart object at 0x2ab6a90&gt;):
                 pass
    &gt;        revs.clear()
         else:
  File &quot;/mnt/Yocto_Project/YP_7.0/poky-denzil-7.0/bitbake/lib/bb/persist_data.py&quot;, line 142, in SQLTable.clear():
         def clear(self):
    &gt;        self._execute(&quot;DELETE FROM %s;&quot; % self.table)

  File &quot;/mnt/Yocto_Project/YP_7.0/poky-denzil-7.0/bitbake/lib/bb/persist_data.py&quot;, line 66, in SQLTable._execute(*query=(&apos;DELETE FROM BB_URI_HEADREVS;&apos;,)):
                 try:
    &gt;                return self.cursor.execute(*query)
                 except sqlite3.OperationalError as exc:
OperationalError: attempt to write a readonly database

--------------------------------------------------------------------------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27553</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-11-19 15:15:08 +0000</bug_when>
    <thetext>It sounds like the files in the tmp/cache directory are readonly...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27573</commentid>
    <comment_count>2</comment_count>
    <who name="Rakesh Anand S">rakeshsanand</who>
    <bug_when>2012-11-20 06:41:01 +0000</bug_when>
    <thetext>I tried making it writable being a superuser but was of no use again im getting this error, i have configured my proxy, using tsocks but still its no working.

I have pasted what is happening in my system

--------------------------------------------------------------------------------

WARNING: Host distribution &quot;Ubuntu 12.04 LTS&quot; has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
DEBUG: Fetcher accessed the network with the command git ls-remote git://git.yoctoproject.org/yocto-firewall-test HEAD
DEBUG: Running export HOME=&quot;/home/rocky&quot;; export https_proxy=&quot;https://proxy.iind.intel.com:911/&quot;; export ftp_proxy=&quot;ftp://proxy.iind.intel.com:911/&quot;; export http_proxy=&quot;http://proxy.iind.intel.com:911/&quot;; export GIT_CONFIG=&quot;/mnt/yocto_project/version7/build/atom_board/tmp/sysroots/x86_64-linux/etc/gitconfig&quot;; export PATH=&quot;/mnt/yocto_project/version7/poky-denzil-7.0/bitbake/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/rocky/BeatBox/android-ndk-r8:/home/rocky/BeatBox/android-sdk-linux/platform-tools::/home/rocky/BeatBox/android-ndk-r8/:/home/rocky/BeatBox/android-sdk-linux/platform-tools/:/mnt/yocto_project/version7/poky-denzil-7.0/scripts&quot;; git ls-remote git://git.yoctoproject.org/yocto-firewall-test HEAD
ERROR:  OE-core&apos;s config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Failed to fetch test data from the network. Please ensure your network is configured correctly.

ERROR: Execution of event handler &apos;check_sanity_eventhandler&apos; failed

--------------------------------------------------------------------------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27661</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-11-23 21:30:41 +0000</bug_when>
    <thetext>These are two different errors which look to be unrelated. The first issue was permissions related. You shouldn&apos;t have needed supoeruser permissions, did you originally run a build as the superuser?

The second issue looks like it can&apos;t connect to git services. Does running the command it mentioned (export HOME=&quot;/home/rocky&quot;; export https_proxy=&quot;https://proxy.iind.intel.com:911/&quot;; export ftp_proxy=&quot;ftp://proxy.iind.intel.com:911/&quot;; export http_proxy=&quot;http://proxy.iind.intel.com:911/&quot;; export GIT_CONFIG=&quot;/mnt/yocto_project/version7/build/atom_board/tmp/sysroots/x86_64-linux/etc/gitconfig&quot;; export PATH=&quot;/mnt/yocto_project/version7/poky-denzil-7.0/bitbake/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/rocky/BeatBox/android-ndk-r8:/home/rocky/BeatBox/android-sdk-linux/platform-tools::/home/rocky/BeatBox/android-ndk-r8/:/home/rocky/BeatBox/android-sdk-linux/platform-tools/:/mnt/yocto_project/version7/poky-denzil-7.0/scripts&quot;; git ls-remote git://git.yoctoproject.org/yocto-firewall-test HEAD) manually work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28072</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-12-06 22:44:07 +0000</bug_when>
    <thetext>Rakesh,  Did Richard&apos;s comments help you? You might also try to starting from scratch with a clean non-superuser user.  Also do you have any proxies needed or network firewalls.  Running the command standalone might help you identidy this.

Please let us know if tihs solves your issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28166</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-12-12 01:43:55 +0000</bug_when>
    <thetext>If you are still having issues either please REOPEN this bug or file a new one that is more appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32314</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-04-17 13:54:31 +0000</bug_when>
    <thetext>Switching to verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>