[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Does the filetransfer_example_plugin.py work on WINDOWS?



Hello,

I work with the condor_version
$CondorVersion: 23.0.12 2024-06-13 BuildID: 739441 $
$CondorPlatform: x86_64_Windows10 $

The manual execution of the command works:
$ python filetransfer_example_plugin.py -infile input -outfile output

Input is:
[ LocalFileName = âD:\\condor\\tmp\\dir_4712\\f9a561a6-WINDOWS64ms.zipâ;Url = âexample://\\\\store\\repo\\services\\magma\\condor\\diagnose+test\\ATestNewHost\\bin\\\f9a561a6-WINDOWS64ms.zipâ]


It does not work in a HTCondor JOB. The AP is LINUX.


transfer_plugins =  example = bin/filetransfer_example_plugin.py
example://\\\\store\\repo\\services\\magma\\condor\\diagnose+test\\ATestNewHost\\bin\\f9a561a6-WINDOWS64ms.zip

$ condor_q -better


-- Schedd: avdi0de037.corpdir.zz : <10.20.49.38:9618?...
The Requirements expression for job 267.000 is

    ((OpSys == "WINDOWS") && (Machine == "aws0de227.corpdir.zz")) && (TARGET.Arch == "X86_64") && (TARGET.Disk >= RequestDisk) &&
    (TARGET.Memory >= RequestMemory) && (TARGET.HasJobTransferPlugins)

Job 267.000 defines the following attributes:

    DiskUsage = 1
    ImageSize = 1
    RequestDisk = DiskUsage
    RequestMemory = ifthenelse(MemoryUsage =!= undefined,MemoryUsage,(ImageSize + 1023) / 1024)

The Requirements expression for job 267.000 reduces to these conditions:

         Slots
Step    Matched  Condition
-----  --------  ---------
[0]           2  OpSys == "WINDOWS"
[1]           2  Machine == "aws0de227.corpdir.zz"


267.000:  Job is held.

Hold reason: Transfer input files failure at execution point slot1_1@xxxxxxxxxxxxxxxxxxxx while receiving files from access point avdi0de037. Details: Error from slot1_1@xxxxxxxxxxxxxxxxxxxx: FILETRANSFER:1:|Error: file transfer plugin filetransfer_example_plugin.py exited with code 0, unable to open output file D:\condor\execute\dir_10364/.filetransfer_example_plugin.py.out

Last successful match: Wed Nov 13 11:05:37 2024




Even box_plugin.py does not work.

$ condor_config_val FILETRANSFER_PLUGINS
D:\condor\bin\curl_plugin.exe, D:\condor\bin\data_plugin.exe, D:\condor\bin\box_plugin.py, D:\condor\bin/gdrive_plugin.py, D:\condor\bin/onedrive_plugin.py

$python D:\condor\bin\box_plugin.py -classad
MultipleFileSupport = true
PluginType = "FileTransfer"
SupportedMethods = "box"
Version = "1.1.0"


$ condor_q -better


-- Schedd: avdi0de037.corpdir.zz : <10.20.49.38:9618?...
The Requirements expression for job 264.000 is

    ((OpSys == "WINDOWS") && (Machine == "aws0de227.corpdir.zz")) && (TARGET.Arch == "X86_64") && (TARGET.Disk >= RequestDisk) &&
    (TARGET.Memory >= RequestMemory) && (TARGET.HasFileTransfer && stringListIMember("box",TARGET.HasFileTransferPluginMethods))

Job 264.000 defines the following attributes:

    DiskUsage = 2000000
    ImageSize = 1
    RequestDisk = DiskUsage
    RequestMemory = ifthenelse(MemoryUsage =!= undefined,MemoryUsage,(ImageSize + 1023) / 1024)

The Requirements expression for job 264.000 reduces to these conditions:

         Slots
Step    Matched  Condition
-----  --------  ---------
[0]           2  OpSys == "WINDOWS"
[1]           2  Machine == "aws0de227.corpdir.zz"
[10]          7  stringListIMember("box",TARGET.HasFileTransferPluginMethods)
[12]          0  [0] && [10]

No successful match recorded.
Last failed match: Wed Nov 13 10:42:33 2024


Thank you,
Leon



Dipl.-Ing. Leon Thielen
Software Development
MAGMA GieÃereitechnologie GmbH
T: +49 241 88901 244
A: Kackertstrasse 16-18, 52072 Aachen, Germany
W: www.magmasoft.de
E: L.Thielen@xxxxxxxxxxxx
GERMANY â USA â BRAZIL â SINGAPORE â SOUTH KOREA â CHINA â INDIA â TURKEY â CZECH REPUBLIC

Bewertung von Simulationsergebnissen mit MAGMASOFTÂ / Evaluation of Simulation Results with MAGMASOFTÂ
Sandguss / Sand Casting: 27.11.2024 + 05.03.2025
Druckguss / High Pressure Die Casting: 06.03.2025

https://www.magmasoft.de/de/magmaacademy/seminare/seminar/Bewertung-von-Simulationsergebnissen-mit-MAGMASOFT/
MAGMA GieÃereitechnologie GmbH | KackertstraÃe 16-18, 52072 Aachen, Germany | Legal form: GmbH, Register court: Aachen HRB 3912, Value added tax identification number: DE121745780 | Management: Dr. Marc C. Schneider (CEO and President), Dipl.-Ing. Mathieu Weber (Managing Director)