airspeed-velocity / asv

Airspeed Velocity: A simple Python benchmarking tool with web-based reporting
https://asv.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
875 stars 180 forks source link

BUG: Git commands issued from ASV may fail #1399

Open vasil-pashov opened 7 months ago

vasil-pashov commented 7 months ago

Issue

Some of the git commands issued by ASV are failing on GitHub CI. More precisely

·· Running '/usr/local/bin/git name-rev --name-only --exclude=remotes/* --no-undefined 285bdfd58cc1cc045ff10e994fdc4880c4a37ebc'
   OUTPUT -------->
   fatal: cannot describe '285bdfd58cc1cc045ff10e994fdc4880c4a37ebc'
·· Running '/usr/local/bin/git clone --shared --recursive /__w/ArcticDB/ArcticDB /__w/ArcticDB/ArcticDB/python/.asv/env/541b6fbd95fdb429e84621bc981fbd19/project'
   OUTPUT -------->
   Cloning into '/__w/ArcticDB/ArcticDB/python/.asv/env/541b6fbd95fdb429e84621bc981fbd19/project'...
   done.
   Note: switching to '285bdfd58cc1cc045ff10e994fdc4880c4a37ebc'.

   You are in 'detached HEAD' state. You can look around, make experimental
   changes and commit them, and you can discard any commits you make in this
   state without impacting any branches by switching back to a branch.

   If you want to create a new branch to retain commits you create, you may
   do so (now or later) by using -c with the switch command. Example:

     git switch -c <new-branch-name>

   Or undo this operation with:

     git switch -

   Turn off this advice by setting config variable advice.detachedHead to false

As a result of that all benchmarks are reported to be failing even though I have no problems locally.

Things I've tried

HaoZeke commented 1 day ago

Is this still an open issue? I noticed the CI runs for the project are now passing: https://github.com/man-group/ArcticDB/actions/runs/11982063621/job/33409516101