Use path['home'] instead of manually calculating home with user. The user env variable is not returning the correct values and also we were using it to calculate the home directory path. We are using the home directly from path api instead. Change-Id: I006cdf1901aefe300e72d1b6699f5fb2116f12ad Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/9880 Reviewed-by: Casey Hillers <chillers@google.com> Reviewed-by: Yusuf Mohsinally <mohsinally@google.com> Commit-Queue: Godofredo Contreras <godofredoc@google.com>
diff --git a/recipe_modules/os_utils/api.py b/recipe_modules/os_utils/api.py index b2fb558..9dfd0dd 100644 --- a/recipe_modules/os_utils/api.py +++ b/recipe_modules/os_utils/api.py
@@ -27,16 +27,11 @@ sdks are used in the same bot. To prevent those failures we will start deleting the folder before every task. """ - # Defaulting to mocked user here as there is no easy way to mock env - # variables passed to the bot. - user = self.m.context.env.get('USER', 'mockeduser') + derived_data_path = self.m.path['home'].join( + 'Library', 'Developer', 'Xcode', 'DerivedData' + ) if self.m.platform.is_mac: - self.m.step( - 'Delete mac deriveddata', [ - 'rm', '-rf', - '/Users/%s/Library/Developer/Xcode/DerivedData/' % user - ] - ) + self.m.step('Delete mac deriveddata', ['rm', '-rf', derived_data_path]) def collect_os_info(self): """Collects meminfo, cpu, processes for mac"""
diff --git a/recipe_modules/os_utils/examples/full.expected/clean_derived_data.json b/recipe_modules/os_utils/examples/full.expected/clean_derived_data.json index 09bd3c8..161b2d9 100644 --- a/recipe_modules/os_utils/examples/full.expected/clean_derived_data.json +++ b/recipe_modules/os_utils/examples/full.expected/clean_derived_data.json
@@ -110,7 +110,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipe_modules/os_utils/examples/full.expected/mac_linux.json b/recipe_modules/os_utils/examples/full.expected/mac_linux.json index 726798d..3a2050b 100644 --- a/recipe_modules/os_utils/examples/full.expected/mac_linux.json +++ b/recipe_modules/os_utils/examples/full.expected/mac_linux.json
@@ -110,7 +110,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/devicelab/devicelab_drone.expected/no-task-name.json b/recipes/devicelab/devicelab_drone.expected/no-task-name.json index a14f2b8..ec6ecce 100644 --- a/recipes/devicelab/devicelab_drone.expected/no-task-name.json +++ b/recipes/devicelab/devicelab_drone.expected/no-task-name.json
@@ -18,7 +18,7 @@ "The recipe has crashed at point 'Uncaught exception'!", "", "Traceback (most recent call last):", - " File \"RECIPE_REPO[flutter]/recipes/devicelab/devicelab_drone.py\", line 33, in RunSteps", + " File \"RECIPE_REPO[flutter]/recipes/devicelab/devicelab_drone.py\", line 30, in RunSteps", " raise ValueError('A task_name property is required')", "ValueError: A task_name property is required" ]
diff --git a/recipes/devicelab/devicelab_drone.py b/recipes/devicelab/devicelab_drone.py index eff13f9..b5a6a4c 100644 --- a/recipes/devicelab/devicelab_drone.py +++ b/recipes/devicelab/devicelab_drone.py
@@ -25,9 +25,6 @@ # Collect memory/cpu/process before task execution. api.os_utils.collect_os_info() - # Clean deriveddata - api.os_utils.clean_derived_data() - task_name = api.properties.get("task_name") if not task_name: raise ValueError('A task_name property is required')
diff --git a/recipes/engine.expected/mac.json b/recipes/engine.expected/mac.json index c391487..f1a96b9 100644 --- a/recipes/engine.expected/mac.json +++ b/recipes/engine.expected/mac.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_maven_or_bitcode.json b/recipes/engine.expected/mac_maven_or_bitcode.json index 11e21c8..794836d 100644 --- a/recipes/engine.expected/mac_maven_or_bitcode.json +++ b/recipes/engine.expected/mac_maven_or_bitcode.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_maven_or_bitcode_no_lto.json b/recipes/engine.expected/mac_maven_or_bitcode_no_lto.json index f211d4c..759a39a 100644 --- a/recipes/engine.expected/mac_maven_or_bitcode_no_lto.json +++ b/recipes/engine.expected/mac_maven_or_bitcode_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_maven_or_bitcode_publish_cipd.json b/recipes/engine.expected/mac_maven_or_bitcode_publish_cipd.json index 11e21c8..794836d 100644 --- a/recipes/engine.expected/mac_maven_or_bitcode_publish_cipd.json +++ b/recipes/engine.expected/mac_maven_or_bitcode_publish_cipd.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_maven_or_bitcode_publish_cipd_no_lto.json b/recipes/engine.expected/mac_maven_or_bitcode_publish_cipd_no_lto.json index f211d4c..759a39a 100644 --- a/recipes/engine.expected/mac_maven_or_bitcode_publish_cipd_no_lto.json +++ b/recipes/engine.expected/mac_maven_or_bitcode_publish_cipd_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_no_lto.json b/recipes/engine.expected/mac_no_lto.json index 7759610..b61fa6b 100644 --- a/recipes/engine.expected/mac_no_lto.json +++ b/recipes/engine.expected/mac_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_publish_cipd.json b/recipes/engine.expected/mac_publish_cipd.json index c391487..f1a96b9 100644 --- a/recipes/engine.expected/mac_publish_cipd.json +++ b/recipes/engine.expected/mac_publish_cipd.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_publish_cipd_no_lto.json b/recipes/engine.expected/mac_publish_cipd_no_lto.json index 7759610..b61fa6b 100644 --- a/recipes/engine.expected/mac_publish_cipd_no_lto.json +++ b/recipes/engine.expected/mac_publish_cipd_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_upload.json b/recipes/engine.expected/mac_upload.json index ba81802..d153d38 100644 --- a/recipes/engine.expected/mac_upload.json +++ b/recipes/engine.expected/mac_upload.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_upload_maven_or_bitcode.json b/recipes/engine.expected/mac_upload_maven_or_bitcode.json index bbd6d0c..8774e41 100644 --- a/recipes/engine.expected/mac_upload_maven_or_bitcode.json +++ b/recipes/engine.expected/mac_upload_maven_or_bitcode.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_upload_maven_or_bitcode_no_lto.json b/recipes/engine.expected/mac_upload_maven_or_bitcode_no_lto.json index 32d1732..58040e5 100644 --- a/recipes/engine.expected/mac_upload_maven_or_bitcode_no_lto.json +++ b/recipes/engine.expected/mac_upload_maven_or_bitcode_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_upload_maven_or_bitcode_publish_cipd.json b/recipes/engine.expected/mac_upload_maven_or_bitcode_publish_cipd.json index bbd6d0c..8774e41 100644 --- a/recipes/engine.expected/mac_upload_maven_or_bitcode_publish_cipd.json +++ b/recipes/engine.expected/mac_upload_maven_or_bitcode_publish_cipd.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_upload_maven_or_bitcode_publish_cipd_no_lto.json b/recipes/engine.expected/mac_upload_maven_or_bitcode_publish_cipd_no_lto.json index 32d1732..58040e5 100644 --- a/recipes/engine.expected/mac_upload_maven_or_bitcode_publish_cipd_no_lto.json +++ b/recipes/engine.expected/mac_upload_maven_or_bitcode_publish_cipd_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_upload_no_lto.json b/recipes/engine.expected/mac_upload_no_lto.json index d57495e..520c843 100644 --- a/recipes/engine.expected/mac_upload_no_lto.json +++ b/recipes/engine.expected/mac_upload_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_upload_publish_cipd.json b/recipes/engine.expected/mac_upload_publish_cipd.json index ba81802..d153d38 100644 --- a/recipes/engine.expected/mac_upload_publish_cipd.json +++ b/recipes/engine.expected/mac_upload_publish_cipd.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine.expected/mac_upload_publish_cipd_no_lto.json b/recipes/engine.expected/mac_upload_publish_cipd_no_lto.json index d57495e..520c843 100644 --- a/recipes/engine.expected/mac_upload_publish_cipd_no_lto.json +++ b/recipes/engine.expected/mac_upload_publish_cipd_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine/engine_arm.expected/mac.json b/recipes/engine/engine_arm.expected/mac.json index 41eabee..b43408b 100644 --- a/recipes/engine/engine_arm.expected/mac.json +++ b/recipes/engine/engine_arm.expected/mac.json
@@ -231,7 +231,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine/engine_arm.expected/mac_upload.json b/recipes/engine/engine_arm.expected/mac_upload.json index 41eabee..b43408b 100644 --- a/recipes/engine/engine_arm.expected/mac_upload.json +++ b/recipes/engine/engine_arm.expected/mac_upload.json
@@ -231,7 +231,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac.json b/recipes/engine_1_25_0.expected/mac.json index d05206d..727cfea 100644 --- a/recipes/engine_1_25_0.expected/mac.json +++ b/recipes/engine_1_25_0.expected/mac.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_maven_or_bitcode.json b/recipes/engine_1_25_0.expected/mac_maven_or_bitcode.json index 24b8791..ad3cf81 100644 --- a/recipes/engine_1_25_0.expected/mac_maven_or_bitcode.json +++ b/recipes/engine_1_25_0.expected/mac_maven_or_bitcode.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_no_lto.json b/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_no_lto.json index 92e6154..0580d94 100644 --- a/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_no_lto.json +++ b/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_publish_cipd.json b/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_publish_cipd.json index 24b8791..ad3cf81 100644 --- a/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_publish_cipd.json +++ b/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_publish_cipd.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_publish_cipd_no_lto.json b/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_publish_cipd_no_lto.json index 92e6154..0580d94 100644 --- a/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_publish_cipd_no_lto.json +++ b/recipes/engine_1_25_0.expected/mac_maven_or_bitcode_publish_cipd_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_no_lto.json b/recipes/engine_1_25_0.expected/mac_no_lto.json index 912ebfd..4184ac7 100644 --- a/recipes/engine_1_25_0.expected/mac_no_lto.json +++ b/recipes/engine_1_25_0.expected/mac_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_publish_cipd.json b/recipes/engine_1_25_0.expected/mac_publish_cipd.json index d05206d..727cfea 100644 --- a/recipes/engine_1_25_0.expected/mac_publish_cipd.json +++ b/recipes/engine_1_25_0.expected/mac_publish_cipd.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_publish_cipd_no_lto.json b/recipes/engine_1_25_0.expected/mac_publish_cipd_no_lto.json index 912ebfd..4184ac7 100644 --- a/recipes/engine_1_25_0.expected/mac_publish_cipd_no_lto.json +++ b/recipes/engine_1_25_0.expected/mac_publish_cipd_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_upload.json b/recipes/engine_1_25_0.expected/mac_upload.json index d903f10..9b58ddb 100644 --- a/recipes/engine_1_25_0.expected/mac_upload.json +++ b/recipes/engine_1_25_0.expected/mac_upload.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode.json b/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode.json index 51458a6..a9a4629 100644 --- a/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode.json +++ b/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_no_lto.json b/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_no_lto.json index 31ef436..611ac62 100644 --- a/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_no_lto.json +++ b/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_publish_cipd.json b/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_publish_cipd.json index 51458a6..a9a4629 100644 --- a/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_publish_cipd.json +++ b/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_publish_cipd.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_publish_cipd_no_lto.json b/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_publish_cipd_no_lto.json index 31ef436..611ac62 100644 --- a/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_publish_cipd_no_lto.json +++ b/recipes/engine_1_25_0.expected/mac_upload_maven_or_bitcode_publish_cipd_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_upload_no_lto.json b/recipes/engine_1_25_0.expected/mac_upload_no_lto.json index 8950258..07b76e9 100644 --- a/recipes/engine_1_25_0.expected/mac_upload_no_lto.json +++ b/recipes/engine_1_25_0.expected/mac_upload_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_upload_publish_cipd.json b/recipes/engine_1_25_0.expected/mac_upload_publish_cipd.json index d903f10..9b58ddb 100644 --- a/recipes/engine_1_25_0.expected/mac_upload_publish_cipd.json +++ b/recipes/engine_1_25_0.expected/mac_upload_publish_cipd.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },
diff --git a/recipes/engine_1_25_0.expected/mac_upload_publish_cipd_no_lto.json b/recipes/engine_1_25_0.expected/mac_upload_publish_cipd_no_lto.json index 8950258..07b76e9 100644 --- a/recipes/engine_1_25_0.expected/mac_upload_publish_cipd_no_lto.json +++ b/recipes/engine_1_25_0.expected/mac_upload_publish_cipd_no_lto.json
@@ -241,7 +241,7 @@ "cmd": [ "rm", "-rf", - "/Users/mockeduser/Library/Developer/Xcode/DerivedData/" + "[HOME]/Library/Developer/Xcode/DerivedData" ], "name": "Delete mac deriveddata" },