Skip to content

Conversation

@ad-m
Copy link
Collaborator

@ad-m ad-m commented Jan 7, 2020

$ npm run test -- --match 'website snapshot access via .zfs'

> @hyperone/cli@1.9.0 test /home/adas/Devel/h1-cli
> npx ava --verbose "--match" "website snapshot access via .zfs"


2020-01-07T18:45:55.823Z node h1 website create --name website-snapshot-access-via--zfs-1578422755819 --type website --image h1cr.io/website/php-apache\:7.2 --password 03ca370aa3790a6aecf2e709334bddeb3a92bd5ac408b06816737cbd5b9b7def2bffc19d87482681c616e3e23b330c81 -o js
2020-01-07T18:45:59.066Z Upload content to website 5e14d1e49791c6bb95f4e412 at 'public/test.txt'
2020-01-07T18:46:00.987Z node h1 website snapshot create --website website-snapshot-access-via--zfs-1578422755819 --name snapshot-website-snapshot-access-via--zfs-1578422760984 -o js
2020-01-07T18:46:02.634Z [resource: 5e14d1e49791c6bb95f4e412] cat /data/.zfs/snapshot/snapshot-website-snapshot-access-via--zfs-1578422760984/public/test.txt
[5e14d1e49791c6bb95f4e412.website.pl-waw-1.hyperone.cloud]:cat /data/.zfs/snapshot/snapshot-website-snapshot-access-via--zfs-1578422760984/public/test.txt
  ✖ bin › website › tests › website snapshot access via .zfs Rejected promise returned by test

  1 test failed

  bin › website › tests › website snapshot access via .zfs


  Rejected promise returned by test. Reason:

  {
    code: 1,
    command: 'cat /data/.zfs/snapshot/snapshot-website-snapshot-access-via--zfs-1578422760984/public/test.txt',
    msg: 'Execution of SSH command fail',
    output: `cat: /data/.zfs/snapshot/snapshot-website-snapshot-access-via--zfs-1578422760984/public/test.txt: Object is remote␊
    `,
    signal: undefined,
  }

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @hyperone/cli@1.9.0 test: `npx ava --verbose "--match" "website snapshot access via .zfs"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @hyperone/cli@1.9.0 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/adas/.npm/_logs/2020-01-07T18_46_04_220Z-debug.log

Few issues in that area reported in ZOL ( https://github.com/zfsonlinux/zfs/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+%22Object+is+remote%22 ) history. On host following version of ZFS in use:

/sys/module/zfs/version:0.8.2-2~bpo10+1

Issue fix applied to 0.8.3 ( openzfs/zfs#9461 (comment) ), and "it is a regression in 0.8.2 release" ( openzfs/zfs#9461 (comment) ).

CC: @gregorybrzeski

@ad-m ad-m changed the title website: Add tests for access snapshot via .zfs test: website, Add tests for access snapshot via .zfs Jan 9, 2020
@ad-m
Copy link
Collaborator Author

ad-m commented Apr 6, 2020

ZFS 0.8.3 released at 23 Jan ( https://github.com/openzfs/zfs/releases/tag/zfs-0.8.3 ).

@fredericosilva
Copy link
Collaborator

fredericosilva commented Apr 6, 2020 via email

@ad-m
Copy link
Collaborator Author

ad-m commented Apr 6, 2020

Did you check v 0.8.3? Do you have any VM with v 0.8.3?

@fredericosilva
Copy link
Collaborator

I didn't, issue is still open openzfs/zfs#9461

@ad-m
Copy link
Collaborator Author

ad-m commented Dec 16, 2020

The problem is still there:

14:02 $ npm run test -- --match 'website snapshot access via .zfs'

> @hyperone/cli@1.9.0 test /home/adas/Devel/h1-cli
> npx ava --verbose "--match" "website snapshot access via .zfs"


2020-12-16T13:02:29.762Z node h1 website create --name website-snapshot-access-via--zfs-1608123749758 --type website --image h1cr.io/website/php-apache\:7.2 --password f112f65a29872507fb4c5a69e038598e041ab5c82abe38f4430509452d970473212dfdb2170fb40426798534093bc5ac -o js
2020-12-16T13:02:33.889Z Upload content to website 5fda0567251f7b68fc35962a at 'public/test.txt'
2020-12-16T13:02:36.533Z node h1 website snapshot create --website website-snapshot-access-via--zfs-1608123749758 --name snapshot-website-snapshot-access-via--zfs-1608123756530 -o js
2020-12-16T13:02:38.178Z [resource: 5fda0567251f7b68fc35962a] cat /data/.zfs/snapshot/snapshot-website-snapshot-access-via--zfs-1608123756530/public/test.txt
[5fda0567251f7b68fc35962a.website.pl-waw-1.hyperone.cloud]:cat /data/.zfs/snapshot/snapshot-website-snapshot-access-via--zfs-1608123756530/public/test.txt
  ✖ bin › website › tests › website snapshot access via .zfs Rejected promise returned by test

  1 test failed

  bin › website › tests › website snapshot access via .zfs


  Rejected promise returned by test. Reason:

  {
    code: 1,
    command: 'cat /data/.zfs/snapshot/snapshot-website-snapshot-access-via--zfs-1608123756530/public/test.txt',
    msg: 'Execution of SSH command fail',
    output: `cat: /data/.zfs/snapshot/snapshot-website-snapshot-access-via--zfs-1608123756530/public/test.txt: Object is remote␊
    `,
    signal: undefined,
  }

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @hyperone/cli@1.9.0 test: `npx ava --verbose "--match" "website snapshot access via .zfs"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @hyperone/cli@1.9.0 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/adas/.npm/_logs/2020-12-16T13_02_40_697Z-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants