This is related to HTCondor bugtracker https://htcondor-wiki.cs.wisc.edu/index.cgi/tktview?tn=5989 â in that stderr from âinclude commandâ lines is displayed whenever a command processes the configuration. In this ticket they made it so that condor_gpu_discovery âconfig wouldnât write to stderr, but anything else that does would induce the same reaction from an âinclude commandâ.
Is there something about the handling of the ifexist / into syntax thatâs not working as expected to give the my_popenv error, maybe?
I tracked down what was causing this, and wanted to post here in case someone else runs across this.
I tried to use strace to see what was going on, but it was less than helpful. I then tried
valgrind like so:
valgrind -v condor_submit_dag
This gives a lot of output. Buried in there I found the following:
==893403== at 0x6D76270: __close_nocancel (syscall-template.S:81)
==893403== by 0x5475DB0: ??? (in /usr/lib64/libcondor_utils_8_5_7.so)
==893403== by 0x5476022: my_popen(ArgList&, char const*, int, Env*, bool, char const*) (in /usr/lib64/libcondor_utils_8_5_7.so)
==893403== by 0x545C3AC: Copy_macro_source_into (in /usr/lib64/libcondor_utils_8_5_7.so)
==893403== by 0x54627FC: Parse_macros (in /usr/lib64/libcondor_utils_8_5_7.so)
==893403== by 0x535DBF9: process_config_source (in /usr/lib64/libcondor_utils_8_5_7.so)
==893403== by 0x5363C7A: real_config (in /usr/lib64/libcondor_utils_8_5_7.so)
==893403== by 0x5364603: config_ex (in /usr/lib64/libcondor_utils_8_5_7.so)
==893403== by 0x40463E: main (in /usr/bin/condor_submit_dag)
I downloaded the source for 8.5.7, and realized that the /etc/condor/condor_config file was the issue. I took a look at that and found
## If you've installed the condor-ec2 package, this will set TCP_FORWARDING_HOST
## to the instance's public IP and cause the startd to advertise that IP and
## the instance ID. It will also fetch and install additional config.d files
## if the instance's IAM profile is configured correctly (pointing to a single
## specific file in S3); see the manual for condor_annex for details.
include ifexist command into $(LOCAL_CONFIG_DIR)/49ec2-instance.config : \
I commented out these lines, since we donât have that installed on our system, and the error message
Hope this helps,