Exported data from Octopus Deploy 3.9 and now having issues importing Octopus Deploy 4.10? - import

I exported data from Octopus Deploy 3.9 from one server and tried to import into Octopus 4.10 on another server?
Getting the following errors:
Error: Directory does not contain an Octopus export
Error: The previous command returned a non-zero exit code of: 1
Error: The command that failed was: "F:\Program Files\Octopus Deploy
4.1\Octopus.Migrator.exe" import --instance "OctopusServer" --directory "F:\Octopus\OctopusData\Events" --password "afs1"
Other Details:
Octopus Deploy 3.9 was installed on C:\ on one server
Octopus Deploy 4.1 was installed on E:\ on another
Logs:
2018-02-02 13:46:12.3847 6820 1 INFO Environment Information:
OperatingSystem: Microsoft Windows NT 6.2.9200.0
OsBitVersion: x64
Is64BitProcess: True
CurrentUser: AFSDEV\cgarcia
MachineName: AFS-SBX-TFS
ProcessorCount: 4
CurrentDirectory: F:\Program Files\Octopus Deploy 4.1
TempDirectory: C:\Users\cgarcia\AppData\Local\Temp\
HostProcessName: Octopus.Migrator
PID: 6820
2018-02-02 13:46:12.4784 6820 1 INFO ==== ImportFilesCommand ====
2018-02-02 13:46:12.4940 6820 1 FATAL Directory does not contain an Octopus export

Related

chunkId does not match chunk

I am trying to create a package into Azure Artifacts Feed.
az artifacts universal publish --organization https://dev.azure.com/abc --project Enterprise --scope project --subscription xxxx-xxxx-xxxx-xxxx-xxxx --feed SecurityTesting --name security_testing --version 1.0.0 --description "Package for SecurityTestingFeed" --path .
Error occurred
An error occurred on the service. chunkId does not match chunk. (Expected: 61B46E6AE59739B2845E4014CC63773C6117802BD87F71B63B0D6D2C4EBEFABA01, Actual: B5D99BE5323BB4338CE7C81D97AE54DD8310FDBC8EE3D522DF273CC0853AAF2001)
Process ['/home/raj/.azure/azuredevops/cli/tools/artifacttool/ArtifactTool_linux-x64_0.2.219/artifacttool', 'universal', 'publish', '--service', 'https://dev.azure.com/abc', '--patvar', 'AZURE_DEVOPS_EXT_ARTIFACTTOOL_PATVAR', '--feed', 'SecurityTesting', '--package-name', 'security_testing', '--package-version', '1.0.0', '--path', '.', '--project', 'Enterprise', '--description', 'Package for SecurityTestingFeed'] with PID 183 exited with return code 1
I searched a lot but not able to find any solution.

How to fix "pytest: error: unrecognized arguments: -n"

Hi I am trying to run my tests parallely(pytest-xdist) on the azure pipelines.
Till now the tests were running perfectly fine.
Suddenly the pytest is throwing a weird error saying "unrecognized argument".
The file name : integration_test.py
Command used : pytest -n 5 --tb=short integration_test.py -v -s --> to run 5 tests parallely
Total number of tests : 57
Versions :
pytest==6.2.5
pytest-xdist==2.3.0
Even tried with the latest versions of these 2 modules.
Error :
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: -n integration_test.py
How can I overcome this error?
This error is what you encountered:
As hoefling mentioned, the solution is to install the pytest-xdist:
pip install pytest-xdist
On MacOS just running pytest might be ran by a different Python's version than you thought.
$ pytest
============================================================================== test session starts ===============================================================================
platform darwin -- Python 3.9.12, pytest-6.2.5, py-1.10.0, pluggy-0.13.1
rootdir: [REDACTED]
plugins: anyio-3.5.0, cov-3.0.0
While
$ python3 -m pytest
============================================================================== test session starts ===============================================================================
platform darwin -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0
rootdir: [REDACTED]
plugins: xdist-2.5.0, forked-1.4.0, pylama-8.4.1
Be careful, and launch it as a module :)

poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, do_unpack) failed with exit code '1'

I'm new in using yocto.
my environment is ubuntu 14.04,
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS "x86_64-linux"
NATIVELSBSTRING "Ubuntu-14.04"
TARGET_SYS "aarch64-fsl-linux"
MACHINE "ls1043aqds"
DISTRO "fsl-qoriq"
DISTRO_VERSION "2.0"
TUNE_FEATURES "aarch64"
TARGET_FPU ""
I get the following error when running :
bitbake fsl-image-minimal
(on every call to bitbake build )
=====================
DEBUG: Running export SSH_AUTH_SOCK="/run/user/1001/keyring-an3Qaa/ssh"; export PATH="/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/usr/bin/aarch64-fsl-linux:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/ls1043aqds/usr/bin/crossscripts:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/usr/sbin:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/usr/bin:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/sbin:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/build_ls1043aqds/tmp/sysroots/x86_64-linux/bin:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"; export HOME="/home/ymarko"; git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master
| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
| fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
|
ERROR: Task 854 (/opt/disk1/LS1043-Install/SDK/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 306 tasks of which 298 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
================================
Can you help please?
Try upgrading your version of git to 2.7.3. I was having the same problem and this fixed it
You need this patch in order to fix it.
Pay attention, you can't simply add "-to" as a suffix. The order of arguments also reversed.
Example how to use:
curl https://patchwork.openembedded.org/patch/145072/raw/ | git apply -v

UCD WAS Config plugin can't find the WAS installation

My WAS 8.5 is installed in C:\Program Files(x86)\IBM\WebSphere\AppServer\bin\wsadmin.bat. How can I tell the discovery process to look at my installation location?
plugin: WAS - Deploy, id: com.urbancode.air.plugin.WebSphere, version: 98
plugin command: 'cmd' '/C' '""C:\Program Files\ibm-ucd\agent\opt\groovy-1.8.8\bin\groovy" -cp "C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2\classes;C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2\lib\uDeployRestClient.jar;C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2\lib\jettison-1.1.jar" "C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2\wasDiscovery.groovy" "C:\Program Files\ibm-ucd\agent\var\temp\logs8306861047267428227\input.props" "C:\Program Files\ibm-ucd\agent\var\temp\logs8306861047267428227\output.props""'
working directory: C:\Program Files\ibm-ucd\agent\var\temp
properties:
PLUGIN_INPUT_PROPS=C:\Program Files\ibm-ucd\agent\var\temp\logs8306861047267428227\input.props
PLUGIN_OUTPUT_PROPS=C:\Program Files\ibm-ucd\agent\var\temp\logs8306861047267428227\output.props
pathOverride=
profilePathAgent=
profilePathResource=
resourcePath=/Topology Discovery/T500
environment:
AGENT_HOME=C:\Program Files\ibm-ucd\agent
AH_WEB_URL=https://localhost:8443
AUTH_TOKEN=****
DS_SYSTEM_ENCODING=Cp1252
JAVA_OPTS=-Dfile.encoding=Cp1252 -Dconsole.encoding=Cp1252
PLUGIN_HOME=C:\Program Files\ibm-ucd\agent\var\plugins\com.urbancode.air.plugin.WebSphere_98_b9f10d322ce14ba5b38aa4757ce3ac59f5ec7643b2b922935ccab03536b404a2
UD_DIALOGUE_ID=4f5c360e-69e0-4f52-87e0-6dfc6b5e01a1
================================================================================
**Checking path for WebSphere install: C:\Program Files\IBM\WebSphere\AppServer\bin\wsadmin.bat
Checking path for WebSphere install: C:\IBM\WebSphere\AppServer\bin\wsadmin.bat
WebSphere installation not found. Ending discovery process.**
Set the wsadmin.path property on the agent resource to the location of the wsadmin file. See step 2 in the following document:
https://www.ibm.com/support/knowledgecenter/SS4GSP_6.2.2/com.ibm.udeploy.doc/topics/resources_import_was.html

geronimo deploy cli file not found

Hello I want to deploy an .ear remotely with the deploy.sh of geronimo. But after the upload i get:
http://localhost:8080/remote-deploy/upload
07:50:22,889 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Unable to deploy myproj.service.external.ear: java.io.FileNotFoundException: /home/myproj/geronimo-tomcat6-javaee5-2.2/bin/myproj.service.external.ear (No such file or directory)
/home/myproj/geronimo-tomcat6-javaee5-2.2/bin/myproj.service.external.ear (No such file or directory)
at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:45)
at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:149)
at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125)
at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
I'm using geronimo
Version 2.2
Build 2009.12.07-18:20:06.045-0800
My deploy cmd looks like:
./deploy.sh -host hostname --user "usr" --password "pw" deploy myproj.service.external.ear