wonderful-iron-54019
02/19/2021, 6:09 PMwonderful-iron-54019
02/19/2021, 6:10 PM/usr/local/bin/bamc squirl publish -q --squirl-config squirl.yaml -p Environment=dev -p App=datasources -p Job=snowflake -f src/snowflake_squirlconf
when i got to the local process execution dir, the following is present:
â„ find /var/folders/h6/wdlp8f0x4f12z50_y2y87v_h0vjpfs/T/process-executionl1A8ab
/var/folders/h6/wdlp8f0x4f12z50_y2y87v_h0vjpfs/T/process-executionl1A8ab
/var/folders/h6/wdlp8f0x4f12z50_y2y87v_h0vjpfs/T/process-executionl1A8ab/squirl.yaml
/var/folders/h6/wdlp8f0x4f12z50_y2y87v_h0vjpfs/T/process-executionl1A8ab/src
/var/folders/h6/wdlp8f0x4f12z50_y2y87v_h0vjpfs/T/process-executionl1A8ab/src/snowflake_squirlconf
yet things are erroring with: Exception: Failed to execute process: Error launching process: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Having trouble understanding which file or directory is not present b/c AFAICT everything is in the execution context
Any help getting more info would be appreciatedwitty-crayon-22786
02/19/2021, 6:13 PMwonderful-iron-54019
02/19/2021, 6:14 PMcd
into the process execution dir and running the command workswitty-crayon-22786
02/19/2021, 6:14 PMwonderful-iron-54019
02/19/2021, 6:14 PMgetting a ânot foundâ like that is from the OS, rather than from the process itselfoh interesting
witty-crayon-22786
02/19/2021, 6:14 PM/usr/local/bin/bamc
wonderful-iron-54019
02/19/2021, 6:14 PMâ„ which bamc
/usr/local/bin/bamc
wonderful-iron-54019
02/19/2021, 6:14 PMwitty-crayon-22786
02/19/2021, 6:14 PMwonderful-iron-54019
02/19/2021, 6:15 PMwonderful-iron-54019
02/19/2021, 6:15 PMwitty-crayon-22786
02/19/2021, 6:15 PMwitty-crayon-22786
02/19/2021, 6:16 PMwitty-crayon-22786
02/19/2021, 6:16 PMwonderful-iron-54019
02/19/2021, 6:17 PMwitty-crayon-22786
02/19/2021, 6:17 PMProcess {..}
struct that is interestingwonderful-iron-54019
02/19/2021, 6:17 PMwonderful-iron-54019
02/19/2021, 6:17 PMwitty-crayon-22786
02/19/2021, 6:17 PMwitty-crayon-22786
02/19/2021, 6:19 PMProcess
python object, perhaps?enough-analyst-54434
02/19/2021, 6:19 PMhead -1
on the PATH of the process executuion?wonderful-iron-54019
02/19/2021, 6:19 PMwonderful-iron-54019
02/19/2021, 6:20 PMum, could you log the resultingÂthe result of the MultiGet? or should i construct it, log it and then put it in the await statement? python object, perhaps?Process
witty-crayon-22786
02/19/2021, 6:20 PMwitty-crayon-22786
02/19/2021, 6:21 PMwitty-crayon-22786
02/19/2021, 6:22 PMfile /usr/local/bin/bamc
to confirmwonderful-iron-54019
02/19/2021, 6:24 PM[_Get(product_type=<class 'pants.engine.process.ProcessResult'>, subject_declared_type=<class 'pants.engine.process.Process'>, subject=Process(argv=('/usr/local/bin/bamc sq
uirl', 'publish', '-q', '--squirl-config', './squirl.yaml', '-p', 'Environment=dev', '-p', 'App=datasources', '-p', 'Job=snowflake', '-f', 'src/snowflake_squirlconf'), desc
ription='Squirl Publish for squirl_config(address="src:squirl_snowflake", job=snowflake, sources=(\'snowflake_squirlconf/**/*.yaml\', \'snowflake_squirlconf/*.yaml\'), squirl_dir=snowflake_squirlconf, dependencies=None, no_cache=False, description=None, tags=None, _transitive=False, scope=None)', input_digest=Digest(fingerprint='4a1a7263165d6
80533d6aaf69f7e86828ca1b2bdaff09f5f6b092e2054475a5f', serialized_bytes_length=163), working_directory=None, env=(), append_only_caches=(), output_files=(), output_directori
es=(), timeout_seconds=-1, jdk_home=None, is_nailgunnable=False))]
wonderful-iron-54019
02/19/2021, 6:24 PMâ„ file /usr/local/bin/bamc
/usr/local/bin/bamc: Mach-O 64-bit executable x86_64
enough-analyst-54434
02/19/2021, 6:24 PMwonderful-iron-54019
02/19/2021, 6:25 PMwonderful-iron-54019
02/19/2021, 6:25 PMenough-analyst-54434
02/19/2021, 6:25 PMwonderful-iron-54019
02/19/2021, 6:25 PMwonderful-iron-54019
02/19/2021, 6:26 PMenough-analyst-54434
02/19/2021, 6:26 PMwonderful-iron-54019
02/19/2021, 6:26 PMwonderful-iron-54019
02/19/2021, 6:26 PMwitty-crayon-22786
02/19/2021, 6:28 PMwitty-crayon-22786
02/19/2021, 6:28 PMargv=('/usr/local/bin/bamc squirl', 'publish', ..)
wonderful-iron-54019
02/19/2021, 6:28 PMwonderful-iron-54019
02/19/2021, 6:28 PMwitty-crayon-22786
02/19/2021, 6:29 PMwonderful-iron-54019
02/19/2021, 6:30 PMwitty-crayon-22786
02/19/2021, 6:32 PMwitty-crayon-22786
02/19/2021, 6:33 PM