easybuild-framework icon indicating copy to clipboard operation
easybuild-framework copied to clipboard

Too many "found valid index for ..." messages

Open Flamefire opened this issue 2 years ago • 2 comments

This message is printed to often cluttering the output. For a regular build I see it at least 2 times which is confusing. For --try-update-deps I see full screens of this message which is annoying

I'd suggest to cache the results or at least for which folder an index was found and suppress the message.

The 2 messages come from locate_files and robot_find_easyconfig. The others from search_file which, doesn't cache index-results as robot_find_easyconfig does.

Flamefire avatar Sep 19 '23 13:09 Flamefire

@Flamefire Can you share your EasyBuild configuration (output of eb --show-config)? I think that's a factor here as well...

boegel avatar Sep 27 '23 14:09 boegel

I don't think so. Checking the mentioned sources shows the calls to where the message is printed.

Anyway:

accept-eula-for              (F) = Intel-oneAPI, NVIDIA-driver
allow-loaded-modules         (F) = EasyBuild, EasyBuild-devel, ccache
buildpath                    (E) = /dev/shm/s3248973-EasyBuild
containerpath                (D) = /home/s3248973/.local/easybuild/containers
default-opt-level            (F) = opt
detect-loaded-modules        (F) = unload
git-working-dirs-path        (F) = /home/s3248973/.local/EasyBuildDev
github-user                  (F) = Flamefire
hooks                        (F) = /home/s3248973/.local/EasyBuildDev/hooks.py
installpath                  (E) = /beegfs/ws/1/s3248973-EasyBuild/easybuild-ml
job-cores                    (F) = 4
job-target-resource          (F) = local
module-depends-on            (F) = True
module-extensions            (F) = True
read-only-installdir         (F) = True
repositorypath               (D) = /home/s3248973/.local/easybuild/ebfiles_repo
robot-paths                  (D) = /home/s3248973/.local/EasyBuildDev/easybuild-easyconfigs/easybuild/easyconfigs
silence-deprecation-warnings (F) = python2
sourcepath                   (E) = /beegfs/ws/1/s3248973-EasyBuild/sources:/sw/taurus/sources
tmp-logdir                   (F) = /tmp/easybuild-tmplog
tmpdir                       (F) = /tmp/easybuild-tmp
update-modules-tool-cache    (F) = True
wait-on-lock-limit           (F) = 18000

Flamefire avatar Sep 27 '23 15:09 Flamefire