UnpicklingError: pickle data was truncated

374 views
Skip to first unread message

Vaishali Dhakate

unread,
Jan 31, 2022, 3:56:47 AM1/31/22
to openxt
Dear openxt group,
I had run out of diskspace. Ended up innocently deleted some log files to create space. Stuck with this error now.
Any help would be appreciated. Trying my best to fix this.
Regards
Vaishali
openxt@debian9n2:~/openxt-workspace/openxt/bordel$ ./bordel -i a docker build openxt-container
NOTE: Unable to use interactive mode for this terminal, using fallback
NOTE: Started PRServer with DBfile: /home/build/openxt/build-a/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 39939, PID: 29
Parsing recipes: 100% |#####################################################################################################################################################################| Time: 0:14:48
Parsing of 2911 .bb files complete (0 cached, 2911 parsed). 7062 targets, 359 skipped, 4 masked, 0 errors.
ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cooker.py", line 2135, in parse_next
    parsed, result = next(self.results)
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/build/openxt/build-a/layers/bitbake/lib/bb/command.py", line 107, in runAsyncCommand
    self.cooker.updateCache()
  File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cooker.py", line 1569, in updateCache
    if not self.parser.parse_next():
  File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cooker.py", line 2137, in parse_next
    self.shutdown()
  File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cooker.py", line 2093, in shutdown
    bb.codeparser.parser_cache_savemerge()
  File "/home/build/openxt/build-a/layers/bitbake/lib/bb/codeparser.py", line 179, in parser_cache_savemerge
    codeparsercache.save_merge()
  File "/home/build/openxt/build-a/layers/bitbake/lib/bb/cache.py", line 862, in save_merge
    extradata, version = p.load()
_pickle.UnpicklingError: pickle data was truncated


Summary: There was 1 ERROR message shown, returning a non-zero exit code.
build-manifest command "MACHINE=openxt-installer bitbake xenclient-installer-image" failed.

Jason Andryuk

unread,
Jan 31, 2022, 7:53:18 AM1/31/22
to Vaishali Dhakate, openxt
On Mon, Jan 31, 2022 at 3:56 AM Vaishali Dhakate
<vaishali...@networkmarvels.com> wrote:
>
> Dear openxt group,
> I had run out of diskspace. Ended up innocently deleted some log files to create space. Stuck with this error now.
...
> _pickle.UnpicklingError: pickle data was truncated

Hi, Vaishali,

Your disk out-of-space issue probably also truncated and corrupted a
cache file. I think it is ~/openxt/build-a/cache/bb_codeparser.dat.
If you delete that, you can re-run and it should be regenerated.

The other .dat cache files in there could also have been truncated, so
you can try deleting those if necessary,

Regards,
Jason
Reply all
Reply to author
Forward
0 new messages