Skip to content

Packaging Extension from manifest fails on tfx 0.22.6 on Ubuntu 22.04 Azure Agent #530

@patrix87

Description

@patrix87

The same pipeline with tfx 0.22.2 worked but started failing at the packaging step with tfx 0.22.6
Absolutely nothing else changed in the code or the agent.

We are using https://github.com/microsoft/azure-devops-extension-tasks to package the extension.

The error indicates a missing file at a path that contains the full path twice.

Maybe something about how tfx handle paths changed ?

This is the log.

[command]/opt/hostedtoolcache/tfx/latest/x64/bin/tfx extension create --json --no-color --root /mnt/vss/_work/1/a/validation/extension --manifest-globs /mnt/vss/_work/1/a/validation/extension/azure-devops-extension.json --loc-root /mnt/vss/_work/1/s --overrides-file /mnt/vss/_work/_temp/PackageTask-4964-pa8gPlwWsMpB-.tmp --output-path /mnt/vss/_work/1/a/validation/extension.vsix 0 [
  '[command]/opt/hostedtoolcache/tfx/latest/x64/bin/tfx extension create --json --no-color --root /mnt/vss/_work/1/a/validation/extension --manifest-globs /mnt/vss/_work/1/a/validation/extension/azure-devops-extension.json --loc-root /mnt/vss/_work/1/s --overrides-file /mnt/vss/_work/_temp/PackageTask-4964-pa8gPlwWsMpB-.tmp --output-path /mnt/vss/_work/1/a/validation/extension.vsix',
  ''
]
 1 [
  '[command]/opt/hostedtoolcache/tfx/latest/x64/bin/tfx extension create --json --no-color --root /mnt/vss/_work/1/a/validation/extension --manifest-globs /mnt/vss/_work/1/a/validation/extension/azure-devops-extension.json --loc-root /mnt/vss/_work/1/s --overrides-file /mnt/vss/_work/_temp/PackageTask-4964-pa8gPlwWsMpB-.tmp --output-path /mnt/vss/_work/1/a/validation/extension.vsix',
  ''
]

error: Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/a/validation/extension/mnt/vss/_work/1/a/validation/extension/azure-devops-extension.json' 0 [
  "error: Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/a/validation/extension/mnt/vss/_work/1/a/validation/extension/azure-devops-extension.json'",
  ''
]
 1 [
  "error: Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/a/validation/extension/mnt/vss/_work/1/a/validation/extension/azure-devops-extension.json'",
  ''
]
 0 [ '', '' ]
 1 [ '', '' ]
 
##[debug]task result: Failed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions